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

Disassembly:
sub esp, 0x110
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esi + 4]
cmp byte [eax + 0x511], 0
jne 0x4e8f76
lea ecx, [esp]
push ecx
push 0x20019
push 0
push str.SoftwarePopCapBeta
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e8f76
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.Name
push edx
mov dword [esp + 0x20], 0x100
call edi
test eax, eax
jne 0x4e8f1c
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e8f00
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x164]
call fcn.00402300
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.Password
push ecx
mov dword [esp + 0x20], 0x100
call edi
test eax, eax
pop edi
jne 0x4e8f6c
lea eax, [esp + 0xc]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e8f50
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x180]
call fcn.00402300
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00624940
add esp, 0x110
ret

Function at 0x4e8f90
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov eax, dword [esi + 4]
cmp byte [eax + 0x511], 0
jne 0x4e9045
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0
push 0xf003f
push 0
push 0x672aa4
push 0
push str.SoftwarePopCapBeta
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4e9045
cmp dword [esi + 0x17c], 0x10
mov ecx, dword [esi + 0x178]
jb 0x4e8feb
mov eax, dword [esi + 0x168]
jmp 0x4e8ff1
lea eax, [esi + 0x168]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push eax
mov eax, dword [esp + 0x10]
push 1
push 0
push str.Name
push eax
call edi
cmp dword [esi + 0x198], 0x10
mov eax, dword [esi + 0x194]
jb 0x4e9021
mov esi, dword [esi + 0x184]
jmp 0x4e9027
add esi, 0x184
mov ecx, dword [esp + 8]
push eax
push esi
push 1
push 0
push str.Password
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x4eac20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64e10b
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.Sexy::ResourceManager.0
call fcn.0048d0a0
mov dword [esi + 8], eax
mov byte [eax + 0x29], 1
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax], eax
mov eax, dword [esi + 8]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esp + 0x14], ebx
call fcn.004fbb60
mov dword [esi + 0x14], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x14]
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 8], eax
mov dword [esi + 0x18], ebx
mov byte [esp + 0x14], 1
call fcn.004fbb60
mov dword [esi + 0x20], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x20]
mov dword [eax], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 8], eax
mov dword [esi + 0x24], ebx
mov byte [esp + 0x14], 2
call fcn.004fbb60
mov dword [esi + 0x2c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov dword [esi + 0x30], ebx
mov eax, 0xf
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x7c], bl
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], ebx
mov byte [esi + 0x98], bl
mov byte [esp + 0x14], 7
call fcn.004fb280
mov dword [esi + 0xb8], eax
mov byte [eax + 0x35], 1
mov eax, dword [esi + 0xb8]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xb8]
mov dword [eax], eax
mov eax, dword [esi + 0xb8]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0x58], eax
mov byte [esi + 0x54], bl
mov dword [esi + 0x34], ebx
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov dword [esi + 0xc0], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x4f1b60
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64aa6b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov ebx, edx
cmp dword [0x6baacc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x4f1bbd
xor al, al
jmp 0x4f1d42
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [esp + 0x38]
push str.SexyCacheReq_d
push edx
call fcn.0062635f
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0x304
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x304
push 0
push 0
mov esi, eax
push 0xf001f
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [ebx + 0x18], 0x10
mov edi, eax
jb 0x4f1c16
mov ecx, dword [ebx + 4]
jmp 0x4f1c19
lea ecx, [ebx + 4]
mov edx, edi
jmp 0x4f1c20
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4f1c20
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0x10
jb 0x4f1c3c
mov ecx, dword [ecx + 4]
jmp 0x4f1c3f
add ecx, 4
lea edx, [edi + 0x100]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4f1c45
mov dword [edi + 0x300], 0
mov byte [esp + 0x13], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x6baacc]
mov edx, dword [0x6baac0]
push eax
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4f1d30
push eax
lea eax, [esp + 0x138]
push str.SexyCacheData_d
push eax
call fcn.0062635f
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x4f1d24
mov edx, dword [edi + 0x300]
push edx
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov eax, dword [esp + 0x14]
push 0x6baaa4
mov dword [eax], esi
mov dword [esp + 0x18], 0x6baaa4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x20]
mov dword [esp + 0x248], 0
push ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x28], ebx
push edx
mov ebx, 0x6baad0
mov dword [esp + 0x28], esi
call fcn.004f53c0
push 0x6baaa4
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x300]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret 8
Function at 0x4f1ec0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64a9fb
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
cmp dword [0x6baacc], 0
jne 0x4f1f0f
xor eax, eax
jmp 0x4f1ff9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x28]
push str.SexyCacheReq_d
push eax
call fcn.0062635f
mov esi, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
add esi, 0x304
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push 0
push 0
mov ebx, eax
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [edi + 0x18], 0x10
mov esi, eax
jb 0x4f1f65
mov ecx, dword [edi + 4]
jmp 0x4f1f68
lea ecx, [edi + 4]
mov edx, esi
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4f1f70
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0x10
jb 0x4f1f8c
mov ecx, dword [ecx + 4]
jmp 0x4f1f8f
add ecx, 4
lea edx, [esi + 0x100]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4f1f95
mov edx, dword [ebp + 0xc]
push 0x6baaa4
mov dword [esi + 0x300], edx
mov dword [esp + 0x18], 0x6baaa4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
mov dword [esp + 0x138], 0
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
add esi, 0x304
push ecx
mov ebx, 0x6baad0
mov dword [esp + 0x14], esi
call fcn.004f53c0
push 0x6baaa4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret 8
Function at 0x4ff470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65185e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.Sexy::DDInterface.0
mov dword [esp + 0x14], 3
mov eax, dword [esi + 0xd0]
push eax
call fcn.0062506e
mov eax, dword [esi + 0xd4]
push eax
call fcn.0062506e
mov eax, dword [esi + 0xd8]
push eax
call fcn.0062506e
add esp, 0xc
call fcn.005013d0
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x4ff4e1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4ff4f0
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp dword [esi + 0xd4c], 0x10
jb 0x4ff508
mov eax, dword [esi + 0xd38]
push eax
call fcn.0062493b
add esp, 4
mov dword [esi + 0xd4c], 0xf
mov dword [esi + 0xd48], 0
lea eax, [esi + 0xcf0]
mov byte [esi + 0xd38], 0
mov byte [esp + 0x14], 1
call fcn.0053b1d0
lea eax, [esi + 0x3c]
call fcn.004e6010
mov ecx, esi
call fcn.00527ca0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5081e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esi + 0x1c]
sub esp, 0xc
test eax, eax
je 0x5082c2
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.Version
push eax
mov dword [esp + 0x1c], 2
call edi
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xb0]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.MinVidMemory
push ecx
mov dword [esp + 0x20], edx
call edi
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xb4]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.RecVidMemory
push ecx
mov dword [esp + 0x24], edx
call edi
mov eax, dword [esi + 0x1c]
push 0x10
lea edx, [esi + 0x20]
push edx
push 3
push 0
push str.DisplayGUID
push eax
call edi
mov eax, dword [esi + 0x8c]
add eax, 1
cmp dword [esi + 0x90], 0x10
jb 0x50827c
mov ecx, dword [esi + 0x7c]
jmp 0x50827f
lea ecx, [esi + 0x7c]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push 1
push 0
push str.FailureReason
push ecx
call edi
mov eax, dword [esi + 0xa8]
add eax, 1
cmp dword [esi + 0xac], 0x10
jb 0x5082aa
mov ecx, dword [esi + 0x98]
jmp 0x5082b0
lea ecx, [esi + 0x98]
mov edx, dword [esi + 0x1c]
push eax
push ecx
push 1
push 0
push str.Warning
push edx
call edi
pop edi
add esp, 0xc
ret
Function at 0x509ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x6b9d90]
cmp byte [eax + 0x511], 0
jne 0x509f19
push ecx
mov ecx, esi
mov byte [esi + 0xb9], 0
call fcn.00508500
test al, al
je 0x509ecb
call fcn.00509e50
jmp 0x509f06
cmp byte [esi + 0xb8], 0
je 0x509f06
cmp byte [esi + 0xb9], 0
jne 0x509f0f
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0
push 0
push str.FailureReason
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
setne al
mov byte [esi + 0xba], al
mov byte [esi + 0xb9], 1
cmp byte [esi + 0xb9], 0
je 0x509f14
call fcn.005081e0
call fcn.00508ea0
lea ecx, [esi + 0x78]
push ecx
mov ecx, dword [0x6b9d90]
call fcn.00541b90
mov ecx, dword [0x6b9d90]
lea edx, [esi + 0x94]
push edx
call fcn.00541b90
mov ecx, dword [0x6b9d90]
add esi, 0xba
push esi
call fcn.00541cc0
pop esi
ret
Function at 0x524fd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x648d4b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
lea eax, [esi + 0x30]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00502990
mov dword [esi], vtable.Sexy::Graphics.0
call fcn.0053b3c0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
fldz
fst dword [esi + 8]
mov dword [esi + 0x40], ebx
fst dword [esi + 0xc]
mov dword [esi + 4], eax
fld1
mov dword [esi + 0x44], ebx
fst dword [esi + 0x10]
mov byte [esi + 0x48], bl
fstp dword [esi + 0x14]
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], 1
mov byte [esi + 0x4b], bl
fst dword [esi + 0x18]
fstp dword [esi + 0x1c]
jne 0x525065
mov dword [esi + 4], 0x6bac00
mov byte [esi + 0x4c], bl
jmp 0x52506d
call fcn.0050a0e0
mov byte [esi + 0x4c], al
mov ecx, dword [esi + 4]
xor edx, edx
call fcn.00527e40
mov edi, eax
call fcn.00527e50
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x527d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x653f66
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.Sexy::Image.0
xor ebx, ebx
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
mov byte [esi + 0xc], bl
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov byte [esi + 4], bl
cmp dword [edi + 0x34], ebx
je 0x527d8f
push 0x30
call fcn.00624a6a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x527d88
mov ecx, dword [edi + 0x34]
push ecx
push eax
call fcn.004ee6c0
mov dword [esi + 0x34], eax
jmp 0x527d92
xor eax, eax
mov dword [esi + 0x34], eax
jmp 0x527d92
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x528520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x653f2c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
call fcn.004fa920
mov dword [esi + 8], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax], eax
mov eax, dword [esi + 8]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esp + 0x28], ebx
mov dword [esi + 0x28], 0xf
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esp + 0x28], 3
call fcn.0053cbe0
mov dword [esi + 0x50], eax
mov byte [eax + 0x3d], 1
mov eax, dword [esi + 0x50]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x50]
mov dword [eax], eax
mov eax, dword [esi + 0x50]
mov dword [eax + 8], eax
lea edx, [esi + 0x58]
mov eax, edx
mov dword [esi + 0x54], ebx
call fcn.00502990
lea edi, [esi + 0x68]
mov eax, edi
call fcn.00502990
lea eax, [esi + 0x78]
call fcn.00539e20
mov eax, dword [esp + 0x34]
mov dword [esi + 0x9c], 0xf
mov dword [esi + 0x98], ebx
mov byte [esi + 0x88], bl
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi], eax
or eax, 0xffffffff
mov dword [esi + 0xa0], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov ecx, dword [0x6bac38]
mov dword [edx], ecx
mov eax, dword [0x6bac3c]
mov dword [edx + 4], eax
mov ecx, dword [0x6bac40]
mov dword [edx + 8], ecx
mov eax, dword [0x6bac44]
mov dword [edx + 0xc], eax
push ebx
push ebx
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x18]
call fcn.00502a40
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov byte [esi + 0xd4], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x53f5d0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x104
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [0x6b9d88], 0
jne 0x53f64d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 4]
push str.gPakInterfaceP__d
push eax
call fcn.0062635f
add esp, 0xc
lea ecx, [esp]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x6b9d88], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x6b9d8c], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00624940
add esp, 0x104
ret
mov ecx, dword [esp + 0x100]
mov edx, dword [0x6b9d8c]
mov eax, dword [edx]
xor ecx, esp
call fcn.00624940
add esp, 0x104
ret

Function at 0x53f770
Capabilities:
Read file on windows

Disassembly:
call fcn.0053f5d0
test eax, eax
je 0x53f78d
mov eax, dword [0x6b9d8c]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push edi
push 1
push ebx
call eax
ret
mov ecx, dword [esi + 8]
push ecx
push edi
push 1
push ebx
call fcn.00626e1f
add esp, 0x10
ret
Function at 0x5418c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x653df8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp byte [esi + 0x510], 0
je 0x541ac8
mov edi, 0x10
cmp dword [esi + 0x548], edi
jb 0x541911
mov eax, dword [esi + 0x534]
jmp 0x541917
lea eax, [esi + 0x534]
push 0x68103c
push eax
call fcn.006262fc
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x24], ebx
je 0x541ac8
push ebx
push 1
lea eax, [esp + 0x20]
push 4
push eax
mov dword [esp + 0x28], 0x42beef78
call fcn.00627cab
push ebx
push 1
lea ecx, [esp + 0x34]
push 4
push ecx
mov dword [esp + 0x3c], 2
call fcn.00627cab
push ebx
push 1
lea edx, [esi + 8]
push 4
push edx
call fcn.00627cab
movzx eax, word [esi + 0x3ac]
push ebx
push 1
lea ecx, [esp + 0x58]
push 2
push ecx
mov dword [esp + 0x60], eax
call fcn.00627cab
mov eax, dword [esi + 0x3ac]
add esp, 0x40
cmp dword [esi + 0x3b0], edi
jb 0x5419a2
mov ecx, dword [esi + 0x39c]
jmp 0x5419a8
lea ecx, [esi + 0x39c]
push ebx
push eax
push 1
push ecx
call fcn.00627cab
add esp, 0x10
lea eax, [esp + 0x3c]
call fcn.005653c0
mov dword [esp + 0x68], 0
mov eax, dword [esi + 0x5a8]
lea edi, [esp + 0x3c]
call fcn.00565740
mov edx, dword [esi + 0x5a4]
mov edi, dword [edx]
add esi, 0x5a0
mov dword [esp + 0x30], edi
cmp esi, esi
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
je 0x5419f7
call fcn.0062492b
cmp edi, dword [esp + 0x38]
je 0x541a45
cmp edi, dword [esi + 4]
jne 0x541a07
call fcn.0062492b
lea ebx, [edi + 8]
lea eax, [esp + 0x3c]
call fcn.00565770
cmp edi, dword [esi + 4]
jne 0x541a1d
call fcn.0062492b
mov eax, dword [edi + 0x24]
lea edi, [esp + 0x3c]
call fcn.00565740
mov edi, dword [esp + 0x30]
cmp edi, dword [esi + 4]
jne 0x541a37
call fcn.0062492b
mov ecx, dword [edi]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov edi, ecx
jmp 0x5419e7
lea eax, [esp + 0x3c]
call fcn.00565ce0
push ebx
push 1
lea edx, [esp + 0x1c]
push 4
push edx
mov dword [esp + 0x24], eax
call fcn.00627cab
mov eax, dword [esp + 0x24]
add esp, 0x10
push ebx
push 1
push eax
lea esi, [esp + 0x48]
call fcn.00565cb0
push eax
call fcn.00627cab
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x484]
push ebx
push 1
lea edx, [esp + 0x40]
push 4
push edx
mov dword [esp + 0x48], ecx
call fcn.00627cab
add esp, 0x20
add esi, 0x54c
push ebx
mov eax, esi
call fcn.00565ce0
push eax
push 1
call fcn.00565cb0
push eax
call fcn.00627cab
push ebx
call fcn.006261bc
add esp, 0x14
lea ecx, [esp + 0x3c]
call fcn.005653e0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x541cc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6538c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
call fcn.005653c0
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], 0
movzx eax, byte [edi]
push eax
lea ecx, [esp + 0x10]
call fcn.00565700
lea eax, [esp + 0xc]
mov ecx, esi
call fcn.00541ae0
lea esi, [esp + 0xc]
call fcn.00565ae0
mov ecx, esi
mov byte [edi], al
call fcn.005653e0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x542250
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3ec], 0
push edi
mov edi, dword [esp + 0xc]
je 0x542291
cmp dword [esi + 0x408], 0x10
mov ecx, dword [esi + 0x404]
jb 0x542278
mov eax, dword [esi + 0x3f4]
jmp 0x54227e
lea eax, [esi + 0x3f4]
push ecx
push eax
mov eax, dword [edi + 0x14]
push eax
push 0
mov ecx, edi
call fcn.00443b30
test eax, eax
je 0x5422e5
mov cl, byte [esp + 0x10]
push 0xffffffffffffffff
push 0
mov byte [esi + 0x3ed], cl
push edi
lea ecx, [esi + 0x3f0]
mov byte [esi + 0x3ec], 1
call fcn.00401d10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x40c], eax
cmp dword [edi + 0x18], 0x10
jb 0x5422c9
mov eax, dword [edi + 4]
jmp 0x5422cc
lea eax, [edi + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x5422ec
pop edi
mov al, 1
pop esi
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push edi
mov ecx, esi
call eax
pop edi
xor al, al
pop esi
ret 8