joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442090
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebx
push 0
push 0
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x442179
lea eax, [esp + 0x10]
push eax
push str..htm
push SysReAllocStringLen
call fcn.00442190
add esp, 0xc
test eax, eax
jne 0x442179
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push str._shellopencommand
push ecx
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push eax
push SysReAllocStringLen
call fcn.00442190
add esp, 0xc
test eax, eax
jne 0x442179
lea ecx, [esp + 0x10]
push str.__1_
push ecx
call fcn.00551664
mov esi, eax
add esp, 8
test esi, esi
jne 0x442153
lea edx, [esp + 0x10]
push 0x5eaa04
push edx
call fcn.00551664
mov esi, eax
add esp, 8
test esi, esi
jne 0x442153
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x442156
mov byte [esi], 0
push 0x5ea618
push esi
call edi
push ebp
push esi
call edi
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x442190
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4421f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret
Function at 0x446d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58247f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5f9f88]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x10]
push str._04d_02d_02d
push ecx
mov dword [esp + 0x28], 1
call fcn.00563eb4
mov esi, dword [esp + 0x30]
add esp, 0x14
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.00568481
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0056870c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10

Function at 0x446df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5824c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x14], esi
push 0x5ea618
push 0x5e6484
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 1
call fcn.005637fc
push 0x5ea618
push 0x5e8fcc
lea ecx, [esp + 0x34]
call fcn.005637fc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xc]
push eax
call fcn.00568481
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, 2
mov eax, dword [ecx - 8]
mov byte [esp + 0x20], bl
cmp eax, edi
jle 0x446efc
push 0x5fe7d8
lea ecx, [esp + 0x10]
call fcn.00568895
add edi, 0xfffffffe
cmp edi, esi
jle 0x446eee
mov edx, dword [esp + 0x2c]
mov al, byte [esi + edx]
cmp al, 0xa1
jae 0x446ebc
cmp al, 0xd
je 0x446ebc
push 1
lea eax, [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0x38]
call fcn.00563982
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.00568b24
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.0056870c
jmp 0x446ee9
push ebx
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x38]
call fcn.00563982
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.00568b24
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.0056870c
inc esi
inc esi
cmp esi, edi
jl 0x446e7e
push 0x5eb630
lea ecx, [esp + 0x10]
call fcn.00568ae8
mov esi, dword [esp + 0x28]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.0056870c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.0056870c
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x447900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5825a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [esp + 8], 0
mov dword [esp + 0x14], 1
mov eax, dword [0x5f9f88]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._d__s__d__s__s__d
push ecx
mov byte [esp + 0x34], 4
call fcn.00563eb4
mov esi, dword [esp + 0x3c]
add esp, 0x20
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.00568481
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 3
call fcn.0056870c
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 2
call fcn.0056870c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14], 1
call fcn.0056870c
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], 0
call fcn.0056870c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x1c

Function at 0x447be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5825ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5f9f88]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._04d_02d_02d_02d:_02d:_02d
push ecx
mov dword [esp + 0x34], 1
call fcn.00563eb4
mov esi, dword [esp + 0x3c]
add esp, 0x20
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.00568481
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0056870c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x1c
Function at 0x449d90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x582b20
push eax
mov dword fs:[0], esp
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x14], 3
test eax, eax
je 0x449f41
mov eax, dword [esp + 0x24]
test eax, eax
je 0x449e38
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x134]
call fcn.0044b880
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x148]
call fcn.004ec340
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x120]
call fcn.005666e6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xbc]
call fcn.005666e6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xd0]
call fcn.005666e6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xe4]
call fcn.005666e6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xf8]
call fcn.004ec340
mov dword [esi + 0x10c], 0
mov ebp, dword [esi + 0x13c]
lea edi, [esi + 0x134]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [ebp + 1]
push eax
call fcn.0044b880
mov ecx, dword [edi + 4]
lea edi, [esi + 0x148]
fld qword [esp + 0x38]
push 0xffffffffffffffff
fstp qword [ecx + ebp*8]
mov ebp, dword [edi + 8]
mov ecx, edi
lea edx, [ebp + 1]
push edx
call fcn.004ec340
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x1c]
mov dword [eax + ebp*4], ecx
mov eax, dword [esi + 0x128]
lea ecx, [esi + 0x120]
push edx
push eax
call fcn.005668bb
mov eax, dword [esi + 0xc4]
lea ecx, [esi + 0xbc]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.005668bb
mov eax, dword [esi + 0xd8]
lea ecx, [esi + 0xd0]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.005668bb
mov eax, dword [esi + 0xec]
lea ecx, [esi + 0xe4]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.005668bb
mov ebp, dword [esi + 0x100]
lea edi, [esi + 0xf8]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [ebp + 1]
push eax
call fcn.004ec340
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
test eax, eax
mov dword [ecx + ebp*4], edx
je 0x449f41
lea edi, [esi + 0x60]
mov ecx, edi
call fcn.00501160
test eax, eax
je 0x449f1b
push 1
mov ecx, edi
call fcn.00501120
jmp 0x449f22
mov ecx, edi
call fcn.00501160
push 4
mov ecx, edi
call fcn.0056c060
mov eax, dword [esi + 0x7c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 2
call fcn.0056870c
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 1
call fcn.0056870c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14], 0
call fcn.0056870c
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret 0x28
Function at 0x450430
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5836b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x38]
push str._feiqCustomFace1.gif
lea ecx, [esp + 0x14]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x3c], esi
call fcn.005689a1
mov eax, dword [eax]
mov byte [esp + 0x30], 1
push eax
call fcn.0043ea50
add esp, 4
lea ecx, [esp + 0x10]
test al, al
sete bl
mov byte [esp + 0x30], 0
call fcn.0056870c
test bl, bl
je 0x4504cc
mov edx, dword [0x5f9f88]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
push str._s_feiqCustomFaceCachePage0.bmp
push ecx
mov byte [esp + 0x3c], 2
call fcn.00563eb4
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.0056870c
mov eax, dword [0x5f9f88]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
push str._s_feiqCustomFace
push edx
mov byte [esp + 0x3c], 3
call fcn.00563eb4
add esp, 0xc
lea eax, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00568481
call fcn.004416c0
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
add esp, 8
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x38]
lea ebp, [esi + 1]
push ebp
push edx
lea eax, [esp + 0x18]
push str._s_feiqCustomFace_d.gif
push eax
mov byte [esp + 0x40], 4
call fcn.00563eb4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043ea50
add esp, 0x14
test al, al
jne 0x45060d
call fcn.00578d59
mov eax, dword [eax + 4]
add esi, 0x1c3
and esi, 0xffff
push 0x5ebe90
mov edx, dword [eax + 0x68]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x45060d
call fcn.00578d59
mov eax, dword [eax + 4]
push esi
mov eax, dword [eax + 0x68]
push eax
call ebx
mov edi, eax
call fcn.00578d59
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45060d
lea ecx, [esp + 0x18]
call fcn.0056c8a0
mov edx, dword [esp + 0x10]
push 0
push 0x9002
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 5
call fcn.0056c9b2
test eax, eax
je 0x4505ff
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4505ff
mov eax, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 0x20]
call dword [eax + 0x28]
mov edx, dword [esp + 0x18]
push edi
push esi
lea ecx, [esp + 0x20]
call dword [edx + 0x38]
lea ecx, [esp + 0x18]
call fcn.0056cbcd
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.0056c8f5
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.0056870c
mov esi, ebp
cmp esi, 0x60
jl 0x450512
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.0056870c
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x45a356
Capabilities:
Check os version

Disassembly:
mov ecx, 0x5fe900
jmp 0x45a350
sub esp, 0x94
push esi
mov esi, ecx
call fcn.0045a480
mov ecx, esi
call fcn.0045a3c0
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x45a398
cmp dword [esp + 8], 5
jae 0x45a398
mov eax, 1
mov dword [esi + 0x70], eax
mov eax, esi
pop esi
add esp, 0x94
ret
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
pop esi
add esp, 0x94
ret
Function at 0x4611d0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov esi, ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [esi + 0x2f94]
xor eax, eax
xor ecx, ecx
lea edx, [esi + 0x18]
cmp dword [edx], edi
je 0x4611fb
inc ecx
add edx, 0x54
cmp ecx, 0x90
jl 0x4611e9
jmp 0x4611fd
mov eax, ecx
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffffd
cmp ecx, 0x25
ja case.0x461215.10
xor edx, edx
mov dl, byte [ecx + 0x4613dc]
jmp dword [edx*4 + 0x4613bc]
test eax, eax
jne 0x461227
mov eax, 0x8f
jmp 0x46122a
jl 0x46122a
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esi + eax*4 + 0x18]
push ecx
mov ecx, esi
lea edi, [esi + eax*4 + 0x18]
call fcn.0045fc00
mov eax, dword [esi + 0x2f98]
mov edx, dword [edi]
push 0
push edx
mov ecx, dword [eax + 0x1c]
push 0x4dc
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret 0xc
cmp eax, 0x8f
jne 0x461270
xor eax, eax
jmp 0x461273
jge 0x461273
inc eax
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx + ecx*2]
mov ecx, esi
mov eax, dword [esi + edx*4 + 0x18]
lea edi, [esi + edx*4 + 0x18]
push eax
call fcn.0045fc00
mov edx, dword [esi + 0x2f98]
mov ecx, dword [edi]
push 0
push ecx
mov eax, dword [edx + 0x1c]
push 0x4dc
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret 0xc
cmp eax, 0x8f
jne 0x4612b9
xor eax, eax
jmp 0x4612bc
jge 0x4612bc
inc eax
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx + ecx*2]
mov edx, dword [esi + ecx*4 + 0x18]
lea edi, [esi + ecx*4 + 0x18]
push edx
mov ecx, esi
call fcn.0045fc00
mov ecx, dword [esi + 0x2f98]
mov eax, dword [edi]
push 0
push eax
mov edx, dword [ecx + 0x1c]
push 0x4dc
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret 0xc
test eax, eax
jne 0x461302
mov eax, 0x8f
jmp 0x461305
jl 0x461305
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esi + eax*4 + 0x18]
push ecx
mov ecx, esi
lea edi, [esi + eax*4 + 0x18]
call fcn.0045fc00
mov eax, dword [esi + 0x2f98]
mov edx, dword [edi]
push 0
push edx
mov ecx, dword [eax + 0x1c]
push 0x4dc
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret 0xc
mov eax, dword [esi + 0x2f9c]
test eax, eax
je case.0x461215.10
mov edx, dword [esi]
push 0
push edi
mov ecx, esi
call dword [edx + 0x28]
pop edi
pop esi
ret 0xc
mov eax, dword [esi + 0x2f9c]
test eax, eax
je case.0x461215.10
mov eax, dword [esi]
push 0
push edi
mov ecx, esi
call dword [eax + 0x2c]
pop edi
pop esi
ret 0xc
mov eax, dword [esi + 0x2f98]
test eax, eax
je case.0x461215.10
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005691a1
mov esi, dword [esi + 0x2f98]
test esi, esi
je 0x461399
mov esi, dword [esi + 0x1c]
mov edx, dword [eax + 0x1c]
push 1
push esi
push edx
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.005691a1
test eax, eax
je case.0x461215.10
mov ecx, eax
call fcn.0056c0c9
pop edi
pop esi
ret 0xc
Function at 0x4691a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x585578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x46924a
mov eax, dword [0x5f9f88]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00568b3c
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00568b8b
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00568ae8
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x469231
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x469231
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0056870c
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x469260
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4692c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x4694d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4695c2
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocStringLen
mov ecx, edi
call fcn.00469260
test eax, eax
jne 0x4695c2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocStringLen
mov ecx, edi
call fcn.00469260
test eax, eax
jne 0x4695c2
lea edx, [esp + 0x10]
push str.__1_
push edx
call fcn.00551664
mov esi, eax
add esp, 8
test esi, esi
jne 0x469593
lea eax, [esp + 0x10]
push 0x5eaa04
push eax
call fcn.00551664
mov esi, eax
add esp, 8
test esi, esi
jne 0x469593
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x469596
mov byte [esi], 0
push 0x5ea618
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x469e30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5856d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x469eda
mov eax, dword [0x5f9f88]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00568b3c
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00568b8b
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00568ae8
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x469ec1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x469ec1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x70], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0056870c
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x46a200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x64]
push ebp
push esi
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x78]
mov esi, eax
xor ebp, ebp
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x34], 0x38
mov dword [ecx], 0
jle 0x46a2e3
mov edx, dword [ebx]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 7
push eax
push ebp
push ebx
mov dword [esp + 0x44], 0x38
call dword [edx + 0x18]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
cmp eax, ecx
jne 0x46a2da
mov ecx, 4
lea edi, [esp + 0x3c]
mov esi, 0x59c980
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x46a2ed
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x70]
push edx
push 0x5c3f10
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x46a2e3
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x14]
mov esi, 2
push edx
lea edx, [esp + 0x24]
mov word [esp + 0x24], si
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0x10
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x46a2e3
cmp word [esp + 0x20], si
je 0x46a301
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, esi
jl 0x46a233
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword [eax], 1
xor eax, eax
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x46e670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x585d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x59a098
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call fcn.0056f86b
mov edi, dword [esp + 0x34]
mov byte [esp + 0x2c], 1
cmp edi, esi
jne 0x46e6ed
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0056f8dd
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 2
call fcn.0056fb6a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
call ebp
mov ebx, eax
mov esi, dword [ebx + 0x20]
test esi, esi
jne 0x46e70b
mov cl, byte [ebx + 0xe]
mov esi, 1
shl esi, cl
push edi
call ebp
mov edi, eax
cmp word [edi + 0xe], 8
jbe 0x46e735
mov ecx, dword [edi + 0x10]
xor eax, eax
cmp ecx, 3
mov ecx, dword [edi + 0x20]
setne al
dec eax
and eax, 3
add eax, ecx
lea ecx, [edi + eax*4 + 0x28]
mov dword [esp + 0x3c], ecx
jmp 0x46e73d
lea edx, [edi + esi*4 + 0x28]
mov dword [esp + 0x3c], edx
cmp esi, 0x100
jg 0x46e7d8
mov eax, dword [esp + 0x20]
push 0x26
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x46e7d8
lea eax, [esi*4 + 8]
push eax
call fcn.00567b03
mov ebp, eax
add esp, 4
test esi, esi
mov word [ebp], 0x300
mov word [ebp + 2], si
jle 0x46e79f
lea eax, [ebp + 5]
lea ecx, [edi + 0x29]
mov dl, byte [ecx + 1]
add ecx, 4
mov byte [eax - 1], dl
mov dl, byte [ecx - 4]
mov byte [eax], dl
mov dl, byte [ecx - 5]
mov byte [eax + 1], dl
mov byte [eax + 2], 0
add eax, 4
dec esi
jne 0x46e781
push ebp
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
lea ecx, [esp + 0x14]
call fcn.0056fb13
push ebp
call fcn.00567b2c
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.0056f1aa
mov ecx, dword [esp + 0x1c]
mov edi, eax
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x46e7dc
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push 0
neg eax
sbb eax, eax
push ebx
push edx
and eax, ebp
push 4
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
lea eax, [esp + 0x10]
pop ebp
pop ebx
test eax, eax
je 0x46e81c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46e81c
push 0
push edi
lea ecx, [esp + 0x18]
call fcn.0056f1aa
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0056f8dd
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 3
call fcn.0056fb6a
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret