joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], edx
push esi
push edi
test ecx, ecx
je 0x44552b
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x44552b
cmp esi, 0x40
jb 0x44552b
movups xmm0, xmmword [ecx + 0x10]
mov edx, 0x5a4d
movups xmm1, xmmword [ecx]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [ecx + 0x20]
movd eax, xmm1
movups xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x20], xmm1
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esp + 0x50], xmm0
cmp ax, dx
jne 0x44552b
mov edx, dword [esp + 0x5c]
lea eax, [edx + 0xf8]
cmp esi, eax
jb 0x44552b
lea eax, [edx + ecx]
mov ecx, 0x3e
mov esi, eax
mov dword [esp + 0x18], eax
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x68], 0x4550
jne 0x44552b
mov eax, 0xe0
cmp word [esp + 0x7c], ax
jne 0x44552b
mov eax, dword [esp + 0x6c]
shr eax, 0x10
lea ecx, [eax + eax*4]
shl ecx, 3
lea eax, [edx + 0xf8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x44552b
push ecx
call fcn.00462558
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x44552b
movzx edi, word [esp + 0x6e]
mov dword [esp + 0x14], edi
lea esi, [edi + edi*4]
shl esi, 3
push esi
push 0
push eax
call fcn.004534f0
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 0xf8
push esi
push eax
push dword [esp + 0x18]
call fcn.004529f0
mov esi, dword [esp + 0xc8]
xor edx, edx
mov ecx, dword [esp + 0xac]
mov eax, esi
div ecx
add esp, 0xc
test edx, edx
je 0x44548d
lea esi, [eax + 1]
imul esi, ecx
test edi, edi
je 0x4454c2
mov edi, dword [esp + 0x10]
add edi, 8
mov ecx, dword [edi]
test ecx, ecx
je 0x4454b8
xor edx, edx
mov eax, ecx
div dword [esp + 0xa0]
test edx, edx
je 0x4454b6
sub ecx, edx
add ecx, dword [esp + 0xa0]
add esi, ecx
add edi, 0x28
sub dword [esp + 0x14], 1
jne 0x445498
push 0x40
push 0x1000
push esi
push 0
call dword [0x47b110]
mov edi, eax
test edi, edi
jne 0x4454e1
lea eax, [edi + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x68]
push edi
push dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00444df0
add esp, 0x10
test eax, eax
jne 0x445509
mov eax, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push esi
push edi
push ecx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00444fb0
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44c250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov eax, edx
mov ebx, ecx
xor cl, cl
mov dword [ebp - 0x14], eax
mov byte [ebp - 1], cl
test eax, eax
je 0x44c42c
test ebx, ebx
je 0x44c42c
push esi
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44c280
sub esi, ecx
sar esi, 1
push edi
lea eax, [esi*2 + 2]
push eax
call fcn.00450fed
mov edi, eax
add esp, 4
test edi, edi
je 0x44c422
lea eax, [esi*2 + 2]
push eax
push 0
push edi
call fcn.004534f0
add esp, 0xc
lea eax, [esi*2 + 1]
push 0
push 0
push eax
push edi
push esi
push ebx
push 0
push 0
call dword [0x47b098]
mov ebx, edi
lea ecx, [ebx + 1]
nop dword [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x44c2e0
sub ebx, ecx
mov ecx, 0
je 0x44c35f
cmp ebx, 0x40
jb 0x44c353
movsx eax, bl
mov edx, ebx
and edx, 0xffffffc0
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
nop
movups xmm0, xmmword [edi + ecx]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + ecx], xmm1
movups xmm0, xmmword [edi + ecx + 0x10]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [edi + ecx + 0x10], xmm0
movups xmm0, xmmword [edi + ecx + 0x20]
pxor xmm0, xmm2
movups xmmword [edi + ecx + 0x20], xmm0
movups xmm0, xmmword [edi + ecx + 0x30]
pxor xmm1, xmm0
movups xmmword [edi + ecx + 0x30], xmm1
add ecx, 0x40
cmp ecx, edx
jb 0x44c310
cmp ecx, ebx
jae 0x44c35f
xor byte [ecx + edi], bl
inc ecx
cmp ecx, ebx
jb 0x44c357
lea eax, [ebx + ebx]
mov dword [ebp - 0x10], eax
inc eax
push eax
mov dword [ebp - 0xc], eax
call fcn.00450fed
mov esi, eax
add esp, 4
test esi, esi
je 0x44c40e
push dword [ebp - 0xc]
push 0
push esi
call fcn.004534f0
lea eax, [ebx + ebx]
push eax
push 0
push esi
call fcn.004534f0
xor ecx, ecx
add esp, 0x18
mov dword [ebp - 0xc], ecx
test ebx, ebx
je 0x44c3f2
nop
movzx ecx, byte [ecx + edi]
xor eax, eax
mov word [ebp - 8], ax
mov byte [ebp - 6], al
mov eax, ecx
and eax, 0xf
shr ecx, 4
movsx eax, byte [eax + 0x488b30]
push eax
movsx eax, byte [ecx + 0x488b30]
push eax
push 0x489690
lea eax, [ebp - 8]
push 3
push eax
call fcn.0042e980
mov ecx, dword [ebp - 0xc]
add esp, 0x14
movzx eax, byte [ebp - 8]
mov byte [esi + ecx*2], al
movzx eax, byte [ebp - 7]
mov byte [esi + ecx*2 + 1], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, ebx
jb 0x44c3a0
mov eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push eax
push esi
push 0
push 0
call dword [0x47b08c]
push esi
call fcn.00450faa
add esp, 4
push edi
mov bl, 1
call fcn.00450faa
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46aab3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046a776

Function at 0x46aabe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046a8f7
Function at 0x4028ac
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028db
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004036f0
jmp 0x4028f9
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004027dc
mov edi, eax
test ebx, ebx
je 0x4028f9
cmp dword [esi], 0
je 0x4028f9
dec ebx
jmp 0x4028e2
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402af0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x44d030], 0x8088405
inc edx
mov dword [0x44d030], edx
mul edx
mov eax, edx
ret

Function at 0x4035c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040264c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x44d036], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40358c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4044ec
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x404548
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x40453a
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x40452f
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x40452a
mov eax, 0x64
jmp 0x40453f
call sub.kernel32.dll_GetLastError
call fcn.0040272c
xor eax, eax
jmp 0x40452a
mov eax, 0x67
jmp 0x40453f

Function at 0x404550
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x4045ab
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_WriteFile
dec eax
pop eax
pop ecx
jne 0x40459d
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x404592
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x40458d
mov eax, 0x65
jmp 0x4045a2
call sub.kernel32.dll_GetLastError
call fcn.0040272c
xor eax, eax
jmp 0x40458d
mov eax, 0x67
jmp 0x4045a2

Function at 0x4045f0
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x404633
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x40462a
push eax
push 1
push 0
push 0
push dword [ebx]
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x40462a
pop edx
cmp eax, edx
setae al
pop ebx
ret
call fcn.0040273c
mov al, 1
jmp 0x404628
mov eax, 0x67
call fcn.0040272c
mov al, 0xff
jmp 0x404628
Function at 0x404678
Capabilities:
Delete file

Disassembly:
mov edx, dword [eax + 4]
sub edx, 0xd7b0
cmp edx, 3
ja 0x40469f
lea eax, [eax + 0x48]
push eax
call sub.kernel32.dll_DeleteFileA
dec eax
jne 0x404693
ret
call sub.kernel32.dll_GetLastError
call fcn.0040272c
jmp 0x404692
mov eax, 0x66
jmp 0x404698

Function at 0x4046ec
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x40471c
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x404712
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.0040273c
or eax, 0xffffffff
jmp 0x404710
mov eax, 0x67
call fcn.0040272c
or eax, 0xffffffff
jmp 0x404710

Function at 0x406554
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00403948
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x406576
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x407a98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x407ad1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004036f0
jmp 0x407ada
mov eax, ebx
mov edx, esi
call fcn.004036a4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407ae4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x407b05
mov al, byte [esp]
jmp 0x407b07
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x411138
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.00403610
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x411199
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x411199
cmp byte [ebp - 0x102], 0
je 0x411199
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0040376c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4123d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x412459
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41240a
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41241c
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x412428
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004122b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41244d
push ebp
mov eax, dword [ebp - 4]
call fcn.0041234c
pop ecx
mov ebx, eax
cmp bl, 2
je 0x412428
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419c9c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x419ca2
ret
Function at 0x420738
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x44d658
cmp dword [edi], 0
jne 0x4207b4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x44d654]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44a5c0
mov ecx, 2
call fcn.0040279c
mov edx, 0x420710
lea eax, [esi + 5]
call fcn.00420730
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420730
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x420789
mov dword [0x44d654], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4208b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x420908]
test si, 4
je 0x4208cc
or bl, 1
test si, 8
je 0x4208d6
or bl, 4
test si, 1
je 0x4208e0
or bl, 8
test si, 2
je 0x4208ea
or bl, 0x10
test si, 0x10
je 0x4208f4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x420903
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42090c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x420944]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x420925
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x420934
or bl, 4
test esi, 0x20000000
je 0x42093f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

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

Disassembly:
push ecx
mov eax, dword [0x44d630]
cmp byte [eax + 0x7f], 0
jne 0x42492b
cmp dword [0x44d65c], 0
jne 0x424907
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x424894
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44d65c], eax
cmp dword [0x44d660], 0
jne 0x42492b
push esp
push 0
push 0
push 0x424844
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x44d660], eax
pop edx
ret

Function at 0x424930
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x44d65c], 0
je 0x424944
mov eax, dword [0x44d65c]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x44d65c], eax
cmp dword [0x44d660], 0
je 0x424961
push 0
mov eax, dword [0x44d660]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
mov dword [0x44d660], eax
ret
Function at 0x424a00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x424a17
add esp, 0xfffffff0
call fcn.00402ebc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f554
mov dl, 1
mov eax, 0x4098cc
call fcn.00402cbc
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x4098cc
call fcn.00402cbc
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x419b94
call fcn.0041ed84
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x424b58
mov eax, dword [0x44d014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041f110
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x425e28
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44d014]
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.004069c8
test eax, eax
je 0x424af4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00406874
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004069a8
test eax, eax
je 0x424b08
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.0040376c
cmp byte [0x44d034], 0
jne 0x424b38
mov eax, ebx
call fcn.00424be8
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x424b50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4255f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7e], 0
je 0x425622
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004036f0
jmp 0x42562c
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.004036a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x426000
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x426038
mov eax, esi
call fcn.004183f8
test al, al
je 0x426038
mov eax, dword [ebx + 0x60]
call fcn.00418260
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x426038
push 0
mov eax, dword [ebx + 0x60]
call fcn.00418260
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x42da78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403948
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x42dacf
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, 0xf0bd
mov dl, 1
mov eax, 0x42d760
call fcn.004081ac
call fcn.004032a8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042d804
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4366d0
Capabilities:
Get common file path
Get session user name

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, ecx
mov edi, edx
mov esi, eax
mov eax, ebx
mov edx, 0x436878
call fcn.004036a4
mov eax, edi
call fcn.0042cb78
and eax, 0xff
cmp eax, 0xd
ja case.0x436700.0
jmp dword [eax*4 + 0x436707]
mov eax, ebx
mov edx, dword [esi + 0x1dc]
call fcn.004036a4
jmp case.0x436700.0
mov edx, ebx
mov eax, dword [esi + 0x200]
call fcn.0040629c
jmp case.0x436700.0
mov edx, ebx
mov eax, dword [esi + 0x1d4]
call fcn.00406710
jmp case.0x436700.0
mov edx, ebx
mov eax, dword [esi + 0x1ac]
mov eax, dword [eax + 0x30]
call fcn.0040629c
jmp case.0x436700.0
mov edx, ebx
mov eax, esi
call fcn.00414b7c
jmp case.0x436700.0
mov edx, ebx
mov eax, dword [esi + 0x1ac]
mov eax, dword [eax + 0x2c]
call fcn.0040629c
jmp case.0x436700.0
mov edx, ebx
mov eax, dword [0x44bf40]
call fcn.0040629c
jmp case.0x436700.0
mov eax, dword [0x44d634]
call fcn.00424514
mov edx, ebx
call fcn.0040629c
jmp case.0x436700.0
mov eax, dword [0x44d634]
call fcn.0042451c
mov edx, ebx
call fcn.0040629c
jmp case.0x436700.0
push 0xff
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jle case.0x436700.0
mov edx, ebx
lea eax, [esp + 4]
call fcn.004069ec
jmp case.0x436700.0
mov eax, ebx
mov edx, dword [esi + 0x1d8]
call fcn.004036a4
jmp case.0x436700.0
mov dword [esp], 0xff
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x436839
mov edx, ebx
lea eax, [esp + 4]
call fcn.004069ec
jmp case.0x436700.0
mov eax, ebx
mov edx, 0x436888
call fcn.004036a4
jmp case.0x436700.0
push 0xff
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jle case.0x436700.0
mov edx, ebx
lea eax, [esp + 4]
call fcn.004069ec
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x436afc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x24], eax
mov esi, dword [ebp + 8]
add esi, 0xffffffdc
xor eax, eax
push ebp
push 0x436c20
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x1ac]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [ebx + 0x24]
call fcn.0040a0b0
lea edx, [ebp - 0x10]
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00414824
mov eax, dword [esi + 0xc]
call fcn.00447f74
push eax
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 0x10]
call fcn.004410b8
push eax
mov eax, dword [esi + 0x14]
call fcn.00447f74
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x1ac]
mov eax, dword [ebx + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040a0e4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 4]
call fcn.00447f74
push eax
mov eax, dword [esi]
call fcn.00447f74
mov edx, eax
pop ecx
pop eax
call fcn.0042fd64
test al, al
jne 0x436c0a
mov eax, dword [ebp + 8]
push eax
mov edx, 0x436c38
lea eax, [ebp - 0x24]
call fcn.004036a4
lea eax, [ebp - 0x24]
mov edx, dword [esi + 8]
call fcn.0040378c
lea eax, [ebp - 0x24]
mov edx, 0x436c38
call fcn.0040378c
lea eax, [ebp - 0x24]
mov edx, 0x436c44
call fcn.0040378c
lea eax, [ebp - 0x24]
mov edx, 0x436c44
call fcn.0040378c
lea eax, [ebp - 0x24]
mov edx, 0x436c50
call fcn.0040378c
mov eax, dword [ebp - 0x24]
call fcn.004368c8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436c27
lea eax, [ebp - 0x24]
call fcn.00403610
ret

Function at 0x43aa80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ab36
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.004069ec
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 4]
mov edx, 0x43ab4c
call fcn.00448218
mov eax, dword [ebp - 4]
call fcn.00403948
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x43ab15
push 0x43ab54
push ebx
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x43ab0f
push 0
push 0
mov edx, dword [0x44a1cc]
push edx
push 0x43ab68
call eax
push ebx
call sub.kernel32.dll_FreeLibrary
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ab3d
lea eax, [ebp - 0x10c]
call fcn.00403610
lea eax, [ebp - 4]
call fcn.00403610
ret
Function at 0x43ab70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43ac91
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov dl, 1
mov eax, 0x42d7a8
call fcn.0042d82c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43ac69
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.0042d8bc
xor ecx, ecx
mov edx, 0x43acac
mov eax, dword [ebp - 8]
call fcn.0042d920
test al, al
je 0x43ac53
mov edx, 0x43accc
mov eax, dword [ebp - 8]
call fcn.0042da48
test eax, eax
je 0x43ac53
push 0xff
lea eax, [ebp - 0x10d]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10d]
call fcn.004069ec
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0xc]
mov edx, 0x43acec
call fcn.00448218
mov eax, dword [ebp - 0xc]
call fcn.00403948
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x43ac53
push 0x43acfc
push ebx
call sub.kernel32.dll_GetProcAddress
mov esi, eax
mov eax, dword [0x44d688]
call fcn.00418260
push eax
call esi
mov byte [ebp - 1], al
push ebx
call sub.kernel32.dll_FreeLibrary
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ac70
mov eax, dword [ebp - 8]
call fcn.00402ce4
ret