joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ed36
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.CMunpaMarkManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x40
mov byte [ebp - 4], 1
mov dword [edi + 0x4c], 0
call fcn.0049a3f0
push 0x40
lea ecx, [edi + 0x28]
call fcn.0049a3f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x489010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9b2]
jne 0x489058
mov eax, dword [0x6c9394]
add eax, 0x1d4c0
push esi
mov dword [edi + 0x966], eax
call fcn.00447bb0
push str.ANRaster.tga
lea ecx, [edi + 0x9b2]
call fcn.00447ae0
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.004266a0
pop edi
pop ebp
ret 4
call fcn.00447bb0
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.004266a0
pop edi
pop ebp
ret 4

Function at 0x489080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9b2]
jne 0x4890cb
imul eax, dword [ebp + 0xc], 0x3e8
push esi
add eax, dword [0x6c9394]
mov dword [edi + 0x966], eax
call fcn.00447bb0
push str.ANRaster.tga
lea ecx, [edi + 0x9b2]
call fcn.00447ae0
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.004266a0
pop edi
pop ebp
ret 8
call fcn.00447bb0
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.004266a0
pop edi
pop ebp
ret 8
Function at 0x4a2c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c3fa
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004a2bb0
xorps xmm0, xmm0
mov dword [edi], vtable.CItem.0
lea esi, [edi + 0xa02]
mov dword [ebp - 4], 0
movdqu xmmword [edi + 0x9d6], xmm0
mov ecx, esi
movdqu xmmword [edi + 0x9e7], xmm0
call fcn.0042b150
lea ecx, [edi + 0xa22]
mov byte [ebp - 4], 1
call fcn.0042b150
lea ecx, [edi + 0xa42]
mov byte [ebp - 4], 2
call fcn.0042b150
push fcn.0042b160
push fcn.0042b150
push 0x16
push 0x20
add edi, 0xa6a
mov byte [ebp - 4], 3
push edi
call fcn.005763f4
mov ecx, dword [ebp - 0x10]
mov eax, 0x83
mov byte [ebp - 4], 4
mov word [ecx + 0xc], ax
mov eax, dword [ebp + 8]
mov dword [ecx + 0xd2e], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx + 0x9b6], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [ecx + 0x9c6], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [ecx + 0x9d6], xmm0
movdqu xmm0, xmmword [eax + 0x30]
movdqu xmmword [ecx + 0x9e6], xmm0
mov ax, word [eax + 0x40]
mov word [ecx + 0x9f6], ax
xor eax, eax
push eax
push esi
mov dword [ecx + 0x9fa], 0
mov word [ecx + 0x9f8], ax
mov dword [ecx + 0x9fe], eax
mov ecx, 0x6c1c90
push 0x7f
call fcn.00435620
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [eax + 0xa62], 0xfafa00
mov dword [eax + 0xa66], 0xffffff
mov dword [eax + 0xd2a], 0
lea ecx, [ecx]
push 8
push edi
lea eax, [esi + 0x6c]
mov ecx, 0x6c1c90
push eax
call fcn.00435620
inc esi
add edi, 0x20
cmp esi, 0x16
jl 0x4a2d50
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4a95d0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [ebx + 0xc8], 0
jne 0x4a95fb
mov dword [ebx + 0xc8], eax
sub eax, dword [ebx + 0xc8]
cmp eax, 0x1388
jbe 0x4a972f
mov ecx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0xb8], eax
test ecx, ecx
jle 0x4a9637
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4a9634
mov eax, dword [eax]
mov dword [ebx + 0xb8], eax
dec ecx
jne 0x4a9622
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x20c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4a9650
mov eax, dword [str.Resource.bin]
mov dword [ecx], eax
mov eax, dword [0x58f9d8]
mov dword [ecx + 4], eax
mov eax, dword [0x58f9dc]
mov dword [ecx + 8], eax
mov eax, dword [0x58f9e0]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push esi
mov dword [ebp - 0x350], eax
push edi
lea eax, [ebp - 0x354]
mov ecx, ebx
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.004a9560
test eax, eax
je 0x4a9706
mov ax, word [0x58f9ec]
movq xmm0, qword [str.Resource_]
mov word [ebp - 0x100], ax
mov al, byte [0x58f9ee]
mov byte [ebp - 0xfe], al
lea eax, [ebp - 0x320]
movq qword [ebp - 0x108], xmm0
mov esi, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a96e0
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4a96f0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x350]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4a9695
call dword [sym.imp.WINMM.dll_timeGetTime]
pop edi
mov dword [ebx + 0xc8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00575c70
mov esp, ebp
pop ebp
ret
Function at 0x4cd2c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4cd30d
push 0
lea eax, [ebp + 8]
push eax
push 0x5e8
lea eax, [edi + 0x5ec]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4cd315
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
push eax
push 0x188
lea eax, [edi + 0xd5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x4cd307
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x4cec90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4cece3
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ceceb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0x71208
jne 0x4cecdc
push 0
lea eax, [ebp - 4]
push eax
push 0xad
lea eax, [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4cecdc
cmp dword [ebp - 4], 0xad
push esi
ja 0x4cecdd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cefd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x81]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp eax, dword [esi + 0x7d]
je 0x4cefef
mov dword [ecx + 0xb1], 1
lea ebx, [ecx + 4]
mov ecx, 0x2b
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4cf052
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push 0
push eax
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x71208
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 0xad
push ebx
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4eb040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d8d6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi], vtable.COBalloonName.0
push 0x3d
push eax
mov word [esi + 0xf9], ax
mov dword [esi + 0xff], eax
mov byte [esi + 0x103], al
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x75], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xfb], 0
mov dword [esi + 0x79], 0xffffff
mov dword [esi + 0x81], 0xffffff
call sub.MSVCR120.dll_memset
xorps xmm0, xmm0
movdqu xmmword [esi + 0x85], xmm0
mov byte [esi + 0x95], 0
movdqu xmmword [esi + 0x96], xmm0
push 0x809
movdqu xmmword [esi + 0xa6], xmm0
mov byte [esi + 0xb6], 0
movdqu xmmword [esi + 0xb7], xmm0
movdqu xmmword [esi + 0xc7], xmm0
mov byte [esi + 0xd7], 0
movdqu xmmword [esi + 0xd8], xmm0
movdqu xmmword [esi + 0xe8], xmm0
mov byte [esi + 0xf8], 0
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4eb176
mov ecx, eax
call fcn.0042f100
jmp 0x4eb178
xor eax, eax
mov dword [esi + 0x108], eax
xorps xmm0, xmm0
mov dword [esi + 0x104], 0
mov dword [esi + 0x11a], 0
mov dword [esi + 0x10e], 0
mov dword [esi + 0x112], 0
mov dword [esi + 0x116], 0
movdqu xmmword [esi + 0x14f], xmm0
push 0x20
movdqu xmmword [esi + 0x15f], xmm0
mov byte [esi + 0x16f], 0
movdqu xmmword [esi + 0x126], xmm0
mov dword [ebp - 4], 0xffffffff
movdqu xmmword [esi + 0x136], xmm0
mov byte [esi + 0x146], 0
mov dword [esi + 0x11e], 0
mov dword [esi + 0x122], 0
mov dword [esi + 0x147], 0
mov dword [esi + 0x14b], 0
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4eb231
mov ecx, eax
call fcn.0042b150
jmp 0x4eb233
xor eax, eax
mov dword [esi + 0x170], eax
xorps xmm0, xmm0
mov dword [esi + 0x194], 0
mov eax, esi
mov dword [esi + 0x198], 0
movdqu xmmword [esi + 0x1a4], xmm0
movdqu xmmword [esi + 0x1b4], xmm0
mov byte [esi + 0x1c4], 0
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x1c5], 0
mov dword [esi + 0x1c9], 0
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x190], 0
mov dword [esi + 4], 0
movdqu xmmword [esi + 0x1d5], xmm0
mov byte [esi + 0x1e5], 0
mov dword [esi + 0x1cd], 0
mov dword [esi + 0x1d1], 0
movdqu xmmword [esi + 0x1ee], xmm0
mov byte [esi + 0x1fe], 0
mov dword [esi + 0x1e6], 0
mov dword [esi + 0x1ea], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f11e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cecb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CNewbieGuide.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 0x60
mov dword [ebp - 4], 0
call fcn.0049a3f0
mov dword [esi + 0x30], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f7a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov dword [ebp - 0x130], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f7b1b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x128]
push 0
push eax
push 4
lea eax, [ebp - 0x134]
push eax
push esi
call edi
test eax, eax
je 0x4f7aa5
cmp dword [ebp - 0x134], 0x6111101
jne 0x4f7aa5
push 0
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x12c]
push eax
push esi
call edi
test eax, eax
je 0x4f7aa5
movzx eax, byte [0x6eb5d6]
cmp dword [ebp - 0x12c], eax
je 0x4f7abe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x128]
push eax
push 0x120
lea eax, [ebp - 0x124]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4f7aa6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x82b
mov ecx, 0x69cd90
call fcn.004440f0
mov edi, dword [ebp - 0x40]
mov esi, eax
push edi
push dword [ebp - 0x44]
lea ecx, [esi + 0x92e]
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.004f7310
test eax, eax
je 0x4f7b1a
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x44]
call dword [eax + 0x24]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4

