joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4503c4
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 0x45056f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x450550
mov dl, 1
mov eax, dword [0x411308]
call fcn.00403010
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403de4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45053f
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.0043df00
test al, al
je 0x450532
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, 0x450580
lea eax, [ebp - 0x254]
call fcn.0040aa58
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450532
xor eax, eax
push ebp
push 0x45052b
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 0x4505b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450514
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404014
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x450514
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404014
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450532
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450435
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00414cd0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450576
lea eax, [ebp - 0x260]
call fcn.00403de4
ret

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

Disassembly:
push ecx
mov eax, dword [0x58d7d4]
cmp byte [eax + 0x95], 0
jne 0x450e2d
cmp dword [0x58d7f0], 0
jne 0x450dee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450d78
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x58d7f0], eax
cmp dword [0x58d7ec], 0
jne 0x450e09
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x58d7ec], eax
cmp dword [0x58d7f4], 0
jne 0x450e2d
push esp
push 0
push 0
push 0x450d1c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x58d7f4], eax
pop edx
ret
Function at 0x450f24
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450f3b
add esp, 0xfffffff0
call fcn.00403380
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419538
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x410ddc]
call fcn.00403010
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x410ddc]
call fcn.00403010
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41b470]
call fcn.00423220
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x4510b0
mov eax, dword [0x58be38]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004235f0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452ae0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x58be38]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040df60
test eax, eax
je 0x45102e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a39c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040df88
test eax, eax
je 0x451042
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404014
mov eax, dword [0x58bc00]
cmp byte [eax], 0
jne 0x451073
mov eax, ebx
call fcn.0045119c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4510a5
call fcn.004033d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45140c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x58d7d4]
cmp dword [eax + 0x24], 0
je 0x4514af
cmp dword [ebx + 0x84], 0
jne 0x4514a9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45139c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x4514a9
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 0x451472
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4514a9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00412998
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451481
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x451ebc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x451ef1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ecc
jmp 0x451efb
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403e38
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452e54
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x452e8c
mov eax, esi
call fcn.00439a68
test al, al
je 0x452e8c
mov eax, dword [ebx + 0x74]
call fcn.0043976c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452e8c
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043976c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x461eb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461f88
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x58d868], 0
jne 0x461f6c
lea eax, [ebp - 4]
mov edx, 0x461fa0
call fcn.00403e7c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404228
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x461f6c
mov eax, ebx
call fcn.00402818
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x461f65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x461f4f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x461fb0
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x461f4f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x58d868], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461f6c
mov eax, dword [ebp - 0xc]
call fcn.00402830
ret
mov ebx, dword [0x58d868]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461f8f
lea eax, [ebp - 4]
call fcn.00403de4
ret
Function at 0x476528
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476787
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47658a
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00475ff0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040db0c
cmp al, 1
jne 0x47658a
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00476308
test al, al
je 0x476716
cmp dword [ebp - 8], 0
jge 0x4765a8
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00475ff0
mov eax, dword [ebp - 0x210]
call fcn.00404064
cmp ebx, eax
jge 0x4765f2
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00475ff0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x58c318]
and eax, 0xff
bt dword [edx], eax
jae 0x4765f2
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x476606
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00476504
cmp ebx, dword [ebp - 8]
je 0x476708
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x476632
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040321c
and eax, 0x7f
movzx eax, word [eax*2 + 0x589e50]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x4766f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040321c
and eax, 0x7f
movzx eax, word [eax*2 + 0x589e50]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043976c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040321c
and eax, 0x7f
movzx eax, word [eax*2 + 0x589e50]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043976c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4766fc
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x476769
cmp dword [ebp - 8], 0
jge 0x476721
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00475ff0
mov eax, dword [ebp - 0x218]
call fcn.00404064
cmp eax, dword [ebp - 8]
jg 0x47675b
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00475ff0
mov eax, dword [ebp - 0x21c]
call fcn.00404064
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00476504
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47678e
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403e08
ret
Function at 0x4aa63c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4aa66a
mov eax, ebx
call fcn.004ab0e0
cmp dword [ebx + 0x3c], 0
je 0x4aa663
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4aa6db
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4aa6cd
cmp dword [ebx + 8], 0
je 0x4aa68c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4aa69e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4aa6cd
cmp dword [ebx + 8], 0
je 0x4aa67f
cmp eax, 3
je 0x4aa6b1
dec eax
jne 0x4aa67f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4aa67f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4aa67f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4aa6f9
cmp dword [ebx + 0x10], 0xcc
je 0x4aa6f9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004aa704
pop ebx
ret

Function at 0x4c6fdf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x58b8c2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c7037
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x58b8e3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4c702d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4c703b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x581950
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x5819b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402a54
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040a20c
lea eax, [ebp - 4]
mov edx, 0x5819c8
call fcn.0040406c
mov eax, dword [ebp - 4]
call fcn.00404228
push eax
call sub.kernel32.dll_CreateDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5819b9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e08
ret
Function at 0x570cf0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434008]
jne 0x40100a
repz ret
jmp fcn.004016ff

Function at 0x40482a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402d78
and dword [ebp - 4], 0
cmp dword [0x435e70], 0
mov ebx, eax
jne 0x4048db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40498c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40498c
push eax
call fcn.00402d06
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435e70], eax
call esi
push eax
call fcn.00402d06
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435e74], eax
call esi
push eax
call fcn.00402d06
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435e78], eax
call esi
push eax
call fcn.00402d06
pop ecx
mov dword [0x435e80], eax
test eax, eax
je 0x4048db
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402d06
pop ecx
mov dword [0x435e7c], eax
mov eax, dword [0x435e7c]
cmp eax, ebx
je 0x404933
cmp dword [0x435e80], ebx
je 0x404933
push eax
call fcn.00402d81
push dword [0x435e80]
mov esi, eax
call fcn.00402d81
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404933
test edi, edi
je 0x404933
call esi
test eax, eax
je 0x40492a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40492a
test byte [ebp - 0xc], 1
jne 0x404933
or dword [ebp + 0x10], 0x200000
jmp 0x40496c
mov eax, dword [0x435e74]
cmp eax, ebx
je 0x40496c
push eax
call fcn.00402d81
pop ecx
test eax, eax
je 0x40496c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40496c
mov eax, dword [0x435e78]
cmp eax, ebx
je 0x40496c
push eax
call fcn.00402d81
pop ecx
test eax, eax
je 0x40496c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435e70]
call fcn.00402d81
pop ecx
test eax, eax
je 0x40498c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40498e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431550
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x434008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52ba5c]
push ebx
push esi
mov esi, dword [0x52b8a4]
mov ebx, eax
cmp eax, 0x5dd
jne 0x43158a
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x434c60]
call fcn.00431460
cmp dword [0x52ba5c], 0x2f
jne 0x4315a5
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.004314a0
add esp, 4
cmp dword [0x52ba5c], 0x568
pop esi
pop ebx
jne 0x4315cc
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x40181f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x42dfd8]
and byte [0x42ece0], 0
push ebx
push esi
shl eax, 2
push edi
xor esi, esi
push eax
mov dword [0x42edec], esi
mov dword [0x42b550], esi
call fcn.0041b1a2
cmp eax, esi
pop ecx
mov dword [0x42ede8], eax
jne 0x401868
push dword [ebp + 0xc]
push 9
call fcn.0040fa42
pop ecx
jmp 0x401a62
xor edi, edi
cmp dword [0x42dfd8], esi
jle 0x40189f
jmp 0x401879
mov eax, dword [0x42ede8]
mov ecx, dword [0x42e734]
add ecx, esi
mov dword [eax + edi*4], ecx
mov eax, dword [0x42ede8]
push dword [eax + edi*4]
call fcn.0041c080
inc edi
pop ecx
cmp edi, dword [0x42dfd8]
lea esi, [esi + eax + 1]
jl 0x401874
push dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
call fcn.0041bb30
lea eax, [ebp - 0x200]
push eax
call fcn.0041c080
lea eax, [ebp + eax - 0x200]
add esp, 0xc
mov dword [ebp + 8], eax
mov ebx, eax
call section..text
mov edi, eax
test edi, edi
je 0x401a0b
mov esi, 0x42ecc8
push edi
call fcn.00401030
pop ecx
mov al, byte [edi]
mov byte [ebx], al
inc ebx
inc edi
test al, al
jne 0x4018e4
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
call fcn.004060d0
cmp eax, 1
pop ecx
je 0x40199a
mov al, byte [ebp - 0x200]
and byte [0x42ecc9], 0
push 0x427034
push esi
mov byte [0x42ecc8], al
call fcn.0041bb40
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x401a3d
mov ecx, dword [0x42b550]
mov eax, dword [0x427250]
inc ecx
mov edi, eax
push ecx
push eax
lea eax, [ebp - 0x2c8]
mov dword [0x42ab78], 1
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x42b550]
push dword [ebp + 0xc]
inc eax
mov dword [0x42b548], esi
mov dword [0x427030], eax
lea eax, [ebp - 0x2c8]
push 0x11
mov dword [0x427250], eax
call fcn.0040fa42
add esp, 0x14
cmp eax, 2
mov dword [0x427250], edi
je 0x401a57
jmp 0x4018f1
mov edi, dword [0x42b504]
mov eax, dword [0x427030]
test edi, edi
mov dword [0x42b550], eax
je 0x4019e0
cmp dword [0x42dfd8], 0
je 0x4019e0
fild dword [0x42edec]
push 0
fidiv dword [0x42dfd8]
fmul qword [0x424430]
call fcn.0041b7d4
movzx eax, ax
push eax
push 0x402
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0xc]
and dword [0x42ab7c], 0
lea eax, [ebp - 0x200]
push eax
call fcn.00401518
pop ecx
test eax, eax
pop ecx
je 0x401a57
call section..text
mov edi, eax
test edi, edi
jne 0x4018dd
push dword [0x42ede8]
call fcn.0041b254
cmp dword [0x42ab7c], 0
pop ecx
jne 0x401a35
cmp dword [0x42ab74], 0
je 0x401a35
push dword [ebp + 0xc]
push 0xd
call fcn.0040fa42
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp + 0xc]
push 0x10
call fcn.0040fa42
push dword [0x42ede8]
call fcn.0041b254
add esp, 0xc
jmp 0x401a63
push dword [0x42ede8]
call fcn.0041b254
pop ecx
xor eax, eax
jmp 0x401a38
Function at 0x403c4c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
push 0x180
mov esi, str.C:temphtm.HTM
push 0x8321
push esi
call fcn.0041b2bd
add esp, 0xc
cmp eax, 0xffffffff
je 0x403d0b
push eax
call fcn.0041b9a8
pop ecx
push 2
push esi
call dword [sym.imp.KERNEL32.dll__lopen]
mov edi, eax
cmp edi, 0xffffffff
je 0x403d04
lea eax, [ebp - 0x104]
push str._HTML___HTML_
push eax
call fcn.0041bb30
lea eax, [ebp - 0x104]
push eax
call fcn.0041c080
add esp, 0xc
inc eax
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.KERNEL32.dll__lwrite]
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jbe 0x403d04
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0x104]
push dword [ebp + 8]
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
call fcn.0041c055
pop ecx
jmp 0x403d20
push esi
call fcn.0041c055
pop ecx
xor eax, eax
push 1
push eax
push eax
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
leave
ret

Function at 0x403d24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x403d97
lea eax, [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp + 8]
push 0
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x403d8e
cmp dword [ebp + 8], 1
jne 0x403d8e
lea eax, [ebp - 4]
mov edi, 0x42b2ec
push eax
lea eax, [ebp + 8]
push edi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x403d8e
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x403d99
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x403d9d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x403de8
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push 0
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
test eax, eax
jne 0x403de2
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
leave
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret