joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100913f0
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 0x10091493
test eax, eax
jbe 0x10091493
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x10091493
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 0x1009143e
xor esi, esi
jmp 0x10091444
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1009146f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.10095610
add esi, eax
push esi
mov ebx, esi
call fcn.10095610
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x10091450
pop ebp
test edi, edi
pop edi
jne 0x10091493
test ebx, ebx
je 0x10091493
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.100c86a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x100915b0
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 0x100916cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100916cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.100da669
mov esi, eax
test esi, esi
je 0x100916cd
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 0x100916cd
mov ecx, esi
call fcn.10091540
cmp edi, eax
jge 0x100916cd
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 0x10091653
mov dword [esp + 0x34], 1
jmp 0x100916ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100916cd
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.10090ac0
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 0x1009c340
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 0x1009c38c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x1009c38c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x1009c376
push eax
call ebp
test ax, ax
jl 0x1009c384
inc esi
add edi, 4
cmp esi, 6
jb 0x1009c368
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.1009c040
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100a00f0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x100a0150
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x100a0150
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x100a0150
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x100a0150
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 0x100a0160
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 0x100a96e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.100afaf0
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 0x100a97d9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.10038ec0
test eax, eax
jne 0x100a97d9
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 closesocket
mov ecx, esi
call fcn.10038ec0
test eax, eax
jne 0x100a97d9
lea edx, [esp + 0x10]
push 0x10126500
push edx
call fcn.100c8de0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100a97aa
lea eax, [esp + 0x10]
push 0x101264fc
push eax
call fcn.100c8de0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100a97aa
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x100a97ad
mov byte [esi], 0
push 0x10125cc4
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 0x100afa30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100eaf28
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 0x100afae0
mov eax, dword [0x10129918]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.100d8f70
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.100d8fbf
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.100d8f1c
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100afac7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x100afac7
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.100d8b40
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100b2be0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100eb3b0
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 0x100b2d87
mov ecx, dword [0x10129918]
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 0x100b2cdc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.100b1900
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.100d8c79
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.100d8b40
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x10125cc4
call fcn.100d8bae
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.100b1cc0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.100d8c79
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.100d8b40
lea ecx, [esp + 0xc]
call fcn.100d9054
mov ecx, dword [esp + 0xc]
push 0x10126704
push ecx
call fcn.100c7cc4
add esp, 8
test eax, eax
je 0x100b2d04
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x100b2c3d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.100d8b40
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.100d8b40
jmp 0x100b2d8b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.100b2980
test eax, eax
push 0
je 0x100b2d6f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.100b1020
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100b2d55
cmp eax, 0x64
jg 0x100b2d43
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100b2ce0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100b2ce0
cmp eax, 0x64
jge 0x100b2cdc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100b2ce0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.100b1020
mov esi, eax
jmp 0x100b2ce0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x100b2d95
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 0x100bac50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100eb6eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
lea eax, [esp + 0x14]
push esi
xor esi, esi
push eax
push 0x104
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jae 0x100bad30
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push esi
push 0x10127b2c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp eax, esi
je 0x100bad30
lea eax, [esp + 0x18]
push 0x1001
push eax
lea ecx, [esp + 0xc]
call fcn.100d920c
mov dword [esp + 0x128], esi
mov esi, dword [esp + 0x134]
push str.lt_
push 0x10127b20
mov ecx, esi
call fcn.100d5c37
push str.gt_
push 0x10127b14
mov ecx, esi
call fcn.100d5c37
mov esi, dword [esi]
lea ecx, [esp + 4]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.100d94c0
lea ecx, [esp + 4]
call fcn.100d9584
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.100d8bae
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0xffffffff
call fcn.100d92ac
jmp 0x100bad43
mov esi, dword [esp + 0x130]
push 0x1016e57c
mov ecx, esi
call fcn.100d8bae
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x128
ret

Function at 0x100c0de3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x100c0e21
call fcn.100e279e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100c0e21
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100c0e38
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x100c0e38
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x100db00d
Capabilities:
Get graphical window text

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

Function at 0x100dc702
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 0x100dc744
call fcn.100e279e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100dc744
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100dc73b
xor eax, eax
jmp 0x100dc74c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100dc752
pop edi
pop esi
pop ebx
ret 4
Function at 0x40d5b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c50c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5f8310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x1c]
call sub.mfc90.dll_Ordinal_367
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004059b0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x1c]
call fcn.00404a80
lea ecx, [ebp - 0x1c]
call fcn.00405da0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00405c80
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00405dd0
mov dword [ebp - 0x28], eax
push 0xff0062
push 0
push 0
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
push edx
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00405e00
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx]
call eax
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp - 0x20]
push ecx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00405dd0
lea ecx, [ebp - 0x24]
call sub.mfc90.dll_Ordinal_2143
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00405c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.mfc90.dll_Ordinal_636
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40eab0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c723
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5f8310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call sub.mfc90.dll_Ordinal_4993
push 0x8c
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x40eb0a
mov ecx, dword [ebp - 0x18]
call sub.inputall.dll_public:_void___thiscall_disp1::constructor_void_
mov dword [ebp - 0x28], eax
jmp 0x40eb11
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x74], edx
push 0x59b518
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x74]
add ecx, 0x14
call dword [sym.imp.mfc90.dll_Ordinal_820]
push str.B751
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x74]
add ecx, 0xc
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5f87c4
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x74]
add ecx, 0x18
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x74]
mov dword [ecx + 0x30], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x74]
mov dword [eax + 0x10], 0x5f87ac
mov ecx, dword [ebp - 0x24]
call fcn.00422020
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x74]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, 0x7c
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x74]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x74]
call sub.inputall.dll_public:_void___thiscall_disp1::init_void_
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x78]
push edx
push 0x59b52c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x74]
call sub.inputall.dll_public:_void___thiscall_disp1::disp_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x415010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x41505d
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 4]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
movsx eax, byte [ebp - 4]
cmp eax, 0xa
jne 0x41505b
jmp 0x41505d
jmp 0x415019
mov esp, ebp
pop ebp
ret 8

Function at 0x41b800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dabb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5f8310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push 0x59d7f4
push 0x59d7f8
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
jne 0x41b884
push 0
push 0
push 0x59d808
call sub.mfc90.dll_Ordinal_1183
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x41b93b
push 0x59c6b3
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x41b91e
mov edx, dword [ebp - 0x14]
push edx
push 1
push 1
lea eax, [ebp - 0x15]
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
movsx ecx, byte [ebp - 0x15]
cmp ecx, 0xa
jne 0x41b8dd
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004154f0
push 0x59c6b6
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_820]
jmp 0x41b919
movzx eax, byte [ebp - 0x15]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00421f10
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x41b892
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x429300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x42934d
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 4]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
movsx eax, byte [ebp - 4]
cmp eax, 0xa
jne 0x42934b
jmp 0x42934d
jmp 0x429309
mov esp, ebp
pop ebp
ret 8

Function at 0x42a900
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov dword [ebp - 4], 0x400
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call sub.mfc90.dll_Ordinal_266
add esp, 4
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
mov eax, dword [ebp - 4]
shl eax, 2
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x42a995
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
shr ecx, 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 4]
jbe 0x42a924
mov ecx, dword [ebp - 0x10]
call fcn.0042aec0
mov esp, ebp
pop ebp
ret
Function at 0x42aa10
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x42aad3
mov dword [ebp - 4], 0x400
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
add edx, 8
push edx
mov eax, dword [ebp - 4]
shl eax, 2
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x42aac4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
shr eax, 2
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jbe 0x42aa4a
mov ecx, dword [ebp - 0x10]
call fcn.0042af10
mov esp, ebp
pop ebp
ret
Function at 0x42ad00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f1ac
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5f8310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
push 0x400
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042a810
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042a760
mov dword [ebp - 0x30], eax
jmp 0x42ad58
lea ecx, [ebp - 0x2c]
call fcn.0042ae60
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42adb3
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push ecx
push 0x64
push 0xa
push 0
push 0
push 0x11
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
cmp dword [ebp - 0x34], 0
jne 0x42ada1
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042a840
mov eax, dword [ebp - 0x38]
jmp 0x42ae24
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x42ad4d
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42ae0c
push 0x1388
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42ae02
cmp dword [ebp + 0xc], 0
je 0x42adfb
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x42ae02
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042a840
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8