joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434958
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4349a4
mov eax, esi
call fcn.0044a460
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4349a4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4349a4
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x434ae8
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4349e4
cmp eax, 0x108
ja 0x4349e4
mov eax, esi
call fcn.0044a460
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434adf
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x434ae8
jmp 0x434adf
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x434ac6
cmp eax, 0x20a
ja 0x434ac6
test byte [esi + 0x50], 0x80
jne 0x434a16
sub eax, 0x203
je 0x434a13
sub eax, 3
je 0x434a13
sub eax, 3
jne 0x434a16
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x434a2a
dec eax
je 0x434a3f
dec eax
je 0x434a5f
dec eax
je 0x434a3f
jmp 0x434a66
mov ecx, ebx
mov eax, dword [0x469098]
mov eax, dword [eax]
mov edx, esi
call fcn.00453a94
jmp 0x434adf
cmp byte [esi + 0x5d], 1
jne 0x434a55
mov eax, esi
mov si, 0xffed
call fcn.0040372c
jmp 0x434ae8
or word [esi + 0x54], 1
jmp 0x434adf
and word [esi + 0x54], 0xfffe
jmp 0x434adf
mov eax, dword [0x46ab6c]
cmp byte [eax + 0x20], 0
je 0x434adf
mov eax, dword [0x46ab6c]
cmp dword [eax + 0x1c], 0
je 0x434adf
mov eax, dword [ebx]
mov edx, dword [0x46ab6c]
cmp eax, dword [edx + 0x1c]
jne 0x434adf
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044a3a4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040372c
jmp 0x434ae8
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x434adf
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00433278
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437f88
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x437fa4
cmp dword [esi + 4], 0
je 0x437fd1
test byte [ebx + 0x55], 1
jne 0x437fc3
mov eax, ebx
call fcn.00436be0
test eax, eax
jne 0x437fc3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4380e1
mov edx, esi
mov eax, ebx
call fcn.00437aa8
jmp 0x4380e1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4380da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439d58
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043488c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00437f88
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439d58
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4380e1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e608
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4691f4]
cmp byte [eax + 0xc], 0
je 0x43e775
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43e76e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46abc0], 0
jne 0x43e65c
push 0x43e77c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43e784
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abc0], eax
cmp dword [0x468a58], 0
jne 0x43e757
push 0x43e794
call sub.kernel32.dll_LoadLibraryA
mov dword [0x468a58], eax
cmp dword [0x468a58], 0
je 0x43e757
push 0x43e7a0
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abc4], eax
push 0x43e7b0
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abc8], eax
push 0x43e7c4
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abcc], eax
push 0x43e7dc
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abd0], eax
push 0x43e7f4
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abd4], eax
push 0x43e808
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abd8], eax
push 0x43e820
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abdc], eax
push 0x43e838
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abe0], eax
push 0x43e854
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abe4], eax
push 0x43e860
mov eax, dword [0x468a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abe8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e775
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x442484
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.00404284
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4424d3
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.004044ec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a314
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a364]
test si, 4
je 0x44a328
or bl, 1
test si, 8
je 0x44a332
or bl, 4
test si, 1
je 0x44a33c
or bl, 8
test si, 2
je 0x44a346
or bl, 0x10
test si, 0x10
je 0x44a350
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a35f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a368
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a3a0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a381
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a390
or bl, 4
test esi, 0x20000000
je 0x44a39b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4509a4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4509b6
add esp, 0xfffffff0
call fcn.0040387c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e020
mov eax, dword [0x468ef0]
mov dword [eax + 4], ebx
mov dword [eax], 0x450d48
mov eax, dword [0x468efc]
mov dword [eax + 4], ebx
mov dword [eax], 0x450d54
mov eax, ebx
call fcn.00450d60
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41393c]
call fcn.00403500
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41393c]
call fcn.00403500
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41393c]
call fcn.00403500
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41393c]
call fcn.00403500
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41393c]
call fcn.00403500
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, 0x44d228
push eax
push 0
push 0
mov eax, dword [0x469030]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fa00]
call fcn.00420e04
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fa00]
call fcn.00420e04
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fa00]
call fcn.00420e04
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451180
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45105c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45105c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45105c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450af3
call fcn.004038d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450e40
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 0x450feb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450fcc
mov dl, 1
mov eax, dword [0x413fa0]
call fcn.00403500
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404284
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450fbb
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.0043e968
test al, al
je 0x450fae
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, 0x450ffc
lea eax, [ebp - 0x254]
call fcn.004094a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450fae
xor eax, eax
push ebp
push 0x450fa7
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 0x451034
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450f90
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044ec
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 0x450f90
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450fae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450eb1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418618
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 0x450ff2
lea eax, [ebp - 0x260]
call fcn.00404284
ret

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

Disassembly:
push ecx
mov eax, dword [0x46ac04]
cmp byte [eax + 0xa5], 0
jne 0x451991
cmp dword [0x46ac1c], 0
jne 0x451952
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4518dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46ac1c], eax
cmp dword [0x46ac18], 0
jne 0x45196d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46ac18], eax
cmp dword [0x46ac20], 0
jne 0x451991
push esp
push 0
push 0
push 0x451880
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46ac20], eax
pop edx
ret
Function at 0x451a88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451a9f
add esp, 0xfffffff0
call fcn.0040387c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e020
mov eax, dword [0x469020]
cmp word [eax + 2], 0
jne 0x451ac7
mov eax, dword [0x469020]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004530bc
mov eax, dword [0x4690b0]
cmp word [eax + 2], 0
jne 0x451ae1
mov eax, dword [0x4690b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004532b4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41393c]
call fcn.00403500
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41393c]
call fcn.00403500
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], 0x80000018
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 [0x4201b0]
call fcn.00425ef8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x451c68
mov eax, dword [0x468f4c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004262c8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453824
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x468f4c]
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.0040cb50
test eax, eax
je 0x451bd6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408de8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cb78
test eax, eax
je 0x451bea
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.004044ec
mov eax, dword [0x468e58]
cmp byte [eax], 0
jne 0x451c1e
mov eax, ebx
call fcn.00451d90
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.00453a00
mov eax, ebx
call fcn.00454340
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451c5e
call fcn.004038d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452004
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46ac04]
cmp dword [eax + 0x30], 0
je 0x4520ae
cmp dword [ebx + 0x94], 0
jne 0x4520a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451f94
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4520a8
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 0x45206e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4520a8
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.0041616c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45207d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452b8c
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 0x452bc1
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.00404374
jmp 0x452bce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042d8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453bdc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453c1d
mov eax, esi
call fcn.0043a05c
test al, al
je 0x453c1d
mov eax, dword [ebx + 0x84]
call fcn.00439d58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453c1d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439d58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455a94
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.00404734
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x455aec
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x469200]
mov dl, 1
mov eax, dword [0x455610]
call fcn.0040bf98
call fcn.00403ce4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00455718
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 0x4628e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46295c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x103]
call fcn.00408fa4
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00462270
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.004042d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462963
lea eax, [ebp - 0x108]
call fcn.00404284
ret
Function at 0x465d24
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x465ec6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x465edc
call fcn.00408894
test al, al
je 0x465ea8
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
xor ecx, ecx
mov edx, 0x10
call fcn.00402e3c
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
xor ecx, ecx
mov edx, 0x44
call fcn.00402e3c
mov eax, dword [ebp + 8]
mov dword [eax - 0x5c], 0x44
mov eax, dword [ebp + 8]
mov dword [eax - 0x30], 1
mov eax, dword [ebp + 8]
mov word [eax - 0x2c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x308]
lea eax, [ebp - 4]
mov ecx, 0x465edc
call fcn.00404588
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x465ef4
call fcn.00409520
mov eax, dword [ebp - 0x10]
mov edx, 0x465f10
call fcn.00464d18
pop ecx
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x308]
call fcn.00404734
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x465ea8
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
push eax
call sub.user32.dll_WaitForInputIdle
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x465cf4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.user32.dll_EnumThreadWindows
cmp dword [ebp - 8], 0
je 0x465ea8
push 0
push 0x465f18
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0xc], eax
push 0x465f20
push 0x465f28
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x465ea8
push 0
push 0
push 0xf5
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_PostMessageA
push 0xbb8
call sub.kernel32.dll_Sleep_1
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465ecd
lea eax, [ebp - 0x10]
call fcn.00404284
lea eax, [ebp - 4]
call fcn.00404284
ret
Function at 0x64f480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6506a0
push 0x64f470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
cld
add bh, bh
adc eax, sym.imp.MSVCRT.dll___set_app_type
pop ecx
or dword [0xa541c4], 0xffffffff
or dword [0xa541c8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0xa541c0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0xa541bc]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0xa541cc], eax
call fcn.0064f5ff
cmp dword [0x653460], ebx
jne 0x64f503
push 0x64f5fc
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0064f5ea
push 0x65300c
push 0x653008
call sub.MSVCRT.dll__initterm
mov eax, dword [0xa541b8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0xa541b4]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x653004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x64f596
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64f56a
cmp al, 0x22
jne 0x64f55c
cmp byte [esi], 0x22
jne 0x64f573
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64f57d
cmp al, 0x20
jbe 0x64f56f
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x64f5a1
movzx eax, word [ebp - 0x2c]
jmp 0x64f5a4
cmp byte [esi], 0x20
jbe 0x64f573
inc esi
mov dword [ebp - 0x74], esi
jmp 0x64f596
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret