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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4520e4]
cmp byte [eax + 0xc], 0
je 0x43aac5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43aabe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x453af8], 0
jne 0x43a9ac
push 0x43aacc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43aad4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453af8], eax
cmp dword [0x451af0], 0
jne 0x43aaa7
push 0x43aae4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x451af0], eax
cmp dword [0x451af0], 0
je 0x43aaa7
push 0x43aaf0
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453afc], eax
push 0x43ab00
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b00], eax
push 0x43ab14
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b04], eax
push 0x43ab2c
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b08], eax
push 0x43ab44
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b0c], eax
push 0x43ab58
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b10], eax
push 0x43ab70
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b14], eax
push 0x43ab88
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b18], eax
push 0x43aba4
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b1c], eax
push 0x43abb0
mov eax, dword [0x451af0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aac5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e978
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.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e9c7
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.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446198
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4461e8]
test si, 4
je 0x4461ac
or bl, 1
test si, 8
je 0x4461b6
or bl, 4
test si, 1
je 0x4461c0
or bl, 8
test si, 2
je 0x4461ca
or bl, 0x10
test si, 0x10
je 0x4461d4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4461e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4461ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446224]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446205
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446214
or bl, 4
test esi, 0x20000000
je 0x44621f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c8e8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c8fa
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004196dc
mov eax, dword [0x451ddc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44cc8c
mov eax, dword [0x451de8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44cc98
mov eax, ebx
call fcn.0044cca4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4118f4]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4118f4]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4118f4]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4118f4]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4118f4]
call fcn.0040343c
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, 0x4490bc
push eax
push 0
push 0
mov eax, dword [0x451f18]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b104]
call fcn.0041c56c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b104]
call fcn.0041c56c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b104]
call fcn.0041c56c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d0f4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cfbc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cfbc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cfbc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ca37
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44cda0
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 0x44cf4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44cf2c
mov dl, 1
mov eax, dword [0x411d10]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44cf1b
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.0043acb8
test al, al
je 0x44cf0e
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, 0x44cf5c
lea eax, [ebp - 0x254]
call fcn.00408cac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44cf0e
xor eax, eax
push ebp
push 0x44cf07
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 0x44cf94
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44cef0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
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 0x44cef0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cf0e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ce11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415874
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 0x44cf52
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

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

Disassembly:
push ecx
mov eax, dword [0x453b44]
cmp byte [eax + 0xa5], 0
jne 0x44d905
cmp dword [0x453b5c], 0
jne 0x44d8c6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d850
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x453b5c], eax
cmp dword [0x453b58], 0
jne 0x44d8e1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x453b58], eax
cmp dword [0x453b60], 0
jne 0x44d905
push esp
push 0
push 0
push 0x44d7f4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x453b60], eax
pop edx
ret
Function at 0x44df98
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453b44]
cmp dword [eax + 0x30], 0
je 0x44e042
cmp dword [ebx + 0x94], 0
jne 0x44e03c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44df28
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e03c
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 0x44e002
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e03c
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.00413c70
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e011
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44eba0
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 0x44ebd5
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.004042d0
jmp 0x44ebe2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44fcf4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44fd35
mov eax, esi
call fcn.00436294
test al, al
je 0x44fd35
mov eax, dword [ebx + 0x84]
call fcn.00435f90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fd35
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435f90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x49a236
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov ebp, 0x611eef2
out dx, al
adc dword [esi], eax
pop ss
cli
popal
cli
dec ebx
jnp 0x49a25c
fsubr st(1), st(0)
dec eax
inc esi
and byte [ebp - 0x58], dl
dec eax
dec edi
dec edi
imul ebx, edx, 0xffffffde
jo 0x49a234
mov dl, byte [0x7b074fd8]
lcall 0x8bc4, 0x6681f874
arpl bx, bx
ljmp 0xbea5

Function at 0x607746
Capabilities:
Encode data using xor

