joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f430
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x318
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x314], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x11e]
push ebx
push eax
mov edi, ecx
mov esi, edx
mov word [esp + 0x124], bx
call fcn.005695a0
mov eax, 8
add esp, 0xc
cmp dword [edi + 0x18], eax
jb 0x43f47a
mov edi, dword [edi + 4]
jmp 0x43f47d
add edi, 4
cmp dword [0x5f9138], eax
mov eax, dword [0x5f9124]
jae 0x43f48f
mov eax, 0x5f9124
push edi
push eax
lea ecx, [esp + 0x120]
push 0x5aeadc
push ecx
mov edx, 0x104
call fcn.0043f5a0
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push 0x20219
push ebx
lea eax, [esp + 0x124]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43f4ee
pop edi
pop esi
mov eax, 0xe00c0012
pop ebx
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.00564207
add esp, 0x318
ret
push 0xfe
lea ecx, [esp + 0x1e]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x24], bx
call fcn.005695a0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push str.Name
push edx
mov dword [esp + 0x2c], 0xfe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x43f570
cmp dword [esp + 0x10], 1
jne 0x43f570
push 9
push str..Pipe_
call fcn.0043a8d0
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43f552
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0043a690
jmp 0x43f575
mov edi, 0xe00c001f
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x320]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00564207
add esp, 0x318
ret

Function at 0x43f960
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
test edi, edi
je 0x43f9a1
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
mov ecx, edi
sub ecx, esi
push ecx
mov ecx, dword [eax + 0x1c]
lea edx, [esi + ebp]
push edx
push ecx
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x43f9a9
add esi, dword [esp + 0x14]
cmp edi, esi
jne 0x43f973
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
pop esi
pop ebp
mov eax, 0xe00c0009
pop ebx
ret 8

Function at 0x43f9c0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
test edi, edi
je 0x43fa01
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
mov ecx, edi
sub ecx, esi
push ecx
mov ecx, dword [eax + 0x1c]
lea edx, [esi + ebp]
push edx
push ecx
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x43fa09
add esi, dword [esp + 0x14]
cmp edi, esi
jne 0x43f9d3
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
pop esi
pop ebp
mov eax, 0xe00c000b
pop ebx
ret 8
Function at 0x441250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x441267
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x441298
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x441294
cmp esi, eax
jae 0x441298
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x441284
cmp esi, eax
jb 0x44129e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x4446a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x214], eax
xor eax, eax
push 0x20e
push eax
mov dword [esp + 8], eax
mov word [esp + 0xc], ax
lea eax, [esp + 0xe]
push eax
call fcn.005695a0
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
lea ecx, [esp + 8]
call fcn.00481430
mov ecx, dword [esp + 0x214]
xor ecx, esp
mov eax, esi
call fcn.00564207
add esp, 0x218
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58f3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
call fcn.0044dd10
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
lea edx, [ebp + 0x18]
push edx
lea edx, [ebp + 0xc]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x88], 0
call fcn.00445c80
add esp, 0xc
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0054910d
fstp qword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], 0xffffffff
call fcn.0044dcc0
cmp byte [ebp + 0x14], 0
mov edi, dword [ebp + 0x10]
jne 0x445bda
test edi, edi
je 0x445bd4
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x445bc1
mov edx, dword [edi + 0x30]
cmp dword [edx], 0
jle 0x445bc1
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x445bca
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
cmp eax, 0xffffffff
je 0x445bd4
mov byte [ebp + 0x15], al
jmp 0x445bd6
xor edi, edi
mov byte [ebp + 0x14], 1
cmp byte [ebp + 0x20], 0
mov esi, dword [ebp + 0x1c]
jne 0x445c0e
test esi, esi
je 0x445c0c
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x445bfe
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x445bfe
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x445c07
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x445c0e
xor esi, esi
test edi, edi
jne 0x445c37
test esi, esi
je 0x445c3b
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x14], ecx
je 0x445c44
cmp dword [esp + 0x10], 0
jne 0x445c44
fld qword [esp + 0x24]
mov edx, dword [esp + 0x20]
fstp qword [edx]
jmp 0x445c47
test esi, esi
je 0x445c16
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x445c1a
or dword [eax], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00564207
mov esp, ebp
pop ebp
ret 0x28
Function at 0x446bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58f3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
call fcn.0044dd10
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
lea edx, [ebp + 0x18]
push edx
lea edx, [ebp + 0xc]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x88], 0
call fcn.00445c80
add esp, 0xc
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00548b18
fstp qword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], 0xffffffff
call fcn.0044dcc0
cmp byte [ebp + 0x14], 0
mov edi, dword [ebp + 0x10]
jne 0x446cda
test edi, edi
je 0x446cd4
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x446cc1
mov edx, dword [edi + 0x30]
cmp dword [edx], 0
jle 0x446cc1
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x446cca
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
cmp eax, 0xffffffff
je 0x446cd4
mov byte [ebp + 0x15], al
jmp 0x446cd6
xor edi, edi
mov byte [ebp + 0x14], 1
cmp byte [ebp + 0x20], 0
mov esi, dword [ebp + 0x1c]
jne 0x446d0e
test esi, esi
je 0x446d0c
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x446cfe
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x446cfe
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x446d07
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x446d0e
xor esi, esi
test edi, edi
jne 0x446d37
test esi, esi
je 0x446d3b
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x14], ecx
je 0x446d44
cmp dword [esp + 0x10], 0
jne 0x446d44
fld qword [esp + 0x24]
mov edx, dword [esp + 0x20]
fstp qword [edx]
jmp 0x446d47
test esi, esi
je 0x446d16
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x446d1a
or dword [eax], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00564207
mov esp, ebp
pop ebp
ret 0x28
Function at 0x44c790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x585d70
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0044c840
push 0
lea ecx, [esp + 0x10]
call fcn.0055e820
lea edi, [esi + 8]
push eax
mov ecx, edi
mov dword [esp + 0x3c], 0
call fcn.0055f680
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0055e970
push 0
lea ecx, [esp + 0x20]
call fcn.0055e820
push eax
push str.root
mov ecx, edi
mov dword [esp + 0x40], 1
call fcn.0055fbb0
mov ecx, eax
call fcn.0055f680
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0055e970
mov byte [esi], 1
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret

Function at 0x44e8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x591c78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5aead8
call fcn.00481430
mov edx, dword [esp + 0x54]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], 0
call fcn.0047b540
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e93c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp ebx, eax
jbe 0x44e951
call fcn.00565fa7
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x30], eax
mov esi, eax
jbe 0x44e962
call fcn.00565fa7
mov eax, dword [esp + 0x34]
cmp ebx, esi
je 0x44e9b8
cmp ebx, eax
jb 0x44e96f
call fcn.00565fa7
mov esi, dword [esp + 0x50]
mov ebp, dword [esi + 8]
lea ecx, [esp + 0x1c]
add esi, 4
push ecx
mov eax, ebx
call fcn.0044e9e0
mov edi, eax
cmp esi, dword [edi]
je 0x44e990
call fcn.00565fa7
cmp ebp, dword [edi + 4]
je 0x44e9ab
mov eax, dword [esp + 0x34]
cmp ebx, eax
jb 0x44e9a6
call fcn.00565fa7
mov eax, dword [esp + 0x34]
add ebx, 4
jmp 0x44e951
lea eax, [esp + 0x24]
call fcn.004679a0
xor eax, eax
jmp 0x44e9c6
lea eax, [esp + 0x24]
call fcn.004679a0
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
Function at 0x44eb00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x588158
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
mov ecx, str.from
call fcn.00481430
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x5c]
push eax
lea ecx, [esi + 0x30]
lea edi, [esp + 0x10]
call fcn.0047dce0
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44eb76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x44ef50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, eax
push edi
push ebp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x44ef73
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x44ef6b
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x44ef6b
mov eax, dword [esi]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea edi, [ebx + 1]
sub eax, edi
or edx, eax
jge 0x44efb8
mov ecx, edi
mov eax, esi
call fcn.0044e310
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x44efc9
push ebx
push ecx
push eax
call fcn.0056a780
add esp, 0xc
mov eax, edi
call fcn.00472d60
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x44eff0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x588c08
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
mov dword [esp + 0x18], ebx
je 0x44f137
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [edi]
push ecx
push edx
push eax
push str._s_d._s
lea edi, [esp + 0x24]
call fcn.00481690
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44f10f
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x44f108
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x30], ebx
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea ecx, [edi + 0xa]
sub eax, ecx
or eax, edx
jge 0x44f0bd
mov eax, esi
call fcn.0044e310
mov eax, dword [esi]
push ebx
lea edx, [esp + 0x34]
push edx
push edi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x44f0fa
cmp dword [esp + 0x30], edi
jne 0x44f0fa
mov eax, edi
call fcn.00472d60
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.004818c0
mov eax, 1
jmp 0x44f13b
mov eax, dword [esi]
cmp dword [eax - 8], ebx
jl 0x44f151
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
mov byte [eax], bl
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x80070057
call fcn.00473d10
int3
Function at 0x4535a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58bd98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x30], 0
call fcn.0044f160
mov edx, 0x5adf18
mov ecx, eax
call fcn.0044ee80
test eax, eax
jne 0x45369f
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0044f160
mov edx, 0x5adf18
mov ecx, eax
call fcn.0047ea70
test eax, eax
jne 0x45369f
call fcn.0044f160
cmp dword [eax + 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
je 0x453660
call fcn.0044f160
mov edi, dword [eax + 4]
movzx edx, si
push 0x5adf18
push edx
push edi
call ebx
test eax, eax
je 0x453660
push edi
lea ecx, [esp + 0x14]
call fcn.0044ef50
add esp, 4
test eax, eax
jne 0x45369f
movzx eax, si
push 0x5adf18
push eax
push 0x400000
call ebx
test eax, eax
je 0x453689
push 0x400000
lea ecx, [esp + 0x14]
call fcn.0044ef50
add esp, 4
test eax, eax
jne 0x45369f
push 0x5adf18
push esi
call fcn.0044f160
lea ecx, [esp + 0x18]
mov edx, eax
call fcn.0044eff0
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx - 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.0056a780
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [esp + 0x14]
push 0x10
mov dword [esp + 0x1c], edx
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x45370d
lea eax, [esi + 4]
push eax
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
push eax
mov dword [esi], vtable.Gdiplus::Image.0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x45370f
xor esi, esi
mov ecx, dword [ebp + 8]
push edi
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebx - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453752
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455600
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x58efee
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
fld dword [0x5bdf70]
lea ecx, [ebp + 8]
mov dword [ebp], vtable.BkSkinPool.0
fstp dword [ecx + 0xc]
fld dword [0x5bdf74]
xor esi, esi
fstp dword [ecx + 0x10]
mov dword [ecx], esi
fld dword [0x5bdf78]
mov dword [ecx + 4], esi
fstp dword [ecx + 0x14]
mov dword [ecx + 8], 0x11
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], esi
mov dword [ecx + 0x2c], esi
call fcn.0041d5f0
mov dword [esp + 0x34], esi
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
lea ebx, [ebp + 0x38]
call edx
add eax, 0x10
mov dword [ebx], eax
push esi
lea eax, [esp + 0x1c]
mov byte [esp + 0x38], 1
push eax
lea ecx, [ebp + 4]
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call sub.gdiplus.dll_GdiplusStartup
lea edi, [esp + 0x14]
call fcn.0048e850
mov edi, ebx
mov byte [esp + 0x34], 2
call fcn.00480f90
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4556fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4

Function at 0x455b60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x248
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x244], eax
push 0x3c
lea eax, [esp + 4]
push 0
push eax
call fcn.005695a0
push 0x206
lea ecx, [esp + 0x4e]
push 0
push ecx
mov word [esp + 0x54], 0
call fcn.005695a0
add esp, 0x18
push 0x104
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp]
lea eax, [esp + 0x3c]
push ecx
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], str.runas
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x244]
xor ecx, esp
mov eax, 1
call fcn.00564207
add esp, 0x248
ret
Function at 0x4607d0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
sub esp, 0x204
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x200], eax
test esi, esi
push ebp
mov ebp, dword [esp + 0x20c]
je 0x460867
test edi, edi
je 0x460867
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x460867
test al, 0x10
jne 0x460867
push ebx
push 0x1fe
lea eax, [esp + 0xe]
push 0
push eax
mov ebx, 0x80004005
mov word [esp + 0x14], 0
call fcn.005695a0
add esp, 0xc
push esi
push 0x100
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
push str.SPCfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x46084e
push ebp
lea edx, [esp + 0xc]
call fcn.00481c90
xor ebx, ebx
mov eax, ebx
pop ebx
pop ebp
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00564207
add esp, 0x204
ret
mov ecx, dword [esp + 0x204]
pop ebp
xor ecx, esp
mov eax, 0x80004005
call fcn.00564207
add esp, 0x204
ret