joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bd3b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x6f405c]
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 0x4bd3de
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4bd4cc
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4bd414
test eax, eax
je 0x4bd411
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4bd405
push edi
push 0
push 2
mov dword [ebp - 0x1ac], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4bd4cb
lea ecx, [ebp - 0x1ac]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4bd4bc
jmp 0x4bd450
lea edx, [ebp - 0x188]
push edx
lea eax, [ebp - 0x84]
push 0x5ca95c
push eax
call fcn.0059ec3f
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov ecx, esi
call fcn.004b8480
test eax, eax
je 0x4bd4ab
mov ecx, 0x714448
call fcn.0053d220
push 0x230
mov ecx, 0x705fd8
call fcn.004df390
push eax
push 1
push 0x179e
push 0x703860
call fcn.0044c5d0
add esp, 0x10
lea edx, [ebp - 0x1ac]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4bd450
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.0059e593
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp byte [0x6efba5], 0
push esi
mov esi, ecx
je 0x4d0b93
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x7050a0], eax
mov byte [0x6efba5], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x7050a0], eax
cmp eax, ecx
jae 0x4d0baa
dec edx
mov dword [0x705088], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x705088]
add dword [0x70508c], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x4d0bd4
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret

Function at 0x4d9390
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 0x4d93c2
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 0x47c
lea edx, [edi + 0x480]
push edx
push esi
call ebx
test eax, eax
jne 0x4d93f2
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 0xa8
add edi, 0x9a4
push edi
push esi
call ebx
push esi
test eax, eax
je 0x4d93e3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x4dd6c0
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
jne 0x4dd6f6
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 0x4dd736
cmp dword [ebp - 8], 0x61208
jne 0x4dd736
push 0
lea edx, [ebp - 4]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x4dd746
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 0x4dd737
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dd770
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 0x4dd7d5
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 0x4de310
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6f405c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x95c8], eax
push edi
lea edi, [ecx + 0x95c8]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], al
mov eax, dword [ecx + 0x95b2]
mov ecx, dword [ecx + eax*4 + 0x958a]
push edx
mov dword [ebp - 0x20], edi
call fcn.00437d30
test eax, eax
je 0x4de4f6
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4de38f
cmp ecx, 0xffb9f145
je 0x4de38f
cmp ecx, 0xff01d1f7
je 0x4de38f
cmp ecx, 0xfff0ff00
je 0x4de38f
cmp ecx, 0xfff7b618
je 0x4de38f
cmp ecx, 0xffebc3ce
jne 0x4de4f6
push ebx
lea ebx, [eax + 4]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4de398
sub eax, edx
push esi
mov dword [ebp - 0x2c], eax
mov esi, 0
je 0x4de3ae
mov esi, ebx
xor ebx, ebx
cmp byte [esi], 0x5b
jne 0x4de4f4
xor ecx, ecx
inc esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], ecx
cmp eax, ecx
jle 0x4de4f4
lea ecx, [ecx]
cmp byte [ecx + esi], 0x5d
jne 0x4de43f
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.0053eb30
push 5
push 0x5d6b78
push esi
call fcn.005a109a
add esp, 0x18
test eax, eax
je 0x4de425
push 5
push 0x5d6b70
push esi
call fcn.005a109a
add esp, 0xc
test eax, eax
jne 0x4de44a
cmp dword [ebp - 0x1c], 0
jne 0x4de44a
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
jmp 0x4de440
inc ebx
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jl 0x4de3d0
jmp 0x4de44d
mov edi, dword [ebp - 0x20]
cmp ebx, 0x10
jg 0x4de4f4
cmp dword [ebp - 0x28], 0
je 0x4de4f4
cmp dword [ebp - 0x1c], 0
je 0x4de46b
add ebx, 2
jmp 0x4de46c
inc ebx
push ebx
push esi
push edi
call fcn.0053eb30
mov edx, dword [0x6f57c0]
add esp, 0xc
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4de4f4
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 0x4de4c7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x12
push edi
push eax
mov byte [eax], 0
call fcn.0053eb30
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, 0x705fd8
call fcn.004df390
push eax
push 0x1d
push 0x705fd8
call fcn.004e0700
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0059e593
mov esp, ebp
pop ebp
ret 4
Function at 0x4fa500
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1b4b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6f405c]
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 + 0x8a], 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 + 0x140], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x144], ebx
mov byte [esi + 0x148], bl
mov dword [esi + 0x8e], 0xffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0059e5b0
xor eax, eax
mov dword [esi + 0x92], eax
mov dword [esi + 0x96], eax
mov dword [esi + 0x9a], eax
mov dword [esi + 0x9e], eax
mov byte [esi + 0xa2], al
mov dword [esi + 0xa3], eax
mov dword [esi + 0xa7], eax
mov dword [esi + 0xab], eax
mov dword [esi + 0xaf], eax
mov dword [esi + 0xb3], eax
mov dword [esi + 0xb7], eax
mov dword [esi + 0xbb], eax
mov dword [esi + 0xbf], eax
mov byte [esi + 0xc3], al
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov byte [esi + 0xe4], al
mov dword [esi + 0xe5], eax
mov dword [esi + 0xe9], eax
mov dword [esi + 0xed], eax
mov dword [esi + 0xf1], eax
mov dword [esi + 0xf5], eax
mov dword [esi + 0xf9], eax
mov dword [esi + 0xfd], eax
mov dword [esi + 0x101], eax
mov byte [esi + 0x105], al
mov dword [esi + 0x106], eax
mov dword [esi + 0x10a], eax
mov dword [esi + 0x10e], eax
mov dword [esi + 0x112], eax
mov dword [esi + 0x116], eax
mov dword [esi + 0x11a], eax
mov dword [esi + 0x11e], eax
mov dword [esi + 0x122], eax
mov byte [esi + 0x126], al
mov dword [esi + 0x127], eax
mov dword [esi + 0x12b], eax
mov dword [esi + 0x12f], eax
mov dword [esi + 0x133], eax
push 0x142
mov byte [esi + 0x137], al
call fcn.0059e640
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4fa6c9
mov ecx, eax
call fcn.00438bd0
jmp 0x4fa6cb
xor eax, eax
mov dword [esi + 0x14e], eax
mov dword [esi + 0x14a], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x138], 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 0x4fd340
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1d73
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6f405c]
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.004fcd20
lea ecx, [edi + 0x144]
mov byte [ebp - 4], 4
call fcn.00500340
push 0x3e8
lea ecx, [edi + 4]
mov byte [ebp - 4], 5
call fcn.004d4860
push 0xc8
lea ecx, [edi + 0x28]
call fcn.004d4860
push 0x3e8
lea ecx, [edi + 0x4c]
call fcn.004d4860
push 0x64
lea ecx, [edi + 0x70]
call fcn.004d4860
push 4
call fcn.0059e640
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
cmp eax, esi
je 0x4fd437
mov ecx, eax
call fcn.004ff210
jmp 0x4fd439
xor eax, eax
push 0x80
mov dword [edi + 0x94], eax
lea eax, [edi + 0xc0]
push esi
push eax
call fcn.0059e5b0
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 0x500340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1efb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6f405c]
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.004d4860
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 0x5053d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2726
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6f405c]
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.00599780
push 3
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0xea60
call fcn.004d4860
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 0x507ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6f405c]
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 0x5080c0
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 0x50804e
cmp dword [ebp - 0x18], 0x6060801
je 0x508068
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.0059e593
mov esp, ebp
pop ebp
ret 4
push 0
lea edx, [ebp - 0x14]
push edx
push 0xa
lea eax, [ebp - 0x10]
push eax
push esi
call edi
push esi
test eax, eax
je 0x50804f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1a], 0
je 0x5080bf
mov ecx, dword [0x704164]
test ecx, ecx
je 0x5080bf
mov edx, dword [ebp - 0xe]
push edx
call fcn.004a4850
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x704164]
push eax
call fcn.004a3bd0
fld dword [ebp - 0xa]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x730d30
call fcn.00571770
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0059e593
mov esp, ebp
pop ebp
ret 4

Function at 0x5080e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6f405c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x704164]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x508173
call fcn.004a4840
fld dword [0x730d70]
push 0
push 0x80
push 2
push 0
mov dword [ebp - 0xe], eax
mov eax, dword [0x704164]
mov cx, word [eax + 0x67a]
fstp dword [ebp - 0xa]
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 0x508173
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 0xa
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.0059e593
mov esp, ebp
pop ebp
ret 4
Function at 0x509030
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6f405c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x509125
push ebx
push edi
push 0
mov ecx, 0x731658
call fcn.0057f270
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 + 0x16]
push edx
push 0
mov ecx, 0x731658
call fcn.0057f270
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 0x5090ed
mov eax, dword [esi + 0x16]
push eax
push eax
push 0
mov ecx, 0x731658
call fcn.0057f270
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.005089e0
test bl, 2
je 0x509123
mov eax, dword [esi + 0x16]
push eax
push eax
push 0
mov ecx, 0x731658
call fcn.0057f270
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.005080e0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0059e593
mov esp, ebp
pop ebp
ret 4

Function at 0x510920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2deb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6f405c]
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.004d4860
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 0x5155f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c304d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6f405c]
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 + 0x56]
mov dword [ebp - 4], ebx
call fcn.004353e0
lea ecx, [esi + 0x76]
mov byte [ebp - 4], 1
call fcn.004353e0
lea ecx, [esi + 0x96]
mov byte [ebp - 4], 2
call fcn.004353e0
lea ecx, [esi + 0xb6]
mov byte [ebp - 4], 3
call fcn.004353e0
push 0x3e8
lea ecx, [esi + 4]
mov byte [ebp - 4], 4
call fcn.004d4860
xor eax, eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x4e], ebx
mov dword [esi + 0x4a], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xd6], 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 + 0x52], 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
Function at 0x51f3a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x6f405c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3e8], ecx
push 0xff
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x108]
push ecx
call fcn.005a2b20
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Cfg.ini
lea edx, [ebp - 0x108]
push edx
call fcn.0059f0f0
add esp, 8
push 0xff
lea eax, [ebp - 0x308]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x308]
push ecx
call fcn.005a2b20
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Config.ini
lea edx, [ebp - 0x308]
push edx
call fcn.0059f0f0
add esp, 8
lea eax, [ebp - 0x308]
push eax
push str.admin
lea ecx, [ebp - 0x108]
push ecx
call fcn.0051f800
add esp, 0xc
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0059e5b0
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push str.Power
push str.AddPoint
call fcn.00529a30
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0059f1ee
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x246], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0059e5b0
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5d8d10
push str.AddPoint
call fcn.00529a30
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.0059f1ee
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x24a], eax
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0059e5b0
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push 0x5d8d0c
push str.AddPoint
call fcn.00529a30
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0059f1ee
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x24e], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0059e5b0
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5d8d08
push str.AddPoint
call fcn.00529a30
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.0059f1ee
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x252], eax
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e593
mov esp, ebp
pop ebp
ret