Disassembly:
lahf
xor eax, 0xaa550e8a
das
and eax, 0x5fd6c0d8
invalid

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 0x428190
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
jmp 0x4281aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4281b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4281a0
mov eax, 1
add ebx, ebx
jne 0x4281c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4281b8
jne 0x4281d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4281b8
xor ecx, ecx
sub eax, 3
jb 0x4281e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42825a
mov ebp, eax
add ebx, ebx
jne 0x4281f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428200
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428224
inc ecx
add ebx, ebx
jne 0x428210
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428205
jne 0x428221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428205
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428244
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428235
jmp 0x4281a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428244
add edi, ecx
jmp 0x4281a6
pop esi
mov edi, esi
mov ecx, 0xe3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428262
cmp byte [edi], 0
jne 0x428262
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 0x428267
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4282d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x286b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28708]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428294
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2870c]
or eax, eax
je 0x4282d0
mov dword [ebx], eax
add ebx, 4
jmp 0x4282b1
call dword [esi + 0x2871c]
mov ebp, dword [esi + 0x28710]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x42830a
sub esp, 0xffffff80
jmp 0x403051

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x73391148
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x48a575c9
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40d15a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407e6b
mov dword [ebp - 0x14], eax
cmp dword [0x813f3c], esi
jne 0x40d24d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d1da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d32d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d32d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d32d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813f3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813f40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813f44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813f4c], eax
test eax, eax
je 0x40d24a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813f48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d272
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d265
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d287
push 4
pop eax
jmp 0x40d32f
cmp dword [ebp - 0x14], esi
je 0x40d287
push dword [0x813f3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d26c
mov eax, dword [0x813f48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d2e5
cmp dword [0x813f4c], edi
je 0x40d2e5
push eax
call ebx
push dword [0x813f4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d2e5
test eax, eax
je 0x40d2e5
call ecx
test eax, eax
je 0x40d2da
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d2da
test byte [ebp - 8], 1
jne 0x40d2e5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d315
mov eax, dword [0x813f40]
cmp eax, edi
je 0x40d312
push eax
call ebx
test eax, eax
je 0x40d312
call eax
mov esi, eax
test esi, esi
je 0x40d312
mov eax, dword [0x813f44]
cmp eax, edi
je 0x40d312
push eax
call ebx
test eax, eax
je 0x40d312
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813f3c]
call ebx
test eax, eax
je 0x40d32d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d32f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004043b8
mov esp, ebp
pop ebp
ret
Function at 0x4028f0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x513bc4]
sub esp, 0x1c
push ebx
push esi
push edi
test ecx, ecx
jne 0x4029e6
mov eax, dword fs:[0x30]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0x694a8c81
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
test ebx, ebx
je 0x40295b
add eax, 0xfffffff8
mov edx, 0x811c9dc5
movzx eax, ax
shr eax, 1
lea esi, [ecx + eax*2]
cmp ecx, esi
je 0x402957
movsx eax, byte [ecx]
add ecx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jne 0x402945
cmp edx, ebx
jne 0x4029c4
mov ebx, dword [edi + 0x18]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
mov dword [ebp - 0x18], eax
lea eax, [ecx + ebx]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4029c1
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4029c1
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, ebx
mov eax, dword [edi - 4]
lea edi, [edi - 4]
add eax, ebx
dec esi
mov edx, 0x811c9dc5
mov cl, byte [eax]
inc eax
test cl, cl
je 0x4029b5
nop word [eax + eax]
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x4029a0
cmp edx, dword [ebp - 8]
je 0x4029f8
test esi, esi
jne 0x402985
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov eax, dword [edi]
mov edi, eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x10]
je 0x4029da
cmp dword [edi + 0x18], 0
jne 0x402927
xor ecx, ecx
mov dword [0x513bc4], ecx
test ecx, ecx
je 0x4029f1
call ecx
test eax, eax
je 0x4029f1
call fcn.00401f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + ebx]
add ecx, ebx
cmp ecx, edx
jbe 0x4029dc
mov eax, dword [ebp - 0x18]
add eax, edx
cmp ecx, eax
jae 0x4029dc
mov edi, dword [ebp - 0x10]
mov ebx, 0x811c9dc5
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
jmp 0x4029c4
Function at 0x402a30
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x510140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x513be4]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
push ebx
push esi
push edi
test eax, eax
jne 0x402af1
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x10], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0xc], ecx
cmp ecx, edx
je 0x402ac9
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x402ac9
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
nop dword [eax + eax]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x402ac2
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x402aa5
cmp esi, 0x4cfe97c1
je 0x402acd
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x402a90
mov eax, dword [eax]
jmp 0x402a66
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
mov dword [ebp - 0xc], ecx
mov dword [0x513be4], ecx
mov eax, dword [0x513bcc]
test eax, eax
jne 0x402b98
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop word [eax + eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x10], ecx
cmp ecx, esi
je 0x402b74
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x402b74
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x402b6d
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x402b50
cmp esi, 0x6dd8a845
je 0x402b78
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x402b35
mov eax, dword [eax]
jmp 0x402b10
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x513bcc], eax
call eax
lea ecx, [ebp - 8]
push ecx
push eax
call dword [ebp - 0xc]
cmp dword [ebp - 8], 0
pop edi
pop esi
pop ebx
je 0x402bb0
call fcn.00401f70
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1871
mov esp, ebp
pop ebp
ret