joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50dcc0
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 0x50dd63
test eax, eax
jbe 0x50dd63
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x50dd63
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 0x50dd0e
xor esi, esi
jmp 0x50dd14
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x50dd3f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00511f50
add esi, eax
push esi
mov ebx, esi
call fcn.00511f50
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x50dd20
pop ebp
test edi, edi
pop edi
jne 0x50dd63
test ebx, ebx
je 0x50dd63
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0053bb80
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x50dea5
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 0x50dfbd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x50dfbd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0054eb7e
mov esi, eax
test esi, esi
je 0x50dfbd
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 0x50dfbd
mov ecx, esi
call fcn.0050de10
cmp edi, eax
jge 0x50dfbd
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 0x50df43
mov dword [esp + 0x34], 1
jmp 0x50df9e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x50dfbd
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.0050d410
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 0x520f30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00527340
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 0x521029
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.004a38a0
test eax, eax
jne 0x521029
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.004a38a0
test eax, eax
jne 0x521029
lea edx, [esp + 0x10]
push 0x7b4220
push edx
call fcn.0053c4d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x520ffa
lea eax, [esp + 0x10]
push 0x7b421c
push eax
call fcn.0053c4d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x520ffa
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x520ffd
mov byte [esi], 0
push 0x7b39e4
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 0x527280
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x563f18
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 0x527330
mov eax, dword [0x7b50cc]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0054d482
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0054d4d1
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0054d42e
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x527317
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x527317
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.0054d09e
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x52a430
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5643a0
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 0x52a5d7
mov ecx, dword [0x7b50cc]
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 0x52a52c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00529150
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0054d18b
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0054d09e
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x7b39e4
call fcn.0054d10c
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00529510
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0054d18b
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0054d09e
lea ecx, [esp + 0xc]
call fcn.0054d58d
mov ecx, dword [esp + 0xc]
push 0x7b4424
push ecx
call fcn.0053b244
add esp, 8
test eax, eax
je 0x52a554
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x52a48d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0054d09e
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0054d09e
jmp 0x52a5db
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0052a1d0
test eax, eax
push 0
je 0x52a5bf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00528870
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x52a5a5
cmp eax, 0x64
jg 0x52a593
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x52a530
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x52a530
cmp eax, 0x64
jge 0x52a52c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x52a530
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00528870
mov esi, eax
jmp 0x52a530
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x52a5e5
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 0x54f522
Capabilities:
Get graphical window text

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

Function at 0x550d97
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 0x550dd9
call fcn.00557c21
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x550dd9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x550dd0
xor eax, eax
jmp 0x550de1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00550de7
pop edi
pop esi
pop ebx
ret 4

Function at 0x558136
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 0x558164
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x558182
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0055809c
jmp 0x558182
mov eax, dword [esi + 0x14]
test eax, eax
je 0x558182
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0055809c
test edi, edi
mov eax, edi
jne 0x55816c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x55aac3
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x55aaeb
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x55aafc
push 2
call edi
test ax, ax
jge 0x55aafc
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0054eb57
cmp dword [esi + 0x30], ebx
jne 0x55abd6
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0054eb57
cmp eax, dword [esp + 0x34]
jne 0x55abd6
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x55ab72
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x55abb7
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x55abd6
cmp eax, 0x205
je 0x55abd6
cmp eax, 0x201
je 0x55abd6
cmp eax, 0x204
je 0x55abd6
cmp eax, ebx
jne 0x55ab9d
cmp dword [esp + 0x1c], 0x1b
je 0x55abd6
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x7fb82c]
jbe 0x55abcc
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x55ab2f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40345b
pop dword [ebp - 0x24]
mov eax, 0x40345b
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x5f862610
sub dword [ebp - 0x34], 0x1133e0c5
mov dword [ebp - 0x30], 0xa99a89aa
sub dword [ebp - 0x30], 0x77673d65
mov dword [ebp - 0x2c], 0xf5e0fcd6
sub dword [ebp - 0x2c], 0xa994b8a8
mov dword [ebp - 0x28], 0x806fb225
sub dword [ebp - 0x28], 0x806fb225
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xf963bd46
sub dword [ebp - 0x34], 0x84f153f0
mov dword [ebp - 0x30], 0x321ab57e
sub dword [ebp - 0x30], 0xf0ae5409
mov dword [ebp - 0x2c], 0x8020e7cf
sub dword [ebp - 0x2c], 0x1cb17b63
mov dword [ebp - 0x28], 0x9518998
sub dword [ebp - 0x28], 0x9518998
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x35033
push 0
call eax
mov ecx, 0x4097
mov edi, eax
mov edx, 0x408400
add edx, dword [ebp - 0x24]
mov esi, 0xd28d4738
sub esi, 0x1beaa23b
add dword [ebp - 4], 0xf164cd8a
mov ebx, dword [edx]
add dword [ebp - 0x10], 0x5450a6dd
add ebx, esi
xor dword [ebp - 0x14], 0x1b372eb3
mov dword [edi], ebx
xor dword [ebp - 4], ecx
add edi, 0xb2e1d61e
add edi, 0x4d1e29e6
add edx, 0x2143bdc
add edx, 0xfdebc428
loop 0x403562
add eax, 0xe6d36362
add eax, 0x192d91cd
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xa77900c7
sub ecx, 0xa73900c7
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x74c5f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x7524cc]
cmp dword [eax + 0x28], 0
jne 0x74c608
xor eax, eax
jmp 0x74c737
mov ecx, dword [0x75243c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x752430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x75242c], eax
push 0
call dword [0x750138]
mov dword [ebp - 0x10], eax
push 1
call dword [0x750138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x752430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x75242c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x7524b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x750680
push 0x7506d0
push 0x88
call dword [0x750134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x752428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x75010c]
push eax
call fcn.0074c530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0x750148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x75012c]
push 0x74c5c0
mov edx, dword [0x7524cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0x75013c]
mov dword [0x752434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x750130]
test eax, eax
je 0x74c737
cmp dword [ebp - 0x38], 0x12
jne 0x74c72b
mov dword [0x752444], 0
call fcn.0074c740
xor eax, eax
jmp 0x74c737
lea edx, [ebp - 0x3c]
push edx
call dword [0x750140]
jmp 0x74c6fc
mov esp, ebp
pop ebp
ret 4

Function at 0x74db00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [fcn.007500dc]
call dword [fcn.00750124]
call dword [fcn.00750128]
call dword [fcn.00750094]
call dword [fcn.007500fc]
call dword [fcn.007500f4]
call dword [fcn.00750150]
call dword [fcn.0075000c]
call dword [fcn.00750000]
call dword [fcn.00750160]
call fcn.0074f644
mov eax, 1
pop ebp
ret 4
Function at 0x74e69c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x750168
sub eax, eax
test esi, esi
je 0x74e774
sub eax, 1
test ecx, ecx
je 0x74e772
test esi, 3
je 0x74e6da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x74e6bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x74e759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x74e6e4
mov ecx, edx
test ecx, ecx
je 0x74e772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x74e75f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x74e77c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0074e7ff
jae 0x74e78a
xor ecx, ecx
call fcn.0074e7ff
jae 0x74e7b9
xor eax, eax
call fcn.0074e7ff
jae 0x74e7c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0074e7ff
adc al, al
jae 0x74e7ab
jne 0x74e7f5
stosb byte es:[edi], al
jmp 0x74e78d
call fcn.0074e80b
sub ecx, ebx
jne 0x74e7d2
call fcn.0074e809
jmp 0x74e7f1
lodsb al, byte [esi]
shr eax, 1
je 0x74e81b
adc ecx, ecx
jmp 0x74e7ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0074e809
cmp eax, 0x7d00
jae 0x74e7ee
cmp ah, 5
jae 0x74e7ef
cmp eax, 0x7f
ja 0x74e7f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x74e78d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x74f14c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x752000]
jne 0x74f156
repz ret
jmp fcn.0074f3fd
Function at 0x40b140
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47423b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004670b1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b1c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00464b67
mov eax, dword [eax]
push 0x4c21f0
push eax
call fcn.004578c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046733c
test bl, bl
je 0x40b1c2
push 0x4c21f0
lea ecx, [esp + 0xc]
call fcn.00467718
push 0x4c5d48
lea ecx, [esp + 0xc]
call fcn.00467718
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40b1fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046733c
jmp 0x40b2c9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40b282
lea edx, [esp + 0x7c]
push 0x4c5d44
push edx
call fcn.004578c4
add esp, 8
test eax, eax
je 0x40b282
lea eax, [esp + 0x7c]
push 0x4c5d40
push eax
call fcn.004578c4
add esp, 8
test eax, eax
je 0x40b282
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b212
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046733c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40bac0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40bb22
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40bb30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4742bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4cd0a8]
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 0x40bc68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bb96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046733c
xor eax, eax
jmp 0x40bcdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004674c5
push esi
lea ecx, [esp + 0xc]
call fcn.00467754
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 0x40bcbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0040bac0
test eax, eax
jne 0x40bcbd
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 SysReAllocStringLen
mov ecx, edi
call fcn.0040bac0
test eax, eax
jne 0x40bcbd
lea eax, [esp + 0x14]
push 0x4c5d5c
push eax
call fcn.004589a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bc9c
lea ecx, [esp + 0x14]
push 0x4c5d58
push ecx
call fcn.00458920
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bc9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bc9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00467475
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bbae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046733c
xor eax, eax
jmp 0x40bcdf
mov byte [esi], 0
push 0x4c5d54
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.0046733c
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