Function at 0x4f7c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f7ce1
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4f7c7b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 0x6060801
jne 0x4f7c62
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x4f7c63
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x19], 0
je 0x4f7ce1
mov ecx, dword [0x6c82a4]
test ecx, ecx
je 0x4f7ce1
push dword [ebp - 0xe]
call fcn.004974b0
push dword [ebp - 0x10]
mov ecx, dword [0x6c82a4]
call fcn.00497490
movss xmm0, dword [ebp - 0xa]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x6eddd8
push 0
call fcn.0053da60
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4
Function at 0x4f8200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x69cd90
push edi
push 0x82b
call fcn.004440f0
test eax, eax
je 0x4f8241
cvttss2si ecx, dword [eax + 0x88d]
mov dword [ebp - 0x44], ecx
cvttss2si eax, dword [eax + 0x891]
mov dword [ebp - 0x40], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4f82c7
movzx ecx, byte [0x6eb5d6]
lea eax, [ebp - 0x128]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push eax
push 4
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x6111101
push eax
push edi
mov dword [ebp - 0x130], ecx
call esi
push 0
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x130]
push eax
push edi
call esi
push 0
lea eax, [ebp - 0x128]
push eax
push 0x120
lea eax, [ebp - 0x124]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4

Function at 0x4f82e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x4f8417
push esi
push 0
mov ecx, 0x6a6f10
call fcn.00549880
push eax
lea eax, [ebp - 0x108]
push str._sData
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x108]
add esp, 0xc
push 0
push eax
call esi
push dword [edi + 0x15]
mov ecx, 0x6a6f10
push 0
call fcn.00549880
push eax
lea eax, [ebp - 0x108]
push str._sData_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
call esi
test bl, 1
je 0x4f83a4
mov eax, dword [edi + 0x15]
mov ecx, 0x6a6f10
push eax
push eax
push 0
call fcn.00549880
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UII
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004f7d00
jmp 0x4f83aa
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, 2
je 0x4f83e0
mov eax, dword [edi + 0x15]
mov ecx, 0x6a6f10
push eax
push eax
push 0
call fcn.00549880
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIS
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004f8430
test bl, 4
je 0x4f8416
mov eax, dword [edi + 0x15]
mov ecx, 0x6a6f10
push eax
push eax
push 0
call fcn.00549880
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIR
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004f8200
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4
Function at 0x4f8430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6c82a4]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x4f84c7
push edi
call fcn.00495360
movss xmm0, dword [0x6ede18]
push 0
push 0x80
push 2
mov dword [ebp - 0xe], eax
mov eax, dword [0x6c82a4]
push 0
push 0
push 0x40000000
mov ax, word [eax + 0x684]
push esi
mov word [ebp - 0x10], ax
movss dword [ebp - 0xa], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4f84c6
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x14]
push 0
push eax
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x6060801
push eax
push edi
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e9a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CEventMap.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
lea edi, [ebx + 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0xbd]
mov byte [edi + 1], 0
call fcn.0042b150
lea ecx, [ebx + 0xdd]
mov byte [ebp - 4], 1
call fcn.0042b150
lea ecx, [ebx + 0xfd]
mov byte [ebp - 4], 2
call fcn.0042b150
lea ecx, [ebx + 0x11d]
mov byte [ebp - 4], 3
call fcn.0042b150
push 0x3e8
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.0049a3f0
push 0x7d
push 0
push edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0xb5], 0
mov dword [ebx + 0xb1], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x13d], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebx + 0xb9], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x507130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eb13
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push 0xa
mov byte [ebp - 4], 1
call fcn.0049a3f0
push 0x14
lea ecx, [edi + 0x24]
call fcn.0049a3f0
mov ecx, edi
call fcn.00507eb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x50e4a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ed36
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.FameManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x64
mov byte [ebp - 4], 1
call fcn.0049a3f0
push 0x64
lea ecx, [edi + 0x28]
call fcn.0049a3f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret