joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a628
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x483b20]
cmp dword [eax + 0x30], 0
je 0x43a6d2
cmp dword [ebx + 0x94], 0
jne 0x43a6cc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43a5b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x43a6cc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x43a692
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43a6cc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418b80
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43a6a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x43b234
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x43b269
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004048c8
jmp 0x43b276
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040482c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43c27c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x43c2bd
mov eax, esi
call fcn.00450164
test al, al
je 0x43c2bd
mov eax, dword [ebx + 0x84]
call fcn.0044ff04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43c2bd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ff04
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43f1d8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004047d8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43f227
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404a48
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4473a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x483ba0], 0
je 0x4474ef
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x482190]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4474ef
mov eax, dword [0x483ba4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x483ba0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4474be
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x483ba0]
call fcn.00418b80
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4474b6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4474b6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4474b6
mov eax, dword [ebp - 0x14]
call fcn.0044ff04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4474b6
push ebp
call fcn.0044735c
pop ecx
test al, al
jne 0x4474b6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x447472
mov eax, dword [ebp - 0x14]
call fcn.0044ea34
dec eax
jle 0x4474b6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403be0
cmp byte [ebp - 1], 0
je 0x4474b6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4474b6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x483ba4]
call fcn.00446b28
inc edi
dec ebx
jne 0x447405
mov eax, dword [0x483ba4]
cmp dword [eax + 8], 0
jle 0x4474d6
mov eax, dword [0x483ba4]
call fcn.00446bb8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4474ef
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004471c4
pop ecx
test al, al
jne 0x4474ef
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44aa88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44aad4
mov eax, esi
call fcn.004329d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44aad4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44aad4
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44ac13
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44ab14
cmp eax, 0x108
ja 0x44ab14
mov eax, esi
call fcn.004329d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44ac0a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44ac13
jmp 0x44ac0a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44abf3
cmp eax, 0x20a
ja 0x44abf3
test byte [esi + 0x50], 0x80
jne 0x44ab46
sub eax, 0x203
je 0x44ab43
sub eax, 3
je 0x44ab43
sub eax, 3
jne 0x44ab46
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44ab5a
dec eax
je 0x44ab6f
dec eax
je 0x44ab8c
dec eax
je 0x44ab6f
jmp 0x44ab93
mov ecx, ebx
mov eax, dword [0x482190]
mov eax, dword [eax]
mov edx, esi
call fcn.0043c134
jmp 0x44ac0a
cmp byte [esi + 0x5d], 1
jne 0x44ab85
mov eax, esi
mov si, 0xffed
call fcn.00403be0
jmp 0x44ac13
or word [esi + 0x54], 1
jmp 0x44ac0a
and word [esi + 0x54], 0xfffe
jmp 0x44ac0a
mov eax, dword [0x483b5c]
cmp byte [eax + 0x20], 0
je 0x44ac0a
mov eax, dword [0x483b5c]
cmp dword [eax + 0x1c], 0
je 0x44ac0a
mov eax, dword [ebx]
mov edx, dword [0x483b5c]
cmp eax, dword [edx + 0x1c]
jne 0x44ac0a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00432918
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403be0
jmp 0x44ac13
cmp eax, 0xb00b
jne 0x44ac0a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004493f0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e094
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44e0b0
cmp dword [esi + 4], 0
je 0x44e0dd
test byte [ebx + 0x55], 1
jne 0x44e0cf
mov eax, ebx
call fcn.0044cca0
test eax, eax
jne 0x44e0cf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44e1ed
mov edx, esi
mov eax, ebx
call fcn.0044dbb8
jmp 0x44e1ed
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44e1e6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044ff04
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044a9bc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044e094
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044ff04
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e1ed
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4545fc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4823ec]
cmp byte [eax + 0xc], 0
je 0x454769
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x454762
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x483bb0], 0
jne 0x454650
push 0x454770
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x454778
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bb0], eax
cmp dword [0x47ed38], 0
jne 0x45474b
push 0x454788
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47ed38], eax
cmp dword [0x47ed38], 0
je 0x45474b
push 0x454794
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bb4], eax
push 0x4547a4
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bb8], eax
push 0x4547b8
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bbc], eax
push 0x4547d0
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc0], eax
push 0x4547e8
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc4], eax
push 0x4547fc
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc8], eax
push 0x454814
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bcc], eax
push 0x45482c
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd0], eax
push 0x454848
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd4], eax
push 0x454854
mov eax, dword [0x47ed38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454769
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x454ef0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x454ef8
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x454f11
pop ebx
ret
Function at 0x457440
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x45745e
and ecx, ecx
jle 0x45745e
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x457449
pop ebx
ret
Function at 0x4596c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0040299c
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x4597a3
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x480fe0]
mov edx, 8
call fcn.00456f58
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x480fe0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x480fe0]
mov edx, 0x10
call fcn.00456f58
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x480fe0]
mov edx, 0x18
call fcn.00456f58
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x459726
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459cf4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415e78]
call fcn.004052b8
xor eax, eax
push ebp
push 0x459e38
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x481404], 0
jne 0x459d47
mov ecx, dword [0x481d70]
mov dl, 1
mov eax, dword [0x407c38]
call fcn.0040d1e8
call fcn.00404170
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030a4
mov eax, ebx
call fcn.00405104
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x459e48
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406300
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405114
test eax, eax
jle 0x459ddf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x459dd8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404a60
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404a48
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ab8
test eax, eax
jne 0x459dd8
mov ebx, 0x15
jmp 0x459de4
mov ebx, 0x10
jmp 0x459de4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x481404]
call fcn.00459c4c
mov eax, dword [ebp - 8]
call fcn.00459c4c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459e3f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004047fc
lea eax, [ebp - 0x10]
mov edx, dword [0x415e78]
call fcn.0040537c
ret

Function at 0x45ac88
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x45acec
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404a48
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408f6c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45acf3
lea eax, [ebp - 0xc]
call fcn.004047d8
ret
Function at 0x45ad20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x45ad7c
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x45ad4b
call fcn.0040e5f8
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.0040299c
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x45ad7c
call fcn.0040e5f8
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x479148
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
test dl, dl
je 0x479159
add esp, 0xfffffff0
call fcn.00403d08
mov ebx, edx
mov esi, eax
cmp byte [ebp + 8], 0
je 0x479171
cmp word [ecx], 0x25ff
jne 0x479171
add ecx, 2
mov eax, dword [ecx]
mov ecx, dword [eax]
mov dword [esi + 0x12], ecx
mov eax, dword [ebp + 0xc]
sub eax, ecx
sub eax, 5
mov byte [esi + 8], 0xe9
mov edx, eax
and dl, 0xff
mov byte [esi + 9], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + 0xa], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov byte [esi + 0xb], dl
shr eax, 0x18
and al, 0xff
mov byte [esi + 0xc], al
mov eax, dword [esi + 0x12]
mov al, byte [eax]
mov byte [esi + 0xd], al
mov eax, dword [esi + 0x12]
mov al, byte [eax + 1]
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x12]
mov al, byte [eax + 2]
mov byte [esi + 0xf], al
mov eax, dword [esi + 0x12]
mov al, byte [eax + 3]
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x12]
mov al, byte [eax + 4]
mov byte [esi + 0x11], al
lea eax, [esi + 4]
push eax
push 0x40
push 5
mov eax, dword [esi + 0x12]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4791ec
call fcn.0040e5f8
mov eax, esi
call fcn.00479284
mov eax, esi
test bl, bl
je 0x479208
call fcn.00403d60
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x47a3ec
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, 8
mov edx, 0x3020100
mov dword [eax], edx
add edx, 0x4040404
mov dword [eax + 4], edx
add edx, 0x4040404
mov dword [eax + 8], edx
add edx, 0x4040404
mov dword [eax + 0xc], edx
add edx, 0x4040404
mov dword [eax + 0x10], edx
add edx, 0x4040404
mov dword [eax + 0x14], edx
add edx, 0x4040404
mov dword [eax + 0x18], edx
add edx, 0x4040404
mov dword [eax + 0x1c], edx
add edx, 0x4040404
add eax, 0x20
dec ecx
jne 0x47a3f6
ret
Function at 0x47b444
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
xor eax, eax
mov al, bl
cmp eax, 0x5b
jge 0x47b48b
cmp eax, 0x2e
jge 0x47b470
sub eax, 0x23
je 0x47b4f3
sub eax, 2
je 0x47b4ba
sub eax, 6
je 0x47b4ba
jmp 0x47b50f
add eax, 0xffffffd2
sub eax, 0xc
jb 0x47b4ba
sub eax, 5
je 0x47b4ba
dec eax
je 0x47b4f3
dec eax
sub eax, 0x1a
jb 0x47b4ba
jmp 0x47b50f
cmp eax, 0xa3
jg 0x47b4a9
je 0x47b4ba
add eax, 0xffffffa5
sub eax, 4
jb 0x47b4f3
dec eax
je 0x47b4f3
add eax, 0xffffffe5
sub eax, 4
jb 0x47b4f3
jmp 0x47b50f
sub eax, 0xa7
je 0x47b4ba
sub eax, 9
je 0x47b4ba
sub eax, 5
jne 0x47b50f
push 0x14
call sub.user32.dll_GetKeyState
test ax, ax
jne 0x47b4e5
mov dl, 1
mov al, 0x10
call fcn.0047b3cc
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.0047b408
xor edx, edx
mov al, 0x10
call fcn.0047b3cc
jmp 0x47b545
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.0047b408
pop ebx
pop ebp
ret
mov al, 1
call fcn.0047b3ec
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.0047b408
xor eax, eax
call fcn.0047b3ec
pop ebx
pop ebp
ret
push 0x14
call sub.user32.dll_GetKeyState
test ax, ax
jne 0x47b528
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.0047b408
jmp 0x47b545
mov dl, 1
mov al, 0x10
call fcn.0047b3cc
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.0047b408
xor edx, edx
mov al, 0x10
call fcn.0047b3cc
pop ebx
pop ebp
ret
Function at 0x401800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004061ac

Function at 0x401840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x401869
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40187f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401876
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4018b2
nop
cmp esi, ecx
jae 0x401876
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4018a0
cmp esi, ecx
jae 0x401876
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
call fcn.004092ad
mov ebx, eax
test ebx, ebx
jne 0x401b00
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x401be7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401be7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401be7
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x401b68
cmp esi, ecx
jae 0x401be7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x401b52
cmp esi, ecx
jae 0x401be7
cmp word [esi], 0
je 0x401be7
movzx eax, word [esi]
lea ecx, [esi + 2]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x401bf2
mov ebx, dword [ebp - 4]
mov edx, 1
mov ecx, dword [ebx]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, edi
or edx, ecx
jge 0x401bb0
push edi
mov ecx, ebx
call fcn.004019f0
movzx eax, word [esi]
push 0
push 0
push edi
push dword [ebx]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x401bf2
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
pop esi
mov byte [edi + eax], 0
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401270
int3
Function at 0x404fee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x405033
call fcn.00408a6d
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x405030
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40507a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x405056
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4445c0]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x405077
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x4445c0]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc