joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f990
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57f7bb
push eax
mov dword fs:[0], esp
sub esp, 0x404
push esi
mov esi, ecx
mov eax, dword [esi + 0xf690]
mov ecx, dword [eax + 8]
lea edx, [eax + 0x198]
test ecx, ecx
jne 0x41f9c7
lea edx, [eax + 0x94]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x41f9d2
mov eax, ecx
jmp 0x41f9d5
mov eax, dword [eax + 0x20]
push eax
lea eax, [esp + 0xc]
push edx
push eax
call fcn.0043a910
add esp, 0xc
cmp eax, 0x104
jl 0x41fa16
push 0
lea ecx, [esp + 0xc]
push 0x5e96e0
push ecx
mov ecx, esi
call fcn.0056a944
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
mov eax, dword [esi + 0xf690]
add eax, 0x10
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41fa2a
mov eax, ecx
jmp 0x41fa2d
mov eax, dword [eax + 0x10]
lea edx, [esp + 8]
push eax
push edx
call fcn.0043a890
add esp, 8
test eax, eax
jne 0x41fa69
push eax
lea eax, [esp + 0xc]
push 0x5e96d0
push eax
mov ecx, esi
call fcn.0056a944
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.0056877a
push 0x5e96c8
lea ecx, [esp + 8]
mov dword [esp + 0x414], 0
call fcn.00568ae8
mov edx, dword [esp + 4]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esi + 0xf690]
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0xf690]
cmp dword [eax + 0x5c], 0xffffffff
jne 0x41fb08
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41fadc
lea edx, [esp + 8]
push 0
push edx
push 0x5e96ec
mov ecx, esi
call fcn.0056a944
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call fcn.0056870c
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
mov eax, dword [eax + 0x24]
test ah, 1
je 0x41fb1d
lea eax, [esp + 8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x408]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x410
ret
Function at 0x43db80
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5811b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5f9f88]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0xc]
mov dword [edi], eax
mov ecx, dword [0x5f9f88]
lea ebx, [esi + 0x10]
mov dword [esp + 0x1c], 0
mov dword [ebx], ecx
mov edx, dword [0x5f9f88]
lea ebp, [esi + 0x14]
mov dword [ebp], edx
mov eax, dword [0x5f9f88]
mov dword [esi + 0x18], eax
mov ecx, dword [0x5f9f88]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x5f9f88]
mov dword [esi + 0x20], edx
mov eax, dword [0x5f9f88]
mov dword [esi + 0x24], eax
mov ecx, dword [0x5f9f88]
mov dword [esi + 0x28], ecx
push fcn.0056870c
push 0x43e950
push 0x64
lea edx, [esi + 0x30]
push 4
push edx
mov byte [esp + 0x30], 7
call fcn.0055139f
push fcn.0056870c
push 0x43e950
push 0x64
lea eax, [esi + 0x1c0]
push 4
push eax
mov byte [esp + 0x30], 8
call fcn.0055139f
mov ecx, dword [0x5f9f88]
mov dword [esi + 0x350], ecx
xor eax, eax
push 0x5fe7d8
lea ecx, [esi + 0x18]
mov byte [esp + 0x20], 0xa
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.00568895
push 0x5fe7d8
lea ecx, [esi + 0x1c]
call fcn.00568895
push 0x5fe7d8
mov ecx, edi
call fcn.00568895
push 0x5fe7d8
mov ecx, ebx
call fcn.00568895
push 0x5fe7d8
mov ecx, ebp
call fcn.00568895
push 0x5fe7d8
lea ecx, [esi + 0x350]
call fcn.00568895
push 0x5ea69c
lea ecx, [esi + 0x20]
call fcn.00568895
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43dcc0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x581254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0xc]
mov dword [esp + 0x1c], 0xa
mov ecx, edi
call fcn.00568697
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.00568697
lea ebp, [esi + 0x14]
mov ecx, ebp
call fcn.00568697
lea ecx, [esi + 0x350]
mov byte [esp + 0x1c], 9
call fcn.0056870c
push fcn.0056870c
push 0x64
lea eax, [esi + 0x1c0]
push 4
push eax
mov byte [esp + 0x2c], 8
call fcn.0054fe4b
push fcn.0056870c
push 0x64
lea ecx, [esi + 0x30]
push 4
push ecx
mov byte [esp + 0x2c], 7
call fcn.0054fe4b
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 6
call fcn.0056870c
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 5
call fcn.0056870c
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 4
call fcn.0056870c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 3
call fcn.0056870c
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 2
call fcn.0056870c
mov ecx, ebp
mov byte [esp + 0x1c], 1
call fcn.0056870c
mov ecx, ebx
mov byte [esp + 0x1c], 0
call fcn.0056870c
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43fbe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x581637
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x34]
push 0x5fe7d8
push eax
mov dword [esp + 0x30], 2
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x43fc3e
mov esi, dword [esp + 0x30]
push 0x5fe7d8
mov ecx, esi
call fcn.0056877a
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x43fda7
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xc]
call fcn.00568481
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.00563f13
lea ecx, [esp + 8]
call fcn.00563ec7
push 0x5ea85c
lea ecx, [esp + 0xc]
call fcn.00563b2e
cmp eax, 0xffffffff
je 0x43fc84
push 0x5ea850
lea ecx, [esp + 0x38]
call fcn.00568895
lea ecx, [esp + 0x38]
call fcn.00563f13
mov edx, dword [esp + 0x38]
push 0x5fe7d8
push edx
call fcn.005503ed
add esp, 8
mov ebx, 1
test eax, eax
push ebx
push 0
je 0x43fcb7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
jmp 0x43fcbe
mov edx, dword [esp + 0x3c]
push 0
push edx
push 0x5e8ab0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x43fd85
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.0056877a
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.00563ec7
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
push ecx
push 0x5ea83c
push edx
call fcn.00568a15
push 0x5ea828
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x30], 5
push eax
call fcn.005689a1
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
push eax
push esi
mov byte [esp + 0x34], 6
call fcn.0056893b
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x28], 5
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 4
call fcn.0056870c
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.0056870c
jmp 0x43fd99
mov esi, dword [esp + 0x30]
push 0x5fe7d8
mov ecx, esi
call fcn.0056877a
mov dword [esp + 0x10], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0056870c
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call fcn.0056870c
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call fcn.0056870c
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
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 0x5e8ab0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x442179
lea eax, [esp + 0x10]
push eax
push 0x5eaa24
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 0x5eaa10
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 0x5eaa08
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 0x5eb620
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 0x5eb634
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 0x5eb658
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 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 0x5ebecc
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 0x5ebea8
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 0x5ebe94
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 0x5ebd94
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 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 0x5ec708
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 0x5e8ab0
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 0x5eaa24
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 0x5eaa10
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 0x5eaa08
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 0x5ec708
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