joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4408b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x493723
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00486df7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048c490
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048d9ac
test eax, eax
je 0x4409cc
mov ecx, dword [esp + 0x3c]
call fcn.0048c4bd
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x440990
push edi
mov ecx, esi
call fcn.00489b26
mov ecx, esi
call fcn.00440b30
cmp dword [esp + 0x38], 1
jne 0x4409c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00489c61
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x443400
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443433
push esi
call fcn.00446500
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44342c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4434b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4434a2
mov eax, dword [esi + 8]
test eax, eax
je 0x443457
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44349e
cmp eax, 2
je 0x4434a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44344a
cmp eax, 3
je 0x44347d
cmp eax, 1
jne 0x44344a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44344a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44344a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004434e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4434c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004434e0
add esp, 4
pop esi
ret

Function at 0x44f050
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44f0f3
test eax, eax
jbe 0x44f0f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44f0f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44f09e
xor esi, esi
jmp 0x44f0a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44f0cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00408480
add esi, eax
push esi
mov ebx, esi
call fcn.00408480
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44f0b0
pop ebp
test edi, edi
pop edi
jne 0x44f0f3
test ebx, ebx
je 0x44f0f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00475f50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44f235
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44f34d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44f34d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00487249
mov esi, eax
test esi, esi
je 0x44f34d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44f34d
mov ecx, esi
call fcn.0044f1a0
cmp edi, eax
jge 0x44f34d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44f2d3
mov dword [esp + 0x34], 1
jmp 0x44f32e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44f34d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044e740
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x457d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x457d5c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x457d5c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x457d46
push eax
call ebp
test ax, ax
jl 0x457d54
inc esi
add edi, 4
cmp esi, 6
jb 0x457d38
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00457a10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45ba10
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x45ba70
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x45ba70
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x45ba70
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x45ba70
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x45ba80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x460020
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7c2388]
xor edx, edx
cmp eax, edx
jne 0x460046
xor eax, eax
mov byte [eax + 0x7c2288], al
inc eax
cmp eax, 0x100
jl 0x46002e
mov dword [0x7c2388], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7c2288
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4600d7
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 0x4600aa
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 0x460078
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x460150
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 0x4601a3
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 0x46018a
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 0x466b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49446e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00467460
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x773c2c
call fcn.0048558a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x466bd3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048558a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x466bcc
push 0
mov ecx, eax
call fcn.0045dc50
mov dword [esi + 0xc], eax
jmp 0x466bd5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x466bd5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x487bed
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x487c25
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00485ca4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00485c7c
jmp 0x487c31
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4892e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x489325
call fcn.0048ef22
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x489325
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48931c
xor eax, eax
jmp 0x48932d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00489333
pop edi
pop esi
pop ebx
ret 4

Function at 0x48f452
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48f480
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48f49e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f3b8
jmp 0x48f49e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48f49e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f3b8
test edi, edi
mov eax, edi
jne 0x48f488
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x406fa0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebx, ebx
sub esp, 0x24
dec ecx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
push edi
and byte [ebp - 6], dh
jne 0x406fba
mov esi, str.0.0.0.0
mov al, byte [esi]
cmp al, 0xbb
or dword [edx], edx
mov ecx, 0x41c20063
pop esi
jg 0x40707d
push 0x3d406a60
iretd
out dx, eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp eax, ebx
imul eax, dword [ebp + 0xc], 0x75
test dword [ebx - 0x1a53f0cb], ecx
add bh, bh
salc
invalid

Function at 0x40b590
Capabilities:
Terminate process

Disassembly:
push edi
push ebp
push ebx
xor edi, edi
mov eax, dword [esp + 0x14]
fld st(0)
jge 0x40b616
inc edi
jae 0x40b5c3
adc bh, dh
fdivr dword [edx]
mov dl, 0x83
fadd dword [eax]
mov dword [esp + 0x14], eax
mov esi, esi
and al, 0x71
mov eax, dword [esi + eax*8 + 0x5d]
or eax, eax
sbb eax, 0x248f8b1e
sbb byte [esi], al
fdiv st(7)
ficomp dword [eax + ebx*8 - 0x24bb7700]
sbb al, 0x89
add esp, dword [eax + ebp*2]
fadd dword [eax]
mov dword [ebx + ebx*8 + 0x1c], eax
mov dword [ebx], eax
and al, 0x68
or eax, eax
js 0x40b5e9
cmpsd dword [esi], dword es:[edi]
push ecx
and al, 0x18
mov eax, dword [esp + 0x14]
ret
mov ebx, eax
mov esi, dword [eax + 0x24]
sbb byte [ebx - 0x74ebdbac], cl
inc esp
and al, 0xaa
mov eax, 0xd1d9d1eb
ljmp 0xf475
push cs
jl 0x40b66d
and al, 0x14
ja 0x40b625
jb 0x40b626
pushfd
push ds
and al, 0x10
jbe 0x40b626
dec esi
xor edx, edx
leave
invalid
or dword [0x414054], 0xffffffff
adc ebp, 0x58
inc eax
inc ecx
add bh, bh
call dword [ecx + sym.imp.MSVCRT.dll___p__fmode]
mov ebx, 0x410b980d
add byte [ecx - 0x27c132f8], cl
test byte [ecx], 0x8b
or eax, 0x410b94
mov edx, 0xc0dcba08
inc eax
add byte [ebx + 0x4050a300], cl
and dword [edx - 0x18], 0xffffff9f
add al, byte [eax]
add byte [esi + edx*8], al
push eax
add al, byte [ecx]
add ch, dl
or al, 0x68
inc esp
test byte [eax - 0x14], al
inc ebx
loopne 0x40b726
inc eax
add byte [ecx - 0x18], bl
jo 0x40b6ce
add byte [eax], al
push 0x40d00c
push 0x40d008
call 0xa0052c
mov eax, dword [0xd7419d90]
dec esi
pop edi
add byte [ecx - 0x28be6270], ah
cld
inc ebp
fmul dword [ebp - 0xd8cbbb]
xor eax, 0x940b71
pop eax
scasd eax, dword es:[edi]
loopne 0x40b737
lea eax, [ebp - 0x2c]
push eax
aam 0x50
aas
inc ebp
mov byte [eax - 1], dl
adc eax, 0x7416c0e8
push 0x40d004
push 0x40d800
call 0xac40b92c
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp + 0x2c]
mov dword [eax], ecx
push dword [ebp - 0x20]
fdiv dword [ebp - 0x2c]
call dword [ecx]
in al, 0xe8
or byte [eax - 1], bl
inc dword [ebx + 0x37f130c4]
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
jo 0x40b6e9
inc eax
add byte [ebx + 0x88b4045], cl
mov edx, dword [edi + 0x8d0a544]
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
jmp 0x40b73a
add byte [ecx + 0x59], bl
ret
Function at 0x40b4c3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
mov edi, eax
mov dword [ebp - 0xc], ebx
mov byte [ebp - 5], 1
mov dword [ebp - 0x10], ebx
cmp dword [edi + 4], ebx
jne 0x40b4e6
xor al, al
jmp 0x40b66b
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov byte [eax], bl
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
mov dword [esi], ebx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00403f7b
movzx eax, word [eax]
cmp eax, 0x2b
je 0x40b525
cmp eax, 0x5e
je 0x40b520
cmp eax, 0x21
je 0x40b520
cmp eax, 0x23
jne 0x40b54e
cmp eax, 0x2b
jne 0x40b52a
mov eax, dword [ebp + 0xc]
jmp 0x40b546
cmp eax, 0x5e
jne 0x40b534
mov eax, dword [ebp + 0x10]
jmp 0x40b546
cmp eax, 0x21
jne 0x40b53e
mov eax, dword [ebp + 0x14]
jmp 0x40b546
cmp eax, 0x23
jne 0x40b549
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
inc dword [ebp - 0xc]
jmp 0x40b4ff
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov eax, edi
call fcn.00403f7b
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x40b628
push 0x40
pop eax
lea esi, [ebp - 0x20]
call fcn.0040414e
push edi
push 0x7d
lea edi, [ebp - 0xc]
mov eax, esi
call fcn.0040b305
test al, al
je 0x40b60a
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
push dword [esi*4 + 0x47b968]
call fcn.0045553b
pop ecx
pop ecx
test eax, eax
je 0x40b5a8
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x62
jl 0x40b587
cmp esi, 0x62
jne 0x40b602
xor edi, edi
lea eax, [ebp - 0x20]
call fcn.0040202d
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov ecx, dword [ebp + 8]
cwde
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x40b5d9
lea ecx, [ebp - 0x20]
call fcn.00401a04
jmp 0x40b4df
test eax, 0x200
je 0x40b5e6
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
test eax, 0x400
je 0x40b5f3
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
test eax, 0x100
je 0x40b61b
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x40b61b
cmp byte [esi + 0x47baf0], bl
je 0x40b60f
mov byte [ebp - 5], bl
jmp 0x40b61b
movzx eax, byte [esi + 0x47bb58]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x20]
call fcn.00401a04
mov esi, dword [ebp + 8]
jmp 0x40b662
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40b4df
test eax, 0x200
je 0x40b648
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
test eax, 0x400
je 0x40b655
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
test eax, 0x100
je 0x40b662
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
and dword [esi], 0xff
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x45e2a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479d40]
jne 0x45e2aa
repz ret
jmp fcn.004663a6

Function at 0x46453c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045b92c
and dword [ebp - 0x14], 0
cmp dword [0x480034], 0
mov dword [ebp - 0x18], eax
jne 0x4645ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x464697
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46d490
push ebx
call edi
test eax, eax
je 0x464697
mov esi, dword [int.00479000]
push eax
call esi
push 0x46d480
push ebx
mov dword [0x480034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x480038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48003c], eax
call edi
push eax
call esi
mov dword [0x480044], eax
test eax, eax
je 0x4645ef
push 0x46d438
push ebx
call edi
push eax
call esi
mov dword [0x480040], eax
mov eax, dword [0x480040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [int.00479004]
cmp eax, ecx
je 0x464648
cmp dword [0x480044], ecx
je 0x464648
push eax
call esi
push dword [0x480044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x464648
test ebx, ebx
je 0x464648
call edi
test eax, eax
je 0x46463f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46463f
test byte [ebp - 8], 1
jne 0x464648
or dword [ebp + 0x10], 0x200000
jmp 0x46467b
mov eax, dword [0x480038]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46467b
mov eax, dword [0x48003c]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x480034]
call esi
test eax, eax
je 0x464697
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x464699
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e2a0
leave
ret

Function at 0x401a09
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.00401641
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x401690
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4016b6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40174a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401705
cmp eax, 0x40
je 0x401705
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4016a9
cmp eax, 0x40
je 0x4016a9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x4016a9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]