joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c480
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45c4b3
push esi
call fcn.0045f590
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45c4ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45c539
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45c522
mov eax, dword [esi + 8]
test eax, eax
je 0x45c4d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45c51e
cmp eax, 2
je 0x45c522
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45c4ca
cmp eax, 3
je 0x45c4fd
cmp eax, 1
jne 0x45c4ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45c4ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45c4ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045c560
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45c548
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045c560
add esp, 4
pop esi
ret

Function at 0x46a310
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x46a3b3
test eax, eax
jbe 0x46a3b3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46a3b3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46a35e
xor esi, esi
jmp 0x46a364
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46a38f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0041c5f0
add esi, eax
push esi
mov ebx, esi
call fcn.0041c5f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46a370
pop ebp
test edi, edi
pop edi
jne 0x46a3b3
test ebx, ebx
je 0x46a3b3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047c750
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x46a755
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46a86d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a86d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048df82
mov esi, eax
test esi, esi
je 0x46a86d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46a86d
mov ecx, esi
call fcn.0046a5f0
cmp edi, eax
jge 0x46a86d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46a7f3
mov dword [esp + 0x34], 1
jmp 0x46a84e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46a86d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00467bb0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46fd80
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb3f8
push 0x47d618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.0047bd50
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ff30
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x46ff71
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x46ffde
cmp dword [esp + 0x1c], 2
jne 0x46ffde
cmp dword [esp + 0x10], 5
jne 0x46ffde
cmp dword [esp + 0x14], 1
jne 0x46ffde
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46ffc8
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x46ffb9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x46ffc1
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x46ffde
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x4727c0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x514e1c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4727d3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x472814
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x514ec4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x472846
mov bl, byte [esp + ecx + 0x4c]
jmp 0x47284a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x47283b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x472868
mov bl, byte [esp + ecx + 0x4c]
jmp 0x47286c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x47285d
xor ecx, ecx
mov eax, 0x514e2c
xor ebx, ebx
mov bl, byte [ecx + 0x514ed4]
cmp byte [esp + ebx + 0x14], 0
je 0x472897
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x514eec]
cmp byte [esp + ebx + 0x14], 0
je 0x4728ae
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x47287e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x472807
lea edx, [esp + 0x84]
push edx
call fcn.004728f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4769c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x476a26
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x476a26
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x476a07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x476db0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x476de8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x476ed0
Capabilities:
Connect to http server
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [eax + 0x10], edi
je 0x4772e8
cmp byte [esi], 0
je 0x4772e8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
call fcn.0048cb14
mov eax, dword [0x516f8c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0048c5c6
lea ecx, [ebp - 0x30]
push 0x516b94
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00489c94
lea ecx, [ebp - 0x30]
call fcn.0048c558
lea edx, [ebp - 0x18]
push 0x20000000
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x3c]
push eax
lea edx, [ebp + 8]
push ecx
lea eax, [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push eax
push ecx
push edx
call fcn.004954a3
cmp eax, edi
je 0x476fb5
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0x84000000
cmp eax, 0x100b
jne 0x476faa
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x30], 0x84800000
mov ecx, ebx
call fcn.00476db0
test eax, eax
jne 0x477013
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0048c558
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0048c558
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0048c558
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0048c558
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0048c558
mov dword [ebp - 4], 0xffffffff
call fcn.0048cb52
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push edi
push edi
push eax
mov eax, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x2c], esi
jne 0x477088
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0048c558
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0048c558
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0048c558
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0048c558
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0048c558
mov dword [ebp - 4], 0xffffffff
call fcn.0048cb52
jmp 0x4772c7
push esi
mov ecx, ebx
call fcn.00476e40
lea eax, [ebp - 0x40]
push 0x516b94
push eax
lea ecx, [ebp + 8]
call fcn.00489c94
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x477ad0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x477b19
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x477f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49b8e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00477b40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00477bc0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00477bc0
lea ecx, [esi + 0xc]
call fcn.0048c4e3
lea ecx, [esi + 0x10]
call fcn.0048c4e3
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00479150
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00479150
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00479150
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048c558
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048c558
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48e926
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48e95e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048c9b3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048c98b
jmp 0x48e96a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x490018
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49005a
call fcn.00495d91
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49005a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x490051
xor eax, eax
jmp 0x490062
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00490068
pop edi
pop esi
pop ebx
ret 4

Function at 0x4962c1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4962ef
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49630d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00496227
jmp 0x49630d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49630d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00496227
test edi, edi
mov eax, edi
jne 0x4962f7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4012a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x405bcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x409050
push ecx
push 8
push 1
push 0x16
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040559e
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4012b8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x405bcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x409050
push ecx
push 8
push 1
push 0x16
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040559e
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x401330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x405bff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x409054
push ecx
push 8
push 1
push 0x17
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040559e
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x401348
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x405bff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x409054
push ecx
push 8
push 1
push 0x17
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040559e
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4013c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x405c2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x409058
push ecx
push 8
push 1
push 0x18
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040559e
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4013d8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x405c2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x409058
push ecx
push 8
push 1
push 0x18
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040559e
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x401e90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x405f60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 0x3e9
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
push 0
push 0
mov eax, dword [esi + 0x20]
push 0x18b
push eax
call edi
cmp eax, 0x1f4
jle 0x401ee9
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x184
push ecx
call edi
lea edx, [esp + 8]
push 0x409100
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_CTime::Format
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
push 0x409644
push edx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_operator_2
push 0x4090fc
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 2
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x2c]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x20]
push 0
push 0x181
push eax
call edi
lea ecx, [esp + 0xc]
call fcn.0040559e
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.0040559e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0040559e
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.0040559e
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040559e
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x403cb0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x4062ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebp
push esi
push edi
lea eax, [esp + 0x17c]
lea ecx, [esp + 0xc]
push eax
push 0x40937c
push ecx
mov dword [esp + 0x180], 0
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x180]
mov byte [esp + 0x178], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x174], 0
call fcn.0040559e
mov edx, dword [esp + 0x17c]
lea ecx, [esp + 0x17c]
mov eax, dword [edx - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov ebp, eax
lea eax, [esp + 0x68]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
lea ecx, [esp + 0x68]
push 0x5c
push ecx
lea esi, [esp + 0x70]
call edi
add esp, 8
test eax, eax
je 0x403d6f
push 0x5c
push esi
call edi
inc eax
push 0x5c
mov esi, eax
push esi
call edi
add esp, 0x10
test eax, eax
jne 0x403d5b
lea edx, [esp + 0x68]
lea ecx, [esp + 0x10]
push edx
mov byte [esi], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
push str.iCallPost.exe
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x180], 2
mov dword [esp + 0x20], 0x44
mov word [esp + 0x50], 5
mov dword [esp + 0x4c], 1
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x58]
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push edx
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [esp + 0xc]
call fcn.0040559e
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 0
call fcn.0040559e
lea ecx, [esp + 0x17c]
mov dword [esp + 0x174], 0xffffffff
call fcn.0040559e
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x16c
ret 4
Function at 0x404900
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret