joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4661e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x60], 0
jne 0x466213
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x701538]
cmp eax, 0x78
jbe 0x466303
call esi
mov dword [0x701538], eax
mov dword [0x701528], 0
pop esi
ret
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x44]
cmp eax, 0x78
jbe 0x466303
mov dword [0x701528], 1
lea edx, [esi + 0x58]
mov dword [0x6d3298], edx
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x50]
add ecx, 0x1c
add eax, 0x22
mov dword [edx + 0x3c], ecx
mov dword [edx + 0x38], eax
cmp dword [esi + 0x910], 0
je 0x46629b
push 0x1d
mov ecx, 0x70ffc8
call fcn.0053aa30
test eax, eax
je 0x46629b
mov eax, dword [esi + 0x910]
cmp dword [eax + 8], 0
je 0x46629b
mov dword [0x6d329c], eax
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x910]
add edx, 0x1c
mov eax, dword [esi + 0x50]
sub eax, 0x102
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov eax, dword [esi + 0x910]
mov dword [eax + 0x1a0], 1
cmp dword [esi + 0x914], 0
je 0x466303
push 0x1d
mov ecx, 0x70ffc8
call fcn.0053aa30
test eax, eax
je 0x466303
mov eax, dword [esi + 0x914]
cmp dword [eax + 8], 0
je 0x466303
mov dword [0x6d32a0], eax
mov edx, dword [esi + 0x914]
mov cx, word [edx + 0x48]
add cx, 3
mov ax, cx
shl ax, 4
sub ax, cx
mov ecx, dword [esi + 0x54]
movzx eax, ax
sub ecx, eax
mov eax, dword [esi + 0x50]
sub eax, 0x102
mov dword [edx + 0x3c], ecx
mov dword [edx + 0x38], eax
mov eax, dword [esi + 0x914]
mov dword [eax + 0x1a0], 1
pop esi
ret

Function at 0x46c7f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
pop ebp
jmp fcn.0045a100

Function at 0x481d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e376
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6dd8d0]
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.CReinforceManager.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 0x14
mov byte [ebp - 4], 1
call fcn.0051ae00
push 0x14
lea ecx, [edi + 0x28]
call fcn.0051ae00
mov dword [edi + 0x4c], 0
mov eax, edi
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48a810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e376
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6dd8d0]
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.0051ae00
push 0x40
lea ecx, [edi + 0x28]
call fcn.0051ae00
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 0x4b1800
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c0]
jne 0x4b1848
mov eax, dword [0x708a64]
add eax, 0x1d4c0
push esi
mov dword [edi + 0x974], eax
call fcn.00470440
push 0x5bf074
lea ecx, [edi + 0x9c0]
call fcn.00470370
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0044f490
pop edi
pop ebp
ret 4
call fcn.00470440
push 0x5bf084
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.0044f490
pop edi
pop ebp
ret 4

Function at 0x4b1870
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c0]
jne 0x4b18bb
imul eax, dword [ebp + 0xc], 0x3e8
push esi
add eax, dword [0x708a64]
mov dword [edi + 0x974], eax
call fcn.00470440
push 0x5bf094
lea ecx, [edi + 0x9c0]
call fcn.00470370
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0044f490
pop edi
pop ebp
ret 8
call fcn.00470440
push 0x5bf0a4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.0044f490
pop edi
pop ebp
ret 8
Function at 0x4cb330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0b3a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6dd8d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004cb2d0
xorps xmm0, xmm0
mov dword [edi], vtable.CItem.0
lea esi, [edi + 0xa10]
mov dword [ebp - 4], 0
movdqu xmmword [edi + 0x9e4], xmm0
mov ecx, esi
movdqu xmmword [edi + 0x9f5], xmm0
call fcn.004538c0
lea ecx, [edi + 0xa30]
mov byte [ebp - 4], 1
call fcn.004538c0
lea ecx, [edi + 0xa50]
mov byte [ebp - 4], 2
call fcn.004538c0
push fcn.004538d0
push fcn.004538c0
push 0x16
push 0x20
add edi, 0xa78
mov byte [ebp - 4], 3
push edi
call fcn.00599f14
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 + 0xd3c], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx + 0x9c4], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [ecx + 0x9d4], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [ecx + 0x9e4], xmm0
movdqu xmm0, xmmword [eax + 0x30]
movdqu xmmword [ecx + 0x9f4], xmm0
mov ax, word [eax + 0x40]
mov word [ecx + 0xa04], ax
xor eax, eax
push eax
push esi
mov dword [ecx + 0xa08], 0
mov word [ecx + 0xa06], ax
mov dword [ecx + 0xa0c], eax
mov ecx, 0x701358
push 0x7f
call fcn.0045dde0
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [eax + 0xa70], 0xfafa00
mov dword [eax + 0xa74], 0xffffff
mov dword [eax + 0xd38], 0
lea ecx, [ecx]
push 8
push edi
lea eax, [esi + 0x6c]
mov ecx, 0x701358
push eax
call fcn.0045dde0
inc esi
add edi, 0x20
cmp esi, 0x16
jl 0x4cb470
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 0x4d1220
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x6dd8d0]
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 0x4d124b
mov dword [ebx + 0xc8], eax
sub eax, dword [ebx + 0xc8]
cmp eax, 0x1388
jbe 0x4d137f
mov ecx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0xb8], eax
test ecx, ecx
jle 0x4d1287
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4d1284
mov eax, dword [eax]
mov dword [ebx + 0xb8], eax
dec ecx
jne 0x4d1272
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 0x4d12a0
mov eax, dword [str.Resource.bin]
mov dword [ecx], eax
mov eax, dword [0x5c0b70]
mov dword [ecx + 4], eax
mov eax, dword [0x5c0b74]
mov dword [ecx + 8], eax
mov eax, dword [0x5c0b78]
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.004d11b0
test eax, eax
je 0x4d1356
mov ax, word [0x5c0be4]
movq xmm0, qword [str.Resource_]
mov word [ebp - 0x100], ax
mov al, byte [0x5c0be6]
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 0x4d1330
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4d1340
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 0x4d12e5
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.0059978a
mov esp, ebp
pop ebp
ret
Function at 0x4f5110
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 0x4f515d
push 0
lea eax, [ebp + 8]
push eax
push 0x6c0
lea eax, [edi + 0x6c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4f5165
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 0x1c0
lea eax, [edi + 0xf44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x4f5157
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x4f6b70
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 0x5c1f58
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f6bc3
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 0x4f6bcb
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 0x4f6bbc
push 0
lea eax, [ebp - 4]
push eax
push 0xb0
lea eax, [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f6bbc
cmp dword [ebp - 4], 0xb0
push esi
ja 0x4f6bbd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f6eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x84]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp eax, dword [esi + 0x80]
je 0x4f6ed2
mov dword [ecx + 0xb4], 1
push 0
push 0x80
push 2
push 0
lea ebx, [ecx + 4]
mov ecx, 0x2c
push 0
push 0x40000000
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push str.._ini_GameOption.opt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4f6f34
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 0xb0
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 0x513020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1f86
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6dd8d0]
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 + 0xfc], ax
mov dword [esi + 0x104], eax
mov byte [esi + 0x108], al
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x78], 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 + 0x100], 0
mov dword [esi + 0x7c], 0xffffff
mov dword [esi + 0x84], 0xffffff
call sub.MSVCR120.dll_memset
xorps xmm0, xmm0
movdqu xmmword [esi + 0x88], xmm0
mov byte [esi + 0x98], 0
movdqu xmmword [esi + 0x99], xmm0
push 0x810
movdqu xmmword [esi + 0xa9], xmm0
mov byte [esi + 0xb9], 0
movdqu xmmword [esi + 0xba], xmm0
movdqu xmmword [esi + 0xca], xmm0
mov byte [esi + 0xda], 0
movdqu xmmword [esi + 0xdb], xmm0
movdqu xmmword [esi + 0xeb], xmm0
mov byte [esi + 0xfb], 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 0x513156
mov ecx, eax
call fcn.00457930
jmp 0x513158
xor eax, eax
mov dword [esi + 0x110], eax
xorps xmm0, xmm0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
movdqu xmmword [esi + 0x15c], xmm0
push 0x20
movdqu xmmword [esi + 0x16c], xmm0
mov byte [esi + 0x17c], 0
movdqu xmmword [esi + 0x130], xmm0
mov dword [ebp - 4], 0xffffffff
movdqu xmmword [esi + 0x140], xmm0
mov byte [esi + 0x150], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 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 0x513211
mov ecx, eax
call fcn.004538c0
jmp 0x513213
xor eax, eax
mov dword [esi + 0x180], eax
xorps xmm0, xmm0
mov dword [esi + 0x1a4], 0
mov eax, esi
mov dword [esi + 0x1a8], 0
movdqu xmmword [esi + 0x1b4], xmm0
movdqu xmmword [esi + 0x1c4], xmm0
mov byte [esi + 0x1d4], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x190], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x198], 0
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 4], 0
movdqu xmmword [esi + 0x1e8], xmm0
mov byte [esi + 0x1f8], 0
mov dword [esi + 0x1e0], 0
mov dword [esi + 0x1e4], 0
movdqu xmmword [esi + 0x204], xmm0
mov byte [esi + 0x214], 0
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x200], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x519190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a49fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6dd8d0]
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.0051ae00
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 0x51f740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6dd8d0]
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 0x51f84b
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 0x51f7d5
cmp dword [ebp - 0x134], 0x6111101
jne 0x51f7d5
push 0
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x12c]
push eax
push esi
call edi
test eax, eax
je 0x51f7d5
movzx eax, byte [0x72b7c0]
cmp dword [ebp - 0x12c], eax
je 0x51f7ee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059978a
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 0x51f7d6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x829
mov ecx, 0x6d3250
call fcn.0046c860
mov edi, dword [ebp - 0x40]
mov esi, eax
push edi
push dword [ebp - 0x44]
lea ecx, [esi + 0x93c]
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.0051f040
test eax, eax
je 0x51f84a
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.0059978a
mov esp, ebp
pop ebp
ret 4

Function at 0x51f940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6dd8d0]
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 0x51fa11
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 0x51f9ab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059978a
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 0x6060801
jne 0x51f992
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x51f993
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x51fa11
mov ecx, dword [0x70797c]
test ecx, ecx
je 0x51fa11
push dword [ebp - 0xc]
call fcn.004bfd10
push dword [ebp - 0x10]
mov ecx, dword [0x70797c]
call fcn.004bfcf0
movss xmm0, dword [ebp - 8]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x72dfd8
push 0
call fcn.00565210
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0059978a
mov esp, ebp
pop ebp
ret 4
Function at 0x51ff30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x6d3250
push edi
push 0x829
call fcn.0046c860
test eax, eax
je 0x51ff71
cvttss2si ecx, dword [eax + 0x898]
mov dword [ebp - 0x44], ecx
cvttss2si eax, dword [eax + 0x89c]
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 0x51fff7
movzx ecx, byte [0x72b7c0]
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.0059978a
mov esp, ebp
pop ebp
ret 4

Function at 0x520010
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x520147
push esi
push 0
mov ecx, 0x6dd3f0
call fcn.00571010
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 + 0x18]
mov ecx, 0x6dd3f0
push 0
call fcn.00571010
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 0x5200d4
mov eax, dword [edi + 0x18]
mov ecx, 0x6dd3f0
push eax
push eax
push 0
call fcn.00571010
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.0051fa30
jmp 0x5200da
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, 2
je 0x520110
mov eax, dword [edi + 0x18]
mov ecx, 0x6dd3f0
push eax
push eax
push 0
call fcn.00571010
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.00520160
test bl, 4
je 0x520146
mov eax, dword [edi + 0x18]
mov ecx, 0x6dd3f0
push eax
push eax
push 0
call fcn.00571010
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.0051ff30
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0059978a
mov esp, ebp
pop ebp
ret 4
Function at 0x520160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x70797c]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x5201f7
push edi
call fcn.004bdbf0
movss xmm0, dword [0x72e018]
push 0
push 0x80
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [0x70797c]
push 0
push 0
push 0x40000000
mov ax, word [eax + 0x698]
push esi
mov word [ebp - 0x10], ax
movss dword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x5201f6
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 0xc
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.0059978a
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2ef3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6dd8d0]
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 + 0xbc]
mov byte [edi + 1], 0
call fcn.004538c0
lea ecx, [ebx + 0xdc]
mov byte [ebp - 4], 1
call fcn.004538c0
lea ecx, [ebx + 0xfc]
mov byte [ebp - 4], 2
call fcn.004538c0
lea ecx, [ebx + 0x11c]
mov byte [ebp - 4], 3
call fcn.004538c0
push 0x3e8
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.0051ae00
push 0x79
push 0
push edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x13c], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebx + 0xb8], 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 0x52ee70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3063
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6dd8d0]
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.0051ae00
push 0x14
lea ecx, [edi + 0x24]
call fcn.0051ae00
mov ecx, edi
call fcn.0052fc30
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