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

Disassembly:
push 0xffffffffffffffff
push 0x4d86cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x654]
mov dword [esp + 0x18], 5
call fcn.00481e80
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 4
call fcn.00481e80
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 3
call fcn.00481e80
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 2
call fcn.00481e80
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 1
call fcn.00481e80
lea edi, [esi + 0x108]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0xaa8a60
call fcn.00481a70
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0xaa8a60
call fcn.00481a70
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 0xa
call fcn.004c64b0
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.004c64b0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 8
mov dword [ecx], 0xaa8a60
call fcn.00481a70
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 7
mov dword [ecx], 0xaa8a60
call fcn.00481a70
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 6
call fcn.004c64b0
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0
call fcn.004c64b0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00481e80
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48b0d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x48b11c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x48b11c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x48b106
push eax
call ebp
test ax, ax
jl 0x48b114
inc esi
add edi, 4
cmp esi, 6
jb 0x48b0f8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0048add0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x48eda0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x48ee00
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48ee00
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x48ee00
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x48ee00
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x48ee10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x49b180
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004a1590
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x49b279
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.0043d7d0
test eax, eax
jne 0x49b279
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.0043d7d0
test eax, eax
jne 0x49b279
lea edx, [esp + 0x10]
push 0xad0f28
push edx
call fcn.004b8490
mov esi, eax
add esp, 8
test esi, esi
jne 0x49b24a
lea eax, [esp + 0x10]
push 0xad0f24
push eax
call fcn.004b8490
mov esi, eax
add esp, 8
test esi, esi
jne 0x49b24a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x49b24d
mov byte [esi], 0
push 0xad06ec
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4a14d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d9f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4a1580
mov eax, dword [0xad1970]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004c8195
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004c81e4
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004c8141
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4a1567
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4a1567
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004c7d65
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a4680
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4da3f0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a4827
mov ecx, dword [0xad1970]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4a477c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004a33a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004c7e9e
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004c7d65
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0xad06ec
call fcn.004c7dd3
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004a3760
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004c7e9e
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004c7d65
lea ecx, [esp + 0xc]
call fcn.004c8279
mov ecx, dword [esp + 0xc]
push 0xad112c
push ecx
call fcn.004b72e4
add esp, 8
test eax, eax
je 0x4a47a4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4a46dd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004c7d65
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004c7d65
jmp 0x4a482b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004a4420
test eax, eax
push 0
je 0x4a480f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004a2ac0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4a47f5
cmp eax, 0x64
jg 0x4a47e3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4a4780
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4a4780
cmp eax, 0x64
jge 0x4a477c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4a4780
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004a2ac0
mov esi, eax
jmp 0x4a4780
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4a4835
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4ac410
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 0x4ac4b3
test eax, eax
jbe 0x4ac4b3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4ac4b3
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 0x4ac45e
xor esi, esi
jmp 0x4ac464
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4ac48f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004ae3b0
add esi, eax
push esi
mov ebx, esi
call fcn.004ae3b0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4ac470
pop ebp
test edi, edi
pop edi
jne 0x4ac4b3
test ebx, ebx
je 0x4ac4b3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004b7cc0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4ac5f5
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 0x4ac70d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ac70d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004c981b
mov esi, eax
test esi, esi
je 0x4ac70d
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 0x4ac70d
mov ecx, esi
call fcn.004ac560
cmp edi, eax
jge 0x4ac70d
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 0x4ac693
mov dword [esp + 0x34], 1
jmp 0x4ac6ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4ac70d
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.004abb10
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 0x4ca1bf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ca1f7
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.004c820c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c81e4
jmp 0x4ca203
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cb8b1
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 0x4cb8f3
call fcn.004d18f5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cb8f3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cb8ea
xor eax, eax
jmp 0x4cb8fb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cb901
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d1e25
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 0x4d1e53
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d1e71
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d1d8b
jmp 0x4d1e71
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d1e71
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d1d8b
test edi, edi
mov eax, edi
jne 0x4d1e5b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10016c6
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1004004]
or dword [ebp - 0x4c], 0xffffffff
or dword [ebp - 0x5c], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
cmp edi, eax
mov dword [ebp - 0x48], eax
jne 0x10016fd
cmp dword [ebp + 0xc], eax
je 0x10016fd
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], eax
jmp 0x1001719
cmp esi, eax
mov dword [ebp - 0x54], esi
je 0x1001717
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.0100149d
cmp dword [ebp - 0x50], 1
mov dword [ebp - 0x60], eax
jne 0x100173e
mov esi, edi
lea eax, [ebp - 0x50]
push eax
push 2
call fcn.01003685
mov ebx, eax
test ebx, ebx
je 0x100176e
test esi, esi
je 0x100175c
push esi
mov edi, ebx
call fcn.01001364
cmp eax, 0xffffffff
mov dword [ebp - 0x4c], eax
jne 0x100175c
push esi
push dword [0x1004c8c]
push 0x2712
push 2
call fcn.01002487
add esp, 0x10
push 1
call dword [sym.imp.msvcrt.dll_exit]
lea eax, [ebp - 0x50]
push eax
push 4
call fcn.01003685
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x1001776
mov eax, dword [ebp - 0x50]
jmp 0x100185b
mov esi, dword [eax]
cmp esi, eax
je 0x1001839
xor edi, edi
inc edi
cmp dword [ebp - 0x54], 0
je 0x100179c
lea eax, [ebp - 0x60]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.0100244e
test eax, eax
jne 0x100179c
xor edi, edi
cmp dword [ebp + 0xc], 0
je 0x10017ac
mov eax, dword [ebp - 0x4c]
cmp eax, dword [esi + 8]
je 0x10017ac
xor edi, edi
test edi, edi
je 0x100182b
mov eax, dword [esi + 8]
cmp dword [ebp - 0x5c], eax
je 0x100181e
or dword [ebp - 0x4c], 0xffffffff
mov ecx, eax
mov eax, dword [ebx]
mov dword [ebp - 0x5c], ecx
jmp 0x10017cc
cmp ecx, dword [eax + 0xc]
je 0x10017d2
mov eax, dword [eax]
cmp eax, ebx
jne 0x10017c5
jmp 0x10017dd
mov ecx, dword [eax + 0xc]
cmp ecx, 0xffffffff
mov dword [ebp - 0x4c], ecx
jne 0x10017e1
xor eax, eax
jmp 0x10017e4
mov eax, dword [eax + 8]
push dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
movzx ecx, byte [ebp - 0x45]
push ecx
movzx ecx, byte [ebp - 0x46]
push ecx
movzx ecx, ah
movzx eax, al
push ecx
push eax
lea eax, [ebp - 0x44]
push 0x1001160
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x44]
push eax
push 0x2713
push 1
call fcn.01002487
add esp, 0x28
push esi
mov dword [ebp - 0x48], 1
call fcn.010013aa
mov esi, dword [esi]
cmp esi, dword [ebp - 0x58]
jne 0x1001780
mov eax, dword [ebp - 0x58]
push eax
call fcn.0100266a
push ebx
call fcn.0100266a
cmp dword [ebp - 0x48], 0
jne 0x1001859
push 0x2722
push 1
call fcn.01002487
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010020d5
leave
ret 0xc
Function at 0x100186f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
or dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x34]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp ebx, eax
push esi
push edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
je 0x10018e0
push 2
mov edi, 0x1001178
mov esi, ebx
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10018e0
lea eax, [ebp + 8]
push eax
push ebx
call fcn.0100149d
cmp dword [ebp + 8], 1
mov dword [ebp - 4], eax
je 0x10018de
push ebx
push dword [0x1004c8c]
push 0x2711
push 2
call fcn.01002487
add esp, 0x10
jmp 0x10019fd
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x100191c
lea eax, [ebp + 8]
push eax
push 2
call fcn.01003685
mov edi, eax
test edi, edi
je 0x100192f
push dword [ebp + 0xc]
call fcn.01001364
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x1001916
push dword [ebp + 0xc]
push dword [0x1004c8c]
push 0x2712
jmp 0x10018cf
push edi
call fcn.0100266a
lea eax, [ebp + 8]
push eax
push 4
call fcn.01003685
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x1001937
mov eax, dword [ebp + 8]
jmp 0x10019e1
mov esi, dword [edi]
jmp 0x10019be
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
je 0x100194b
cmp eax, dword [esi + 8]
jne 0x10019bc
cmp dword [ebp - 4], ebx
je 0x1001961
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0100244e
test eax, eax
je 0x10019bc
push 0xc8
call fcn.0100240e
cmp eax, ebx
je 0x10019e8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0xf
push dword [esi + 8]
lea edx, [esi + 0x18]
push 4
call fcn.010012f0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0xa3
mov byte [ebp - 0x2c], 2
mov dword [ebp - 0x28], 2
call dword [0x1004ca0]
push dword [ebp - 0x30]
call fcn.01002402
cmp dword [ebp - 8], ebx
jne 0x1001a05
mov dword [ebp - 0x10], 1
mov esi, dword [esi]
cmp esi, edi
jne 0x100193e
push edi
call fcn.0100266a
cmp dword [ebp - 0x10], ebx
jne 0x10019df
push 0x271c
push 2
call fcn.01002487
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push dword [0x1004c8c]
push 0x2714
push 2
call fcn.01002487
add esp, 0xc
push 1
call dword [sym.imp.msvcrt.dll_exit]
push dword [ebp - 8]
call fcn.01002698
jmp 0x10019e1
Function at 0x1001e2f
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push dword [0x1004c8c]
push 0x2710
push 2
call fcn.01002487
add esp, 0xc
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x1004004]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a8], edi
call fcn.01003790
mov eax, dword [esi]
mov dword [0x1004c8c], eax
lea eax, [ebp - 0x194]
push eax
push 0x101
call dword [0x1001054]
cmp eax, 0xffffffff
jne 0x1001eb0
call dword [0x1001004]
push eax
push dword [0x1004c8c]
push 0x2719
push 2
call fcn.01002487
add esp, 0x10
jmp 0x1001fa3
cmp dword [ebp + 8], 2
jl 0x100201e
xor ebx, ebx
inc ebx
cmp dword [ebp + 8], ebx
jle 0x1001f8a
mov eax, dword [esi + ebx*4]
mov cl, byte [eax]
cmp cl, 0x2d
je 0x1001f0f
cmp cl, 0x2f
je 0x1001f0f
cmp dword [ebp - 0x198], edi
jne 0x1001ee8
mov dword [ebp - 0x198], eax
jmp 0x1001f80
cmp dword [ebp - 0x19c], edi
jne 0x1001efb
mov dword [ebp - 0x19c], eax
jmp 0x1001f80
cmp dword [ebp - 0x1a8], edi
jne 0x100201e
mov dword [ebp - 0x1a8], eax
jmp 0x1001f80
lea edi, [eax + 1]
jmp 0x1001f78
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_toupper]
cmp eax, 0x41
pop ecx
je 0x1001f6d
cmp eax, 0x44
je 0x1001f61
cmp eax, 0x47
je 0x1001f6d
cmp eax, 0x4e
je 0x1001f48
cmp eax, 0x53
jne 0x100201e
mov dword [ebp - 0x1a0], 2
jmp 0x1001f77
cmp dword [ebp - 0x1a0], 0
mov dword [ebp - 0x1a4], 1
je 0x100201e
jmp 0x1001f77
mov dword [ebp - 0x1a0], 3
jmp 0x1001f77
mov dword [ebp - 0x1a0], 1
inc edi
mov al, byte [edi]
test al, al
jne 0x1001f14
xor edi, edi
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x1001ec6
call fcn.01002554
cmp eax, edi
je 0x1001fab
push eax
push 0x271e
push 2
call fcn.01002487
add esp, 0xc
push 1
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x1a0]
dec eax
je 0x100200e
dec eax
je 0x1001fdb
dec eax
jne 0x100204e
push dword [ebp - 0x19c]
push dword [ebp - 0x198]
call fcn.0100186f
cmp eax, edi
je 0x100204e
push eax
push 0x2721
jmp 0x1002044
cmp dword [ebp - 0x198], edi
je 0x100201e
cmp dword [ebp - 0x19c], edi
je 0x100201e
push dword [ebp - 0x1a8]
push dword [ebp - 0x19c]
push dword [ebp - 0x198]
call fcn.01001a14
cmp eax, edi
je 0x100204e
push eax
push 0x2720
jmp 0x1002044
cmp dword [ebp - 0x1a4], edi
je 0x1002023
cmp dword [ebp - 0x198], edi
jne 0x1002023
jmp 0x1001637
push dword [ebp - 0x19c]
push dword [ebp - 0x1a4]
push dword [ebp - 0x198]
call fcn.010016c6
cmp eax, edi
je 0x100204e
push eax
push 0x271f
push 2
call fcn.01002487
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.010020d5
leave
ret

Function at 0x1002419
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [0x1001050]
cmp eax, 0xffffffff
jne 0x1002445
push dword [ebp + 8]
call dword [0x1001048]
test eax, eax
je 0x1002442
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x1002445
or eax, 0xffffffff
pop ebp
ret 4
Function at 0x40fa70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46fdcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a02c4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40fba8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40fad6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004647b9
xor eax, eax
jmp 0x40fc1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004648f6
push esi
lea ecx, [esp + 0xc]
call fcn.00464b85
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40fbfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040fa00
test eax, eax
jne 0x40fbfd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0040fa00
test eax, eax
jne 0x40fbfd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00455d70
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fbdc
lea ecx, [esp + 0x14]
push 0x499d94
push ecx
call fcn.00455cf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fbdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40fbdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004648a6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40faee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004647b9
xor eax, eax
jmp 0x40fc1f
mov byte [esi], 0
push 0x499d90
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004647b9
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4