joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a8c4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x452138]
cmp byte [eax + 0xc], 0
je 0x43aa31
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43aa2a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x453b64], 0
jne 0x43a918
push 0x43aa38
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43aa40
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b64], eax
cmp dword [0x451b08], 0
jne 0x43aa13
push 0x43aa50
call sub.kernel32.dll_LoadLibraryA
mov dword [0x451b08], eax
cmp dword [0x451b08], 0
je 0x43aa13
push 0x43aa5c
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b68], eax
push 0x43aa6c
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b6c], eax
push 0x43aa80
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b70], eax
push 0x43aa98
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b74], eax
push 0x43aab0
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b78], eax
push 0x43aac4
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b7c], eax
push 0x43aadc
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b80], eax
push 0x43aaf4
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b84], eax
push 0x43ab10
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b88], eax
push 0x43ab1c
mov eax, dword [0x451b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aa31
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e8bc
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.00403e4c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e90b
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.004040bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446070]
test si, 4
je 0x446034
or bl, 1
test si, 8
je 0x44603e
or bl, 4
test si, 1
je 0x446048
or bl, 8
test si, 2
je 0x446052
or bl, 0x10
test si, 0x10
je 0x44605c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44606b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x446074
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4460ac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44608d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44609c
or bl, 4
test esi, 0x20000000
je 0x4460a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c754
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c766
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004190a0
mov eax, dword [0x451e0c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44caf8
mov eax, dword [0x451e18]
mov dword [eax + 4], ebx
mov dword [eax], 0x44cb04
mov eax, ebx
call fcn.0044cb10
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411398]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411398]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411398]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411398]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411398]
call fcn.004030cc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x448f2c
push eax
push 0
push 0
mov eax, dword [0x451f58]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aaf4]
call fcn.0041c268
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aaf4]
call fcn.0041c268
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aaf4]
call fcn.0041c268
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044cf30
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce0c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce0c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce0c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c8a3
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44cbf0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44cd9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44cd7c
mov dl, 1
mov eax, dword [0x4117b4]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44cd6b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043ac24
test al, al
je 0x44cd5e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44cdac
lea eax, [ebp - 0x254]
call fcn.004088c0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44cd5e
xor eax, eax
push ebp
push 0x44cd57
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44cde4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44cd40
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44cd40
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd5e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44cc61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415290
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cda2
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

Function at 0x44d6d0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x453bb0]
cmp byte [eax + 0xa5], 0
jne 0x44d741
cmp dword [0x453bc8], 0
jne 0x44d702
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d68c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x453bc8], eax
cmp dword [0x453bc4], 0
jne 0x44d71d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x453bc4], eax
cmp dword [0x453bcc], 0
jne 0x44d741
push esp
push 0
push 0
push 0x44d630
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x453bcc], eax
pop edx
ret
Function at 0x44d838
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d84f
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004190a0
mov eax, dword [0x451f44]
cmp word [eax + 2], 0
jne 0x44d877
mov eax, dword [0x451f44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044ef10
mov eax, dword [0x451ff0]
cmp word [eax + 2], 0
jne 0x44d891
mov eax, dword [0x451ff0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f108
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411398]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411398]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b5d4]
call fcn.0042298c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44da18
mov eax, dword [0x451e6c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422d5c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44f6a8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x451e6c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bf88
test eax, eax
je 0x44d986
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004082b4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bfb0
test eax, eax
je 0x44d99a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x451d60]
cmp byte [eax], 0
jne 0x44d9ce
mov eax, ebx
call fcn.0044db40
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044f884
mov eax, ebx
call fcn.00450248
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44da0e
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ddc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453bb0]
cmp dword [eax + 0x30], 0
je 0x44de6a
cmp dword [ebx + 0x94], 0
jne 0x44de64
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dd50
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44de64
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 0x44de2a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44de64
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.00413700
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44de39
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e9cc
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 0x44ea01
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.00403f3c
jmp 0x44ea0e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44fa60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44faa1
mov eax, esi
call fcn.004362e4
test al, al
je 0x44faa1
mov eax, dword [ebx + 0x84]
call fcn.0043600c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44faa1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043600c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4657e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x465805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x465878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x46583a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x46586d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x46586b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x465831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4657fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x432300
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x432322
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x432329
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x432318
mov eax, 1
add ebx, ebx
jne 0x43233b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x432330
jne 0x43234c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x432330
xor ecx, ecx
sub eax, 3
jb 0x432360
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4323d2
mov ebp, eax
add ebx, ebx
jne 0x43236b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x432378
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43239c
inc ecx
add ebx, ebx
jne 0x432388
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43237d
jne 0x432399
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43237d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4323bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4323ad
jmp 0x43231e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4323bc
add edi, ecx
jmp 0x43231e
pop esi
mov edi, esi
mov ecx, 0x5f5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4323da
cmp byte [edi], 7
jne 0x4323da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4323df
lea edi, [esi + 0x30000]
mov eax, dword [edi]
or eax, eax
je 0x43244e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x33648]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x336d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43240c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x336d8]
or eax, eax
je 0x432448
mov dword [ebx], eax
add ebx, 4
jmp 0x432429
call dword [esi + 0x336e8]
mov ebp, dword [esi + 0x336dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x432482
sub esp, 0xffffff80
jmp 0x418bfd
Function at 0x408664
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4352e4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x408681
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4086af
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x40868a
mov dword [ecx*4 + 0x4352e0], eax
inc ecx
cmp ecx, 0x100
jne 0x408683
jmp 0x408675
cmp edx, ebx
je 0x4086c8
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4352e0]
jmp 0x4086af
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x574dee
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00564502
and dword [ebp - 4], 0
cmp dword [0x5f356c], 0
mov ebx, eax
jne 0x574e9f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x574f50
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5c59e8
push edi
call esi
test eax, eax
je 0x574f50
push eax
call fcn.00564490
mov dword [esp], 0x5c59d8
push edi
mov dword [0x5f356c], eax
call esi
push eax
call fcn.00564490
mov dword [esp], 0x5c59c4
push edi
mov dword [0x5f3570], eax
call esi
push eax
call fcn.00564490
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5f3574], eax
call esi
push eax
call fcn.00564490
pop ecx
mov dword [0x5f357c], eax
test eax, eax
je 0x574e9f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00564490
pop ecx
mov dword [0x5f3578], eax
mov eax, dword [0x5f3578]
cmp eax, ebx
je 0x574ef7
cmp dword [0x5f357c], ebx
je 0x574ef7
push eax
call fcn.0056450b
push dword [0x5f357c]
mov esi, eax
call fcn.0056450b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x574ef7
test edi, edi
je 0x574ef7
call esi
test eax, eax
je 0x574eee
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x574eee
test byte [ebp - 0xc], 1
jne 0x574ef7
or dword [ebp + 0x10], 0x200000
jmp 0x574f30
mov eax, dword [0x5f3570]
cmp eax, ebx
je 0x574f30
push eax
call fcn.0056450b
pop ecx
test eax, eax
je 0x574f30
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x574f30
mov eax, dword [0x5f3574]
cmp eax, ebx
je 0x574f30
push eax
call fcn.0056450b
pop ecx
test eax, eax
je 0x574f30
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5f356c]
call fcn.0056450b
pop ecx
test eax, eax
je 0x574f50
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x574f52
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x512400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor ebx, ebx
pushal
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp word [eax], 0x5a4d
jne 0x51245a
cmp word [eax], 0x4550
je 0x512439
cmp eax, dword [ebp - 0x10]
je 0x51245a
inc eax
jmp 0x51242a
add eax, 4
cmp word [eax], 0x8664
jne 0x51244c
mov dword [ebp - 4], 1
jmp 0x51245a
cmp word [eax], 0x14c
jne 0x51245a
mov dword [ebp - 4], 2
popal
mov eax, dword [ebp - 4]
sub eax, 1
jb 0x51246a
je 0x51246e
dec eax
je 0x512472
jmp 0x512474
mov bl, 1
jmp 0x512474
mov bl, 3
jmp 0x512474
mov bl, 4
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x575d42
Capabilities:
Encode data using xor

Disassembly:
dec eax
mov edi, dword [esp + 4]
mov byte [esp + 4], dl
call fcn.00587aea
add al, 0xbd
cmp dword [edi - 0x16], ebp
pop ecx
outsb dx, byte [esi]
xchg edx, eax
mov al, 0xea
pop ebp
pop ebx
nop
or dh, byte [ebp - 0x69]
push esp
cli
mov ah, 0xef
pop esi
dec edx
nop
pop esi
cdq
dec eax
fistp dword [esi - 0x48]
test dword [ebp - 0x5c50c178], esi
jbe 0x575d04
jp 0x575d9c
mov bl, byte [esi - 0x19]
push ds
jns 0x575dc5
add cl, byte [eax - 0x63e71d1e]
push esp
mov byte [ebx - 0x4b], al
push 0xffffffffffffffb9
jne 0x575d6a
sbb byte [esp + edx*2 + 0x6ab54388], bl
mov ecx, 0x5a92de75
xchg edx, eax
pop edx
setge byte [ecx - 0x16]
sub ah, byte [ebx]
mov edx, 0x6bf53239
stc
dec edi
add edi, dword [ecx + 0xb]
jns 0x575da9
sub ah, ch
dec edx
out 0xaf, eax
add byte [ebx + 0x74], bl
xor ch, byte [ecx + ebx*2 + 8]
jp 0x575d9c
or byte [edx - 0x10], bh
jle 0x575d82
invalid
pop ebx
push eax
inc ebx
stosd dword es:[edi], eax
cld
outsd dx, dword [esi]
push ebx
sbb byte [eax + ebx*8 - 0x4c3cea60], bl
js 0x575e1b
sub dword [edx], 0xc9d946da
iretd
ror dl, cl
xchg byte [ebp - 0x79], ah
mov dl, 0x97
aam 0x25
mov ebp, 0x102e3d0a
rol byte [edi + 0xb505fd0], 0xba
jb 0x575e91
or bh, byte [0x87c0102e]
rcr byte [edi + 0x50], 1
adc al, al
xchg eax, edx
pop edi
push eax
or edi, dword [edx - 0x1e0b968e]
sbb eax, 0x73
jg 0x575e6b
hlt
pop ecx
call 0x5a3a7ec8
out 0x3d, eax
js 0x575e11
arpl di, di
mov ebp, 0xeca9f785
push ebp
cmpsd dword [esi], dword es:[edi]
jbe 0x575e92
imul dword [ecx + 0x76a755ec]
dec esi
mov al, 0
push dword [0xefb46373]
dec ebp
and eax, dword [bx - 0x4be]
pushfd
mov byte [ebx + ecx*8 + 0x54], bl
pushfd
mov al, 0xe9
cmp byte [eax - 0x56], 0xe1
pop ebx
les esp, [ebp + ebp*2 + 0x3a49e448]
enter 0x740b, 0x11
retf
and byte [bx + di + 0x24], dl
fdivr qword [ebx]
mov bl, 0xf7
outsd dx, dword [esi]
sbb dword [0x11accae5], ebp
and eax, 0x68ecfb44
jge 0x575e4c
or esi, 0x6a
sal dword [ecx + 0x58], 1
scasb al, byte es:[edi]
cmpsb byte [esi], byte es:[edi]
imul ebx, dword [esi - 0x52409cff], 0x8e1d67e3
jg 0x575e1d
jecxz 0x575efa
sbb eax, 0xf8867f8e
sbb eax, 0xf8867f8e
clc
jmp 0x575ea3
je 0x575ead
into
imul ebp, dword [ecx], 0x29
xchg edx, eax
pop ss
lodsd eax, dword [esi]
jns 0x575e3d
dec edi
push ebp
arpl word [esi + 0x1a4d1a5f], cx
rol byte [edx + 0x67cb3dc7], 1
mov byte [0xa2eb86f4], al
clc
add bx, 0x5de0
or eax, 0x408cb55
or dword [ebx - 9], eax
or byte [ebx + ebx*2 + 0x2fc885fa], ah
push es
aam 0x8a
fnstsw word [edi - 0x43f9a80c]
and cl, byte [ecx]
shr byte [ebp - 0x5dbcc46e], 0x15
test dword [edx], 0xc9aea8b8
sbb dl, al
add bh, 0x3d
retf
push edi
push es
mov esp, 0xadc00922
xchg edx, eax
cmp eax, dword [ebx - 0x5e]
adc eax, 0xa8b80af7
scasb al, byte es:[edi]
leave
cmpsd dword [esi], dword es:[edi]
jp 0x575e9a
test byte [ecx - 0x6f], dh
int1
test cl, al
jl 0x575ed4
cmp edi, ecx
paddusw mm3, mm1
inc ecx
mov dh, 0xf6
outsd dx, dword [esi]
movsd dword es:[edi], dword [esi]
invalid