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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
mov dword [esi + 0x930], 0
je 0x4640f2
cmp dword [esi + 0x2c], 0
jne 0x4640f2
cmp dword [0x6c82a8], 0
push edi
mov edi, dword [ebp + 8]
jne 0x46404b
push dword [edi + 0x260]
push dword [edi + 0x25c]
call fcn.00464530
test eax, eax
je 0x46404b
cmp dword [0x6c827c], 0
je 0x463ff7
cmp dword [0x6c82b8], esi
je 0x46402e
mov dword [esi + 0x930], 0x100000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x40], eax
sub eax, dword [esi + 0x44]
cmp eax, 0x78
jbe 0x46402e
mov dword [0x6f6328], 1
mov eax, dword [edi + 0x25c]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x260]
mov dword [esi + 0x54], eax
cmp dword [0x6c827c], 0
jne 0x46407a
test byte [esi + 0xc], 0x80
je 0x46407a
push 0
mov ecx, 0x6c7fd0
call fcn.00449630
jmp 0x46407a
cmp dword [0x6f6324], 0
mov dword [0x6f6328], 0
je 0x46406e
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
jmp 0x46407a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
cmp dword [0x6c82ac], 0
jne 0x4640e6
push dword [edi + 0x270]
mov ecx, esi
push dword [edi + 0x26c]
call fcn.00464530
test eax, eax
je 0x4640e6
cmp dword [edi + 0x220], 0
je 0x4640ad
or dword [esi + 0x930], 0x400
cmp dword [edi + 0x224], 0
je 0x4640c0
or dword [esi + 0x930], 0x200
cmp dword [edi + 0x238], 0
je 0x4640d3
or dword [esi + 0x930], 0x10000
cmp dword [edi + 0x23c], 0
je 0x4640e6
or dword [esi + 0x930], 0x20000
mov eax, dword [esi + 0x930]
pop edi
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x4645b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x46461e
mov ecx, dword [esi + 0x888]
test ecx, ecx
je 0x464609
mov edx, dword [esi + 0x894]
mov eax, 0x51eb851f
imul edx, dword [esi + 0x890]
mul edx
lea eax, [esi + 0x898]
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x88c]
push edx
push eax
push ecx
mov dword [esp], 0
lea eax, [esi + 0x900]
push 0
push eax
call fcn.00451f60
mov ecx, esi
pop esi
jmp fcn.00464830
mov eax, dword [0x6f6320]
xor ecx, ecx
cmp dword [0x6fd6ac], ecx
cmovne eax, ecx
mov dword [0x6f6320], eax
pop esi
ret
Function at 0x464830
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x60], 0
jne 0x464863
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x6f6330]
cmp eax, 0x78
jbe 0x464953
call esi
mov dword [0x6f6330], eax
mov dword [0x6f6324], 0
pop esi
ret
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x44]
cmp eax, 0x78
jbe 0x464953
mov dword [0x6f6324], 1
lea edx, [esi + 0x58]
mov dword [0x6c8298], 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 0x4648eb
push 0x1d
mov ecx, 0x704830
call fcn.00538da0
test eax, eax
je 0x4648eb
mov eax, dword [esi + 0x910]
cmp dword [eax + 8], 0
je 0x4648eb
mov dword [0x6c829c], 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 0x464953
push 0x1d
mov ecx, 0x704830
call fcn.00538da0
test eax, eax
je 0x464953
mov eax, dword [esi + 0x914]
cmp dword [eax + 8], 0
je 0x464953
mov dword [0x6c82a0], 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 0x46ae30
Capabilities:
Parse pe header

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

Function at 0x480040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c706
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d28d0]
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.0053daf0
push 0x14
lea ecx, [edi + 0x28]
call fcn.0053daf0
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 0x488b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c706
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d28d0]
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.0053daf0
push 0x40
lea ecx, [edi + 0x28]
call fcn.0053daf0
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 0x4af8a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c0]
jne 0x4af8e8
mov eax, dword [0x6fd56c]
add eax, 0x1d4c0
push esi
mov dword [edi + 0x974], eax
call fcn.0046e970
push str.ANRaster.tga
lea ecx, [edi + 0x9c0]
call fcn.0046e8a0
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0044dbc0
pop edi
pop ebp
ret 4
call fcn.0046e970
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.0044dbc0
pop edi
pop ebp
ret 4

Function at 0x4af910
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c0]
jne 0x4af95b
imul eax, dword [ebp + 0xc], 0x3e8
push esi
add eax, dword [0x6fd56c]
mov dword [edi + 0x974], eax
call fcn.0046e970
push str.ANRaster.tga
lea ecx, [edi + 0x9c0]
call fcn.0046e8a0
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0044dbc0
pop edi
pop ebp
ret 8
call fcn.0046e970
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.0044dbc0
pop edi
pop ebp
ret 8
Function at 0x4c94d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e88a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d28d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004c9470
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.00451f10
lea ecx, [edi + 0xa30]
mov byte [ebp - 4], 1
call fcn.00451f10
lea ecx, [edi + 0xa50]
mov byte [ebp - 4], 2
call fcn.00451f10
push fcn.00451f20
push fcn.00451f10
push 0x16
push 0x20
add edi, 0xa78
mov byte [ebp - 4], 3
push edi
call fcn.00597e04
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, 0x6f6168
push 0x7f
call fcn.0045c430
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, 0x6f6168
push eax
call fcn.0045c430
inc esi
add edi, 0x20
cmp esi, 0x16
jl 0x4c9610
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 0x4cf3f0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x6d28d0]
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 0x4cf41b
mov dword [ebx + 0xc8], eax
sub eax, dword [ebx + 0xc8]
cmp eax, 0x1388
jbe 0x4cf54f
mov ecx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0xb8], eax
test ecx, ecx
jle 0x4cf457
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4cf454
mov eax, dword [eax]
mov dword [ebx + 0xb8], eax
dec ecx
jne 0x4cf442
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 0x4cf470
mov eax, dword [str.Resource.bin]
mov dword [ecx], eax
mov eax, dword [0x5b8b88]
mov dword [ecx + 4], eax
mov eax, dword [0x5b8b8c]
mov dword [ecx + 8], eax
mov eax, dword [0x5b8b90]
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.004cf380
test eax, eax
je 0x4cf526
mov ax, word [0x5b8b9c]
movq xmm0, qword [str.Resource_]
mov word [ebp - 0x100], ax
mov al, byte [0x5b8b9e]
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 0x4cf500
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4cf510
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 0x4cf4b5
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.00597574
mov esp, ebp
pop ebp
ret
Function at 0x4f31c0
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 0x4f320d
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 0x4f3215
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 0x4f3207
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x4f4bf0
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 0x4f4c43
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 0x4f4c4b
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 0x4f4c3c
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 0x4f4c3c
cmp dword [ebp - 4], 0xb0
push esi
ja 0x4f4c3d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f4f30
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 0x4f4f52
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 0x4f4fb4
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 0x510f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d6f6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d28d0]
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 0x511046
mov ecx, eax
call fcn.00455f80
jmp 0x511048
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 0x511101
mov ecx, eax
call fcn.00451f10
jmp 0x511103
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 0x517020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f62b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d28d0]
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.0053daf0
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 0x51d890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6d28d0]
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 0x51d99b
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 0x51d925
cmp dword [ebp - 0x134], 0x6111101
jne 0x51d925
push 0
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x12c]
push eax
push esi
call edi
test eax, eax
je 0x51d925
movzx eax, byte [0x720018]
cmp dword [ebp - 0x12c], eax
je 0x51d93e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00597574
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 0x51d926
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x829
mov ecx, 0x6c8250
call fcn.0046aea0
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.0051d190
test eax, eax
je 0x51d99a
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.00597574
mov esp, ebp
pop ebp
ret 4

Function at 0x51da90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6d28d0]
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 0x51db61
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 0x51dafb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00597574
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 0x6060801
jne 0x51dae2
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 0x51dae3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x51db61
mov ecx, dword [0x6fc4c4]
test ecx, ecx
je 0x51db61
push dword [ebp - 0xc]
call fcn.004bde40
push dword [ebp - 0x10]
mov ecx, dword [0x6fc4c4]
call fcn.004bde20
movss xmm0, dword [ebp - 8]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x7226a8
push 0
call fcn.00563480
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00597574
mov esp, ebp
pop ebp
ret 4
Function at 0x51e080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x6c8250
push edi
push 0x829
call fcn.0046aea0
test eax, eax
je 0x51e0c1
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 0x51e147
movzx ecx, byte [0x720018]
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.00597574
mov esp, ebp
pop ebp
ret 4

Function at 0x51e160
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x51e297
push esi
push 0
mov ecx, 0x6d23f0
call fcn.0056f290
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, 0x6d23f0
push 0
call fcn.0056f290
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 0x51e224
mov eax, dword [edi + 0x18]
mov ecx, 0x6d23f0
push eax
push eax
push 0
call fcn.0056f290
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.0051db80
jmp 0x51e22a
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, 2
je 0x51e260
mov eax, dword [edi + 0x18]
mov ecx, 0x6d23f0
push eax
push eax
push 0
call fcn.0056f290
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.0051e2b0
test bl, 4
je 0x51e296
mov eax, dword [edi + 0x18]
mov ecx, 0x6d23f0
push eax
push eax
push 0
call fcn.0056f290
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.0051e080
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00597574
mov esp, ebp
pop ebp
ret 4