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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdbf6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6fb05c]
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]
xor eax, eax
mov dword [edi], vtable.CMunpaMarkManager.0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
push 0x40
mov byte [ebp - 4], 1
mov dword [edi + 0x4c], eax
call fcn.004ccf50
push 0x40
lea ecx, [edi + 0x28]
call fcn.004ccf50
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 0x47cb40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push edi
mov edi, ecx
test eax, eax
jne 0x47cb63
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop ebx
pop ebp
ret 4
push esi
push eax
mov ecx, 0x70bd88
call fcn.004b5690
mov esi, eax
test esi, esi
je 0x47cb82
mov ax, word [ebx + 6]
mov word [esi + 0x28e], ax
jmp 0x47cbb1
push str.CItemShopGridDialog::AddItem
push ebx
mov ecx, 0x70bd88
call fcn.004b8bb0
mov esi, eax
test esi, esi
jne 0x47cb9f
pop esi
pop edi
pop ebx
pop ebp
ret 4
push esi
mov ecx, 0x70bd88
mov dword [esi + 0x24], 1
call fcn.004c2790
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
movzx ecx, ax
push ecx
mov ecx, edi
call fcn.0047ca60
movzx eax, ax
push esi
push eax
mov ecx, edi
call fcn.00435220
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x498720
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jne 0x498763
mov eax, dword [0x70c0a4]
add eax, 0x1d4c0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], eax
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.004502c0
push 0x5d6040
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.004502f0
jmp 0x49877c
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.004502c0
push 0x5d6050
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004303a0
mov esp, ebp
pop ebp
ret 4

Function at 0x498790
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jne 0x4987d8
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
add eax, dword [0x70c0a4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], eax
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.004502c0
push 0x5d6060
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.004502f0
jmp 0x4987f1
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.004502c0
push 0x5d6070
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004303a0
mov esp, ebp
pop ebp
ret 8
Function at 0x49aa90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf5d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6fb05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xa
call fcn.005991e0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
push 0xa
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
call fcn.005991e0
push 0xa
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 3
call fcn.005991e0
push 0xa
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 4
call fcn.005991e0
push 0xa
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 5
call fcn.005991e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bd930
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
call ebx
cmp dword [esi + 0xf4], 0
jne 0x4bd95e
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4bda4c
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4bd994
test eax, eax
je 0x4bd991
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4bd985
push edi
push 0
push 2
mov dword [ebp - 0x1ac], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4bda4b
lea ecx, [ebp - 0x1ac]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4bda3c
jmp 0x4bd9d0
lea edx, [ebp - 0x188]
push edx
lea eax, [ebp - 0x84]
push 0x5d8f88
push eax
call fcn.0059f1bf
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov ecx, esi
call fcn.004b8980
test eax, eax
je 0x4bda2b
mov ecx, 0x71b608
call fcn.0053d660
push 0x230
mov ecx, 0x70d178
call fcn.004dfa40
push eax
push 1
push 0x179e
push 0x70a870
call fcn.0044c830
add esp, 0x10
lea edx, [ebp - 0x1ac]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4bd9d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [esi + 0xf4], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0059eb13
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp byte [0x6f6ba5], 0
push esi
mov esi, ecx
je 0x4d11b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x70c0b8], eax
mov byte [0x6f6ba5], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x70c0b8], eax
cmp eax, ecx
jae 0x4d11ca
dec edx
mov dword [0x70c0a0], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x70c0a0]
add dword [0x70c0a4], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x4d11f4
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret
Function at 0x4d9a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d9a52
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp + 8]
push ecx
push 0x520
lea edx, [edi + 0x524]
push edx
push esi
call ebx
test eax, eax
jne 0x4d9a82
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
push eax
push 0xc0
add edi, 0xb04
push edi
push esi
call ebx
push esi
test eax, eax
je 0x4d9a73
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x4ddd70
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 0x5da228
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ddda6
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4ddde6
cmp dword [ebp - 8], 0x61208
jne 0x4ddde6
push 0
lea edx, [ebp - 4]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x4dddf6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 4], 0xac
push esi
ja 0x4ddde7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dde20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4dde85
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 4]
push ecx
push esi
mov dword [ebp - 4], 0x61208
call edi
push 0
lea edx, [ebp - 8]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4de9c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x9720], eax
push edi
lea edi, [ecx + 0x9720]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], al
mov eax, dword [ecx + 0x9708]
mov ecx, dword [ecx + eax*4 + 0x96e0]
push edx
mov dword [ebp - 0x20], edi
call fcn.00437f60
test eax, eax
je 0x4deba6
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4dea3f
cmp ecx, 0xffb9f145
je 0x4dea3f
cmp ecx, 0xff01d1f7
je 0x4dea3f
cmp ecx, 0xfff0ff00
je 0x4dea3f
cmp ecx, 0xfff7b618
je 0x4dea3f
cmp ecx, 0xffebc3ce
jne 0x4deba6
push ebx
lea ebx, [eax + 4]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4dea48
sub eax, edx
push esi
mov dword [ebp - 0x2c], eax
mov esi, 0
je 0x4dea5e
mov esi, ebx
xor ebx, ebx
cmp byte [esi], 0x5b
jne 0x4deba4
xor ecx, ecx
inc esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], ecx
cmp eax, ecx
jle 0x4deba4
lea ecx, [ecx]
cmp byte [ecx + esi], 0x5d
jne 0x4deaef
lea edi, [ebx + 1]
xor eax, eax
push edi
lea ecx, [ebp - 0x18]
push esi
push ecx
mov dword [ebp - 0x28], 1
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
call fcn.0053ef70
push 5
push 0x5da34c
push esi
call fcn.005a161a
add esp, 0x18
test eax, eax
je 0x4dead5
push 5
push 0x5da354
push esi
call fcn.005a161a
add esp, 0xc
test eax, eax
jne 0x4deafa
cmp dword [ebp - 0x1c], 0
jne 0x4deafa
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
jmp 0x4deaf0
inc ebx
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jl 0x4dea80
jmp 0x4deafd
mov edi, dword [ebp - 0x20]
cmp ebx, 0x10
jg 0x4deba4
cmp dword [ebp - 0x28], 0
je 0x4deba4
cmp dword [ebp - 0x1c], 0
je 0x4deb1b
add ebx, 2
jmp 0x4deb1c
inc ebx
push ebx
push esi
push edi
call fcn.0053ef70
mov edx, dword [0x6fc7c0]
add esp, 0xc
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4deba4
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x12
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4deb77
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x12
push edi
push eax
mov byte [eax], 0
call fcn.0053ef70
add esp, 0xc
push esi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
push 0x65e
mov ecx, 0x70d178
call fcn.004dfa40
push eax
push 0x1d
push 0x70d178
call fcn.004e0dc0
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 4
Function at 0x4fabb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c207b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6fb05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x3d
lea eax, [esi + 0x4c]
push ebx
push eax
mov dword [esi], vtable.COBalloonName.0
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x148], ebx
mov byte [esi + 0x14c], bl
mov dword [esi + 0x90], 0xffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0059eb30
xor eax, eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov byte [esi + 0xa4], al
mov dword [esi + 0xa5], eax
mov dword [esi + 0xa9], eax
mov dword [esi + 0xad], eax
mov dword [esi + 0xb1], eax
mov dword [esi + 0xb5], eax
mov dword [esi + 0xb9], eax
mov dword [esi + 0xbd], eax
mov dword [esi + 0xc1], eax
mov byte [esi + 0xc5], al
mov dword [esi + 0xc6], eax
mov dword [esi + 0xca], eax
mov dword [esi + 0xce], eax
mov dword [esi + 0xd2], eax
mov dword [esi + 0xd6], eax
mov dword [esi + 0xda], eax
mov dword [esi + 0xde], eax
mov dword [esi + 0xe2], eax
mov byte [esi + 0xe6], al
mov dword [esi + 0xe7], eax
mov dword [esi + 0xeb], eax
mov dword [esi + 0xef], eax
mov dword [esi + 0xf3], eax
mov dword [esi + 0xf7], eax
mov dword [esi + 0xfb], eax
mov dword [esi + 0xff], eax
mov dword [esi + 0x103], eax
mov byte [esi + 0x107], al
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov byte [esi + 0x128], al
mov dword [esi + 0x129], eax
mov dword [esi + 0x12d], eax
mov dword [esi + 0x131], eax
mov dword [esi + 0x135], eax
push 0x144
mov byte [esi + 0x139], al
call fcn.0059ebc0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4fad79
mov ecx, eax
call fcn.00438e00
jmp 0x4fad7b
xor eax, eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x150], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x13c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fd9f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c22a3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6fb05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor esi, esi
mov dword [edi], vtable.CQuestManager.0
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [ebp - 4], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
mov dword [edi + 0x5c], esi
mov dword [edi + 0x60], esi
mov dword [edi + 0x70], esi
mov dword [edi + 0x74], esi
mov dword [edi + 0x78], esi
mov dword [edi + 0x7c], esi
mov dword [edi + 0x80], esi
mov dword [edi + 0x84], esi
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 3
call fcn.004fd3d0
lea ecx, [edi + 0x144]
mov byte [ebp - 4], 4
call fcn.00500a40
push 0x3e8
lea ecx, [edi + 4]
mov byte [ebp - 4], 5
call fcn.004ccf50
push 0xc8
lea ecx, [edi + 0x28]
call fcn.004ccf50
push 0x3e8
lea ecx, [edi + 0x4c]
call fcn.004ccf50
push 0x64
lea ecx, [edi + 0x70]
call fcn.004ccf50
push 4
call fcn.0059ebc0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
cmp eax, esi
je 0x4fdae7
mov ecx, eax
call fcn.004ff8b0
jmp 0x4fdae9
xor eax, eax
push 0x80
mov dword [edi + 0x94], eax
lea eax, [edi + 0xc0]
push esi
push eax
call fcn.0059eb30
add esp, 0xc
mov dword [edi + 0x140], esi
mov dword [edi + 0x178], esi
mov eax, edi
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 0x500a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c242b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6fb05c]
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]
xor edi, edi
mov dword [esi], vtable.CNewbieGuide.0
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
push 0x60
mov dword [ebp - 4], edi
call fcn.004ccf50
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x505ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2c56
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6fb05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi], vtable.CPKManager.0
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
lea ecx, [edi + 0x40]
mov dword [ebp - 4], eax
call fcn.00599d30
push 3
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0xea60
call fcn.004ccf50
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 0x5086f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6fb05c]
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 0x5087c0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push esi
call edi
test eax, eax
je 0x50874e
cmp dword [ebp - 0x18], 0x6060801
je 0x508768
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 4
push 0
lea edx, [ebp - 0x14]
push edx
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call edi
push esi
test eax, eax
je 0x50874f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x5087bf
mov ecx, dword [0x70b17c]
test ecx, ecx
je 0x5087bf
mov edx, dword [ebp - 0xc]
push edx
call fcn.004a4ad0
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x70b17c]
push eax
call fcn.004a3e50
fld dword [ebp - 8]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x7384c0
call fcn.00571c90
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 4

Function at 0x5087e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x70b17c]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x508873
call fcn.004a4ac0
fld dword [0x738500]
push 0
push 0x80
push 2
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [0x70b17c]
mov cx, word [eax + 0x688]
fstp dword [ebp - 8]
push 0
push 0x40000000
push esi
mov word [ebp - 0x10], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x508873
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0x6060801
call edi
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea edx, [ebp - 0x10]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 4
Function at 0x509730
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x509825
push ebx
push edi
push 0
mov ecx, 0x738de8
call fcn.0057f7c0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x108]
push str._sData
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [ebp - 0x108]
push ecx
call ebx
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x738de8
call fcn.0057f7c0
push eax
lea eax, [ebp - 0x108]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [ebp - 0x108]
push ecx
call ebx
mov bl, byte [ebp + 8]
test bl, 1
je 0x5097ed
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x738de8
call fcn.0057f7c0
push eax
lea edx, [ebp - 0x108]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.005090e0
test bl, 2
je 0x509823
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x738de8
call fcn.0057f7c0
push eax
lea ecx, [ebp - 0x108]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [ebp - 0x108]
push edx
mov ecx, esi
call fcn.005087e0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 4

Function at 0x510df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c334b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6fb05c]
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]
xor edi, edi
mov dword [esi], vtable.CGuildFieldWar.0
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
push 0x14
mov dword [ebp - 4], edi
call fcn.004ccf50
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x515b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c35ad
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6fb05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.CEventMap.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
lea ecx, [esi + 0x58]
mov dword [ebp - 4], ebx
call fcn.004355c0
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 1
call fcn.004355c0
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 2
call fcn.004355c0
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 3
call fcn.004355c0
push 0x3e8
lea ecx, [esi + 4]
mov byte [ebp - 4], 4
call fcn.004ccf50
xor eax, eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov byte [esi + 0x48], al
mov dword [esi + 0x54], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret