joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d0910e0
Capabilities:
Set global application hook

Disassembly:
push 0xffffffffffffffff
push 0x6d0b466e
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d0f8610]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x6d0fb1f0], 0
je 0x6d0911df
cmp dword [0x6d0fb1e0], 0
jne 0x6d0911df
test byte [0x6d0f9858], 1
jne 0x6d091157
or dword [0x6d0f9858], 1
mov ecx, 0x6d0f9854
mov dword [esp + 0x1c], 0
call fcn.6d0af3d6
push 0x6d0b59d6
call fcn.6d05f1d0
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
mov ecx, 0x6d0f9854
call fcn.6d05f1d0
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x6d091176
push 1
lea ecx, [esi + 0x1a8]
call fcn.6d08e3c0
call fcn.6d090f50
call fcn.6d09d0b4
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 0xe
push esi
call edi
push 0xc
push esi
mov ebp, eax
call edi
imul ebp, eax
cmp ebp, 4
jge 0x6d0911f7
push 0x10
push str.AWT_Initialization_Error
push str.Sorry__but_this_release_of_Java_requires_at_least_16_colors
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [0x6d0fb1cc]
push 0x10002
push eax
call sub.java.dll__JNU_GetEnv_8
push str.unsupported_screen_depth
push str.java_lang_InternalError
push eax
call sub.java.dll__JNU_ThrowByName_12
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [0x6d0fb1dc], ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ecx, dword [0x6d0fb34c]
mov edx, dword [str.SunAwtToolkit]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x8000000
push str.theAwtToolkitWindow
push edx
push 0
mov dword [0x6d0fb1e0], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x6d0fb1e4], eax
mov eax, dword [0x6d0fb1e0]
push eax
push 0
push 0x6d090c60
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x6d0fb218], eax
call fcn.6d097db1
mov eax, 1
jmp 0x6d0911e1

Function at 0x6d0959fc
Capabilities:
Check os version

Disassembly:
push 0xc
mov eax, 0x6d0b4aa9
call fcn.6d0b0ca9
mov eax, dword [0x6d0f806c]
cmp eax, 0xfffffffe
jne 0x6d095a81
call dword [sym.imp.kernel32.dll_GetVersion]
cmp al, 6
jae 0x6d095a27
and dword [0x6d0f806c], 0
xor eax, eax
jmp 0x6d095a81
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call fcn.6d05f1d0
pop ecx
cmp eax, ebx
jl 0x6d095a4b
mov ebx, dword [ebp - 0x14]
jmp 0x6d095a4b
push 0x10002
push dword [0x6d0fb1cc]
mov dword [0x6d0f806c], ebx
call sub.java.dll__JNU_GetEnv_8
movzx ecx, bl
push ecx
push str._Z_V
push str.dwmCompositionChanged
push str.sun_awt_Win32GraphicsEnvironment
push 0
push eax
call sub.java.dll_JNU_CallStaticMethodByName
add esp, 0x18
mov eax, ebx
call fcn.6d0b0d4e
ret
Function at 0x6d09b73e
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x6d0b5150
call fcn.6d0b0d15
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.6d09cfff
call fcn.6d05f1d0
push 0x10002
push dword [0x6d0fb1cc]
call sub.java.dll__JNU_GetEnv_8
push dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
call fcn.6d097de2
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
pop ecx
push 1
mov dword [esi - 0x44], eax
call edi
mov ebx, 0xff00
test bx, ax
jne 0x6d09b322
push 4
call edi
test bx, ax
jne 0x6d09b322
push 2
call edi
push 0x10
call edi
push 0x11
call edi
push 0x12
call edi
call fcn.6d06c5fd
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
xor ecx, ecx
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [esi - 0x4c], eax
sete cl
mov dword [ebp - 0x38], ecx
cmp ecx, edi
je 0x6d09b384
cmp dword [esi - 0x48], edi
jne 0x6d09b378
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [esi - 0x58]
push dword [ebp - 0x30]
call fcn.6d09a4ac
add esp, 0x10
mov dword [esi - 0x4c], edi
mov dword [esi - 0x48], 1
jmp 0x6d09b3af
cmp eax, edi
je 0x6d09b3af
mov eax, 0x6d09a311
cmp dword [esi - 0x48], edi
jne 0x6d09b397
mov eax, 0x6d09a39a
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ebx
push dword [esi - 0x44]
push dword [esi - 0x58]
push dword [ebp - 0x30]
call eax
add esp, 0x18
mov dword [esi - 0x48], edi
mov eax, dword [esi - 0x4c]
cmp eax, edi
je 0x6d09b40d
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
push eax
push dword [esi - 0x4c]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x6d09b3ff
mov eax, dword [ebp - 0x34]
mov dword [esi - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [esi - 0x10], edi
mov dword [esi - 0x14], eax
jmp 0x6d09b41a
mov eax, dword [ebp - 0x2c]
mov dword [esi - 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [esi - 0x14], eax
jmp 0x6d09b413
mov dword [esi - 0x18], edi
mov dword [esi - 0x14], edi
mov dword [esi - 0x10], 1
mov eax, dword [ebp - 0x38]
lea ecx, [esi - 0x60]
mov dword [esi - 0xc], eax
call fcn.6d09a092
jmp 0x6d09b444
call fcn.6d0b0d71
ret 8
mov ecx, dword [esp + 4]
sub ecx, dword [ecx - 4]
mov dword [esp + 4], ecx
jmp 0x6d09b2c5
Function at 0x6d09e171
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0x10]
sub esp, 0x1c
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov edi, ecx
movzx ecx, word [ebp + 0xc]
push dword [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push dword [0x6d0fb68c]
push eax
call fcn.6d05f1d0
mov ebx, dword [ebp + 0x14]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.6d06c694
pop ecx
push eax
push ebx
call fcn.6d06c694
cmp eax, 3
sete al
movzx eax, al
pop ecx
push eax
push dword [0x6d0fb6a8]
call fcn.6d06c5fd
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
push eax
call fcn.6d06c35b
pop ecx
push edx
push eax
push 0x1f6
mov ecx, edi
call fcn.6d05f1d0
push ebx
call fcn.6d06c6c3
pop ecx
test dword [edi + 0x3e4], eax
je 0x6d09e238
push 0
push ebx
call fcn.6d06c694
pop ecx
push eax
push 0
push dword [0x6d0fb6a8]
call fcn.6d06c5fd
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
push eax
call fcn.6d06c35b
pop ecx
push edx
push eax
push 0x1f4
mov ecx, edi
call fcn.6d05f1d0
push ebx
call fcn.6d06c6c3
pop ecx
push 2
not eax
and dword [edi + 0x3e4], eax
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x6d09e35f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
push eax
call fcn.6d06c35b
mov edi, eax
pop ecx
mov dword [ebp - 4], edx
cmp dword [0x6d0fb6e0], edi
jne 0x6d09e38e
cmp dword [0x6d0fb6e4], edx
je 0x6d09e3d8
push dword [ebp + 0x10]
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
push dword [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push dword [0x6d0fb68c]
push eax
call fcn.6d05f1d0
lea eax, [ebp - 0x24]
add esp, 0x18
push eax
call fcn.6d06c5fd
push eax
call esi
push eax
call fcn.6d06c35b
pop ecx
push edx
push eax
push 0x3e9
mov ecx, ebx
call fcn.6d05f1d0
mov eax, dword [ebp - 4]
push 2
mov dword [0x6d0fb6e4], eax
pop eax
mov dword [0x6d0fb6e0], edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x6d0a4600
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x6d0f8610]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp word [0x6d0fb7c0], 0
push ebx
jne 0x6d0a4822
push esi
push 0x11c
lea eax, [esp + 0xc]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call dword [sym.imp.kernel32.dll_GetVersionExW]
push str._I__OS_Version_
push 0
push 3
mov esi, eax
call fcn.6d05f1d0
add esp, 0xc
test esi, esi
pop esi
je 0x6d0a4806
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
cmp eax, 2
jne 0x6d0a47f1
cmp ecx, 4
jbe 0x6d0a47f1
mov eax, dword [esp + 0xc]
mov ebx, 1
cmp ecx, 6
jb 0x6d0a4728
test eax, eax
jne 0x6d0a46de
cmp byte [esp + 0x11e], bl
jne 0x6d0a46bc
push str.OS_VISTA_n
push eax
push 3
call fcn.6d05f1d0
add esp, 0xc
mov word [0x6d0fb7c0], bx
jmp 0x6d0a4822
push str.OS_WINSERV_2008_n
push 0
push 3
call fcn.6d05f1d0
mov edx, 2
add esp, 0xc
mov word [0x6d0fb7c0], dx
jmp 0x6d0a4822
cmp eax, ebx
jb 0x6d0a4728
cmp byte [esp + 0x11e], bl
jne 0x6d0a4706
push str.OS_WINDOWS7_or_newer_n
push 0
push 3
call fcn.6d05f1d0
add esp, 0xc
mov eax, 0x20
jmp 0x6d0a481c
push str.OS_WINSERV_2008R2_or_newer_n
push 0
push 3
call fcn.6d05f1d0
mov ecx, 0x40
add esp, 0xc
mov word [0x6d0fb7c0], cx
jmp 0x6d0a4822
cmp ecx, 5
jne 0x6d0a47d0
cmp eax, 2
jne 0x6d0a477c
cmp byte [esp + 0x11e], bl
jne 0x6d0a4761
push str.OS_WINXP_64_n
push 0
push 3
call fcn.6d05f1d0
mov edx, 8
add esp, 0xc
mov word [0x6d0fb7c0], dx
jmp 0x6d0a4822
push str.OS_WINSERV_2003_n
push 0
push 3
call fcn.6d05f1d0
add esp, 0xc
mov eax, 0x10
jmp 0x6d0a481c
cmp eax, ebx
jne 0x6d0a47d0
push str.OS_WINXP
push 0
push 3
call fcn.6d05f1d0
add esp, 0xc
test dword [esp + 0x11c], 0x200
mov ecx, 4
mov word [0x6d0fb7c0], cx
je 0x6d0a47bd
push str.Home_n
push 0
push 3
call fcn.6d05f1d0
add esp, 0xc
jmp 0x6d0a4822
push str.Pro_n
push 0
push 3
call fcn.6d05f1d0
add esp, 0xc
jmp 0x6d0a4822
push eax
push ecx
push str.OS_UNKNOWN:_dwMajorVersion_d_dwMinorVersion_d_n
push 0
push 3
call fcn.6d05f1d0
mov edx, 0xff80
add esp, 0x14
mov word [0x6d0fb7c0], dx
jmp 0x6d0a4822
push ecx
push eax
push str.OS_UNKNOWN:_dwPlatformId_d_dwMajorVersion_d_n
push 0
push 3
call fcn.6d05f1d0
add esp, 0x14
jmp 0x6d0a4817
push str.OS_UNKNOWN:_GetVersionEx_failed_n
push 0
push 3
call fcn.6d05f1d0
add esp, 0xc
mov eax, 0xff80
mov word [0x6d0fb7c0], ax
movzx ecx, word [esp + 0x128]
movzx eax, word [0x6d0fb7c0]
and eax, ecx
mov ecx, dword [esp + 0x120]
pop ebx
xor ecx, esp
call fcn.6d0b0acb
add esp, 0x120
ret
Function at 0x6d0a4990
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push str.J2D_D3D_RASTERIZER
call dword [sym.imp.MSVCR100.dll_getenv]
mov esi, eax
add esp, 4
mov ebx, 1
test esi, esi
je 0x6d0a4a79
push edi
push str._W__D3DPPLM::SelectDeviceType:
push 0
push 2
call fcn.6d05f1d0
mov edi, dword [sym.imp.MSVCR100.dll_strncmp]
push 3
push 0x6d0d33d4
push esi
call edi
add esp, 0x18
test eax, eax
je 0x6d0a4a51
push 3
push 0x6d0b70a4
push esi
call edi
add esp, 0xc
test eax, eax
je 0x6d0a4a51
push 3
push 0x6d0d33d0
push esi
call edi
add esp, 0xc
test eax, eax
je 0x6d0a4a41
push 3
push 0x6d0d33cc
push esi
call edi
add esp, 0xc
test eax, eax
je 0x6d0a4a41
push 3
push 0x6d0d33c8
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x6d0a4a2d
push str.nullref_rasterizer_selected
push eax
push 2
call fcn.6d05f1d0
mov ebx, 4
jmp 0x6d0a4a64
push esi
push str.unknown_rasterizer:__s__only__refhalnul__supported__hal_selected_instead
push 0
push 2
call fcn.6d05f1d0
add esp, 0x10
jmp 0x6d0a4a67
push str.hal_rasterizer_selected
push 0
push 2
call fcn.6d05f1d0
jmp 0x6d0a4a64
push str.ref_rasterizer_selected
push 0
push 2
call fcn.6d05f1d0
mov ebx, 2
add esp, 0xc
push 0x6d0b71b8
push 0
push 2
call fcn.6d05f1d0
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x6d0a5380
Capabilities:
Check os version

Disassembly:
push esi
mov esi, dword [sym.imp.kernel32.dll_GetVersion]
call esi
cmp al, 5
ja 0x6d0a539c
call esi
cmp al, 5
jne 0x6d0a53aa
call esi
shr eax, 8
cmp al, 1
jb 0x6d0a53aa
push 0x52
call fcn.6d0a4600
add esp, 4
test eax, eax
je 0x6d0a53d5
push str.D3DPPLM::CheckOSVersion:_Windows_2000_or_earlier__or_a_server__OS_detected__failed
push 1
push 1
call fcn.6d05f1d0
add esp, 0xc
cmp dword [0x6d0fb7bc], 0
je 0x6d0a53d9
push str.__OS_check_overridden_via_J2D_D3D_NO_HWCHECK
push 1
push 2
call fcn.6d05f1d0
add esp, 0xc
xor eax, eax
pop esi
ret
mov eax, 0x80004005
pop esi
ret
Function at 0x4063d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x478cfb
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.0046db55
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406452
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046ba67
mov eax, dword [eax]
push 0x4dbc68
push eax
call fcn.0045e764
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046dde0
test bl, bl
je 0x406452
push 0x4dbc68
lea ecx, [esp + 0xc]
call fcn.0046e170
push 0x4dbc74
lea ecx, [esp + 0xc]
call fcn.0046e170
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 0x40648e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046dde0
jmp 0x406559
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 0x406512
lea edx, [esp + 0x7c]
push 0x4dbc70
push edx
call fcn.0045e764
add esp, 8
test eax, eax
je 0x406512
lea eax, [esp + 0x7c]
push 0x4dbc6c
push eax
call fcn.0045e764
add esp, 8
test eax, eax
je 0x406512
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 0x4064a2
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.0046dde0
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 0x406d60
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 0x406dc2
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 0x406dd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x478d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e5598]
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 0x406f08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406e36
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046dde0
xor eax, eax
jmp 0x406f7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046df1d
push esi
lea ecx, [esp + 0xc]
call fcn.0046e1ac
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 0x406f5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00406d60
test eax, eax
jne 0x406f5d
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 closesocket
mov ecx, edi
call fcn.00406d60
test eax, eax
jne 0x406f5d
lea eax, [esp + 0x14]
push 0x4dbc84
push eax
call fcn.0045f7e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x406f3c
lea ecx, [esp + 0x14]
push 0x4dbc80
push ecx
call fcn.0045f760
mov esi, eax
add esp, 8
test esi, esi
jne 0x406f3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x406f3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046decd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x406e4e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046dde0
xor eax, eax
jmp 0x406f7f
mov byte [esi], 0
push 0x4dbc7c
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.0046dde0
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
Function at 0x417880
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4178ee
cmp si, 0x69
ja 0x4178ee
add esi, 0xffd0
cmp si, 0x11
je 0x4178be
push 0x11
call edi
test ax, ax
jge 0x4178be
or esi, 0x2000
cmp si, 0x10
je 0x4178d3
push 0x10
call edi
test ax, ax
jge 0x4178d3
or esi, 0x4000
cmp si, 0x12
je 0x4178e8
push 0x12
call edi
test ax, ax
jge 0x4178e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4178fb
mov esi, 0xbd
jmp 0x4178af
cmp si, 0x6e
jne 0x417908
mov esi, 0xbe
jmp 0x4178af
cmp si, 0x6f
jne 0x4178a9
mov esi, 0xbf
jmp 0x4178af

Function at 0x4190f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f5ce0]
xor edx, edx
cmp eax, edx
jne 0x419116
xor eax, eax
mov byte [eax + 0x4f5be0], al
inc eax
cmp eax, 0x100
jl 0x4190fe
mov dword [0x4f5ce0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f5be0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4191a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41917a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x419148
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x419220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x419273
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41925a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4202c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x420458
cmp ebp, ebx
jle 0x420458
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42031e
dec eax
or eax, 0xfffffff8
inc eax
je 0x420325
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x420334
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42033b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046db21
add esp, 4
cmp eax, ebx
je 0x42035c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046db21
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42044e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x420435
mov al, byte [edx]
cmp al, 0xc0
jbe 0x420421
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x420416
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x420424
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x420424
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4203c0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4203b1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x423760
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47a3d8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x423799
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004754ce
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0047551a
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00423820
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00475557
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24