joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000135c
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x1000f980
push 0xffffffffffffffff
push 0x1002146d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x30]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x140], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 1
call sub.MFC42.DLL_CString::MakeLower
push str.svchost.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jle 0x1000fb77
lea ecx, [esp + 0x20]
call fcn.100011ea
push getpeername
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 2
call fcn.100011c7
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Control_PanelInternational
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
call fcn.10001627
test eax, eax
jne 0x1000fa91
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 1
call fcn.10001659
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x13c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop edi
pop ebx
add esp, 0x138
ret
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push ecx
mov bl, 3
mov ecx, esp
mov dword [esp + 0x20], esp
push str.H:mm:ss
mov byte [esp + 0x144], bl
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x144], 4
mov ecx, esp
mov dword [esp + 0x20], esp
push str.sTimeFormat
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
mov byte [esp + 0x148], bl
call fcn.100010b4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
push str.H:mm:ss
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x1000fb55
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.H:mm:ss
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x144], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push str.sTimeFormat
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], bl
call fcn.10001393
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 1
call fcn.10001659
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x13c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x134]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret
Function at 0x10001393
Capabilities:
Set registry value

Disassembly:
jmp 0x100169f0
push 0xffffffffffffffff
push 0x10021d50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push edi
mov ebp, ecx
mov dword [esp + 0x118], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
jle 0x10016a7e
mov edi, dword [esp + 0x124]
mov ebx, 1
cmp dword [edi - 8], 0xfe
jg 0x10016a7e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push esi
lea esi, [esp + 0x14]
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push edx
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
je 0x10016aad
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x124]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x10016b27
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x124]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10016add
xor ebx, ebx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10016aef
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x124]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [esp + 0x110]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8
Function at 0x10001451
Capabilities:
Get common file path

Disassembly:
jmp 0x100060f0
push 0xffffffffffffffff
push 0x10020a95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x120], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov esi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.1001f28a
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x114]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret

Function at 0x10001460
Capabilities:
Read file via mapping

Disassembly:
jmp 0x1000cd90
mov eax, dword [esp + 4]
sub esp, 8
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x1000cda9
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
cmp dword [0x10035018], 1
jge 0x1000cdbc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
mov ax, word [eax + 2]
mov byte [esp + 0x1c], 0
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov bp, ax
and ebp, 0xffff
cmp ebp, 0x1bb
je 0x1000cee3
cmp ebp, 0x87
je 0x1000cee3
cmp ebp, 0x1bd
je 0x1000cee3
push str.GlobalExcludePort_MapFile
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x1000cec9
cmp edi, 0xffffffff
je 0x1000cec9
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x1000cec2
mov ecx, dword [0x10035018]
shl ecx, 4
push ecx
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000ce5e
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
mov ecx, dword [0x10035018]
add esi, 4
shl ecx, 4
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x10035018]
test edx, edx
jle 0x1000ceaa
lea ecx, [ebx + 8]
cmp ebp, dword [ecx]
je 0x1000ce97
add ecx, 0x10
inc eax
cmp eax, edx
jl 0x1000ce89
jmp 0x1000ceaa
push ebp
push str.bCheckInExcludePort_nPortRemote:__d__is_in_ExcludeList
call fcn.10001672
add esp, 8
mov byte [esp + 0x1c], 1
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push str.nPortRemote:__d__is_enable
call fcn.10001672
mov al, byte [esp + 0x24]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
Function at 0x1000146a
Capabilities:
Print debug messages

Disassembly:
jmp 0x1000f110
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10021388
push eax
mov al, byte [0x1002e290]
mov dword fs:[0], esp
test al, al
push esi
je 0x1000f230
mov al, byte [0x1002e291]
test al, al
je 0x1000f230
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1000f230
mov eax, dword [esp + 0x18]
mov cx, word [eax + 2]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
and eax, 0xffff
cmp eax, 0x1f40
jne 0x1000f230
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0x14
jbe 0x1000f230
mov eax, dword [eax + 4]
mov dword [esp + 0x24], 0
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 9]
mov byte [esp + 0x24], dl
mov dl, byte [eax + 8]
mov al, byte [eax + 7]
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], al
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, ecx
shr eax, 4
div dword [0x1002db90]
mov eax, dword [0x1002db8c]
test eax, eax
je 0x1000f1cb
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1000f1cb
cmp dword [eax + 8], ecx
je 0x1000f1e2
mov eax, dword [eax]
test eax, eax
jne 0x1000f1c0
mov al, 1
mov byte [0x1002e292], al
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
test eax, eax
je 0x1000f1cb
mov esi, dword [eax + 0xc]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
push esi
lea ecx, [esp + 0x28]
push str.find_white_QQ__is__d
push ecx
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x30]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x24]
mov byte [0x1002e292], 0
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov al, 1
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x10001492
Capabilities:
Print debug messages

Disassembly:
jmp 0x1000a830
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.100011f9
mov eax, dword [esp + 0x120]
test eax, eax
jle 0x1000a9a7
mov ecx, dword [esp + 0x11c]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [esp + 0x14], eax
lea esi, [ecx + 0xc]
lea edx, [esi - 0xc]
test edx, edx
je 0x1000a995
xor eax, eax
mov ecx, dword [esi - 8]
mov dword [esp + 0x18], eax
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esi - 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], eax
push ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esi]
mov edi, eax
push edx
call dword [sym.imp.WS2_32.dll_htonl]
push edi
mov edi, dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [esp + 0x14], eax
call edi
push eax
lea eax, [esp + 0x28]
push 0x100290d8
push eax
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call edi
push eax
lea edx, [esp + 0x3c]
push 0x100290d8
push edx
call ebx
add esp, 8
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
call fcn.1000128a
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
call fcn.1000128a
mov edx, eax
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
push edx
mov edx, dword [esi - 8]
push ecx
push edx
lea eax, [esp + 0x60]
push str.uType__08x_dwStart:_08x_dwEnd:_08x_nFlag3:_08x
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x18
lea ecx, [esp + 0x50]
push ecx
call edi
mov eax, dword [ebp + 4]
test eax, eax
je 0x1000a98e
lea edx, [esp + 0x4c]
push 0
push edx
push 0
push 0
lea ecx, [esp + 0x28]
push 0xc
push ecx
push 0xba12140c
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x1000a995
push str.m_hSysHandle_is_NULL_SetIpFileterInfo
call edi
mov eax, dword [esp + 0x14]
add esi, 0x15
dec eax
mov dword [esp + 0x14], eax
jne 0x1000a864
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 8
Function at 0x100014a1
Capabilities:
Get common file path
Read .ini file

Disassembly:
jmp 0x10011bf0
push 0xffffffffffffffff
push 0x100216d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
lea eax, [esp + 0x1c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
push str._sys_config.ini
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], ebx
call fcn.1001f296
mov eax, dword [esp + 8]
xor edx, edx
push eax
lea ecx, [esp + 0x14]
push 0xa
mov dword [esp + 0x19], edx
push ecx
push 0x1002ba14
mov dword [esp + 0x25], edx
push str.NormalExit
push str.ClientParameter
mov byte [esp + 0x28], bl
mov byte [esp + 0x31], dl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x10]
lea ecx, [esp + 4]
push edx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 4]
lea ecx, [esp + 0xc]
push eax
push str.___szNormalExit4:__s_
push ecx
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x10]
push 0x1002ba14
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 0x14
test eax, eax
je 0x10011d2a
mov eax, dword [esp + 4]
push 0x1002dab8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x10011d2a
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x128], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x128], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
pop ebx
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x128], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x128], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x120]
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x100014c4
Capabilities:
Get common file path
Print debug messages

Disassembly:
jmp 0x1000c1c0
sub esp, 0x208
call fcn.100014a1
test al, al
je 0x1000c1d8
xor eax, eax
add esp, 0x208
ret
push ebx
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x1002a0f4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x114]
call fcn.10001019
pop edi
pop esi
test eax, eax
pop ebx
je 0x1000c25b
cmp eax, 0xffffff9b
je 0x1000c25b
push str.CheckAninstallSpi__WriteFilterInfo___Error
call fcn.10001672
add esp, 4
push str.CheckAninstallSpi__WriteFilterInfo___Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
add esp, 0x208
ret

Function at 0x100014c9
Capabilities:
Print debug messages

Disassembly:
jmp 0x10008d70
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, edi
mov esi, ecx
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
push 0x1002955c
mov cx, word [eax]
mov dword [esp + 0x10], 0
mov word [esp + 0x10], cx
mov dl, byte [eax + 2]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x16], dl
call ebx
add esp, 8
test eax, eax
jne 0x10008de2
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x10008dc4
push edi
mov ecx, esi
call fcn.10001145
pop edi
pop esi
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x10008e19
push str._____________dwPacketType__PEERLAN_SEN_MSG
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
mov ecx, esi
call fcn.10001186
pop edi
pop esi
pop ebx
pop ecx
ret 8
lea ecx, [esp + 0xc]
push 0x10029520
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x10008e19
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x10008e0d
push edi
mov ecx, esi
call fcn.100014ab
pop edi
pop esi
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x10008e19
push edi
mov ecx, esi
call fcn.100014d3
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x1000150a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x10008680
push 0xffffffffffffffff
push 0x10020f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.1001f284
push 0x1002dab8
mov ecx, 0x1002dacc
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::operator
mov eax, dword [0x1002dad0]
push eax
push str.mailContent__d.dat
push 0x1002dacc
call sub.MFC42.DLL_CString::Format
lea ecx, [esp + 0x14]
push ecx
call fcn.10001451
add esp, 0x10
push 0x100292ac
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_operator_1
push 0x1002dacc
push eax
lea eax, [esp + 8]
mov byte [esp + 0x2c], 3
push eax
call sub.MFC42.DLL_operator_2
push eax
mov ecx, 0x1002dacc
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x1002dacc]
push 0
push 0x3002
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x10008788
mov edx, dword [esp + 0xc]
push 2
push 0
lea ecx, [esp + 0x14]
call dword [edx + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x1000154b
Capabilities:
Print debug messages

Disassembly:
jmp 0x1000fc50
push 0xffffffffffffffff
push 0x100214a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x120], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 1
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edx
call esi
push str.qq.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jle 0x1000fcee
push 0x1002ae8c
mov byte [0x1002e290], 1
call esi
jmp 0x1000fcf5
mov byte [0x1002e290], 0
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x11c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x114]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x10001587
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x10008500
push 0xffffffffffffffff
push 0x10020ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
lea ecx, [esp + 0xc]
call fcn.1001f284
push 0x1002dab8
mov ecx, 0x1002dacc
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::operator
mov eax, dword [0x1002dad0]
push eax
push str.mailContent__d.dat
push 0x1002dacc
call sub.MFC42.DLL_CString::Format
lea ecx, [esp + 0x14]
push ecx
call fcn.10001451
add esp, 0x10
push 0x100292ac
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_operator_1
push 0x1002dacc
push eax
lea eax, [esp + 8]
mov byte [esp + 0x2c], 2
push eax
call sub.MFC42.DLL_operator_2
push eax
mov ecx, 0x1002dacc
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x1002dacc]
push 0
push 0x3002
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x1000860e
mov edx, dword [esp + 0xc]
push edi
push 2
push 0
lea ecx, [esp + 0x18]
call dword [edx + 0x30]
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::Close
pop edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x1000158c
Capabilities:
Write file on windows

Disassembly:
jmp 0x10012c60
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10012c86
xor eax, eax
pop esi
ret
push ebx
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
call ebx
add esp, 4
shl eax, 1
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call edi
lea edx, [esp + 0x10]
push 0
push edx
push 0x100287c4
call ebx
add esp, 4
shl eax, 1
push eax
push 0x100287c4
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, 1
pop esi
ret