joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409aaa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00408294
mov dword [ebp - 0x14], eax
cmp dword [0x41a72c], edi
jne 0x409b9b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x409b28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x409c7b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x409c7b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409c7b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41a72c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41a730], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41a734], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41a73c], eax
test eax, eax
je 0x409b98
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41a738], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x409bc0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x409bb3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x409bd5
push 4
pop eax
jmp 0x409c7d
cmp dword [ebp - 0x14], edi
je 0x409bd5
push dword [0x41a72c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x409bba
mov eax, dword [0x41a738]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x409c33
cmp dword [0x41a73c], esi
je 0x409c33
push eax
call ebx
push dword [0x41a73c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x409c33
test eax, eax
je 0x409c33
call ecx
test eax, eax
je 0x409c28
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x409c28
test byte [ebp - 8], 1
jne 0x409c33
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x409c63
mov eax, dword [0x41a730]
cmp eax, esi
je 0x409c60
push eax
call ebx
test eax, eax
je 0x409c60
call eax
mov edi, eax
test edi, edi
je 0x409c60
mov eax, dword [0x41a734]
cmp eax, esi
je 0x409c60
push eax
call ebx
test eax, eax
je 0x409c60
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41a72c]
call ebx
test eax, eax
je 0x409c7b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x409c7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409c8c
leave
ret
Function at 0x42c560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58627e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x5bc168
mov dword [esp + 0x18], 0
mov esi, dword [edi + 0x30]
test esi, esi
mov dword [esp + 0xc], esi
je 0x42c5b0
mov byte [esp + 0x18], 0
mov eax, dword [esi + 0x20]
push eax
call fcn.00571a0d
push esi
call fcn.00571a0d
add esp, 8
mov esi, dword [edi + 0x34]
test esi, esi
mov dword [esp + 0xc], esi
je 0x42c5d2
mov byte [esp + 0x18], 0
mov eax, dword [esi + 0x20]
push eax
call fcn.00571a0d
push esi
call fcn.00571a0d
add esp, 8
mov dword [esp + 0x18], 0xffffffff
mov ecx, edi
call fcn.004c7240
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43c1c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58948a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi]
call dword [eax + 0xb0]
push eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
push eax
call fcn.0041b280
add esp, 8
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb0]
push eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
push eax
call fcn.004012f0
mov dword [ebp - 0x18], eax
push eax
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.0042bbb0
add esp, 0x14
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.004c09e0
mov eax, dword [esi]
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x64b1d8]
mov dword [ecx], edx
mov edx, dword [0x64b1dc]
mov dword [ecx + 4], edx
mov edx, dword [0x64b1e0]
mov dword [ecx + 8], edx
mov edx, dword [0x64b1e4]
mov dword [ecx + 0xc], edx
mov ecx, dword [esi + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x8c]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x64b178]
mov dword [eax], ecx
mov ecx, dword [0x64b17c]
mov dword [eax + 4], ecx
mov ecx, dword [0x64b180]
mov dword [eax + 8], ecx
mov ecx, dword [0x64b184]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x34]
push eax
mov ecx, esi
call dword [edx + 0x8c]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x64b124]
mov dword [eax], ecx
mov ecx, dword [0x64b128]
mov dword [eax + 4], ecx
mov ecx, dword [0x64b12c]
mov dword [eax + 8], ecx
mov ecx, dword [0x64b130]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x38]
push eax
mov ecx, esi
call dword [edx + 0x8c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43fed0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a14d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 0x10
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
push 0x64
push ebx
lea edx, [ebp - 0x14]
push edx
call fcn.0042bbb0
mov edi, dword [ebp - 0x14]
push edi
push 0x5bc454
push 0x10
lea eax, [ebp - 0x30]
push eax
call fcn.00556ab0
add esp, 0x1c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push ebx
lea eax, [ebp - 0x30]
push eax
call dword [edx + 0x84]
mov dword [ebp - 0x18], 0x14
mov eax, dword [esi + 0x144]
cmp eax, ebx
jle 0x43ff6b
push 5
push eax
call fcn.00500ec0
add esp, 8
test al, al
je 0x43ff6b
mov dword [ebp - 0x18], 0x7d0
mov dword [ebp - 0x1c], ebx
mov al, byte [esi + 0x120]
test al, al
je 0x43ff94
call fcn.0050cc70
test al, al
je 0x43ff94
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + edi - 1]
cdq
idiv ecx
lea ebx, [eax + eax*4]
shl ebx, 2
mov dword [ebp - 0x1c], ebx
mov ecx, dword [esi + 0x14c]
imul ecx, edi
add ecx, ebx
push ecx
push 0x5bc454
push 0x10
lea edx, [ebp - 0x30]
push edx
call fcn.00556ab0
add esp, 0x10
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx]
push 0
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x84]
mov eax, dword [esi + 0x11c]
push eax
push 0x5bc454
push 0x10
lea ecx, [ebp - 0x30]
push ecx
call fcn.00556ab0
add esp, 0x10
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
push 0
lea eax, [ebp - 0x30]
push eax
call dword [edx + 0x84]
mov eax, dword [esi + 0x144]
test eax, eax
jle 0x44003e
test edi, edi
jle 0x44003e
mov al, byte [esi + 0x120]
test al, al
mov eax, 0x5bcdb0
jne 0x440011
mov eax, str.Sell
mov ecx, dword [esi + 0x14c]
imul ecx, edi
add ecx, ebx
push ecx
lea edx, [esi + 0x121]
push edx
push edi
push eax
push str._s__dx__s_for__d_gold
push 0xc8
add esi, 0x54
push esi
call fcn.00556ab0
add esp, 0x1c
jmp 0x440069
mov al, byte [esi + 0x120]
test al, al
mov eax, 0x5bd000
jne 0x440052
mov eax, str.sell
push eax
push str.Please_select_an_item_you_want_to__s
push 0xc8
add esi, 0x54
push esi
call fcn.00556ab0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448d10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58baee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x3c], esi
call fcn.004b7550
mov dword [ebp - 4], 0
mov dword [esi], 0x5bbd08
mov byte [esi + 0x2c], 0
mov dword [ebp - 4], 1
mov dword [esi], 0x5bccf0
mov bl, 2
mov byte [ebp - 4], bl
push 0x4c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x448d7f
mov ecx, eax
call fcn.0043af60
jmp 0x448d81
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x30], eax
push 0x34
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x448da8
mov ecx, eax
call fcn.00438d30
jmp 0x448daa
xor eax, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x34], eax
push 0x38
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x448dd1
mov ecx, eax
call fcn.0043a420
jmp 0x448dd3
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004c0c60
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, esi
call fcn.004c0c60
mov edx, dword [esi + 0x38]
push edx
mov ecx, esi
call fcn.004c0c60
push 0x64
push 0xaa
mov ecx, esi
call fcn.0043c1c0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455a60
Capabilities:
Get geographical location

Disassembly:
mov ecx, 0x63db48
jmp 0x554110
push 0xffffffffffffffff
push 0x5b5e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x30], ebx
push esi
call fcn.00551650
lea edi, [esi + 4]
add esp, 4
cmp edi, ebx
je 0x554170
push 4
push edi
push 7
push 0x800
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x55416d
mov dword [edi], ebx
jmp 0x554170
mov byte [edi + 3], bl
lea eax, [esi + 8]
push eax
call fcn.00551cd0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [esi + 0xc]
push eax
call fcn.00553520
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 0x18]
push edx
lea eax, [esi + 0x14]
push eax
call fcn.00553810
lea ecx, [esi + 0x30]
push ecx
lea edx, [esi + 0x2c]
push edx
lea eax, [esi + 0x28]
push eax
lea ecx, [esi + 0x24]
push ecx
call fcn.00552600
lea edx, [esi + 0x38]
push edx
lea eax, [esi + 0x34]
push eax
call fcn.00552760
lea ecx, [esi + 0x58]
push ecx
lea edx, [esi + 0x54]
push edx
lea eax, [esi + 0x50]
push eax
lea ecx, [esi + 0x40]
push ecx
lea edx, [esi + 0x3c]
push edx
call fcn.00553c50
add esp, 0x48
add esi, 0x4c
push esi
call fcn.00552890
add esp, 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x554203
mov eax, dword [esp + 0x10]
push eax
call fcn.00571a0d
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov dword [esp + 0x1c], 0xf
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x46afc0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x595281
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x46b0eb
push esi
mov esi, 0xf
push esi
push str.ColorData_NULL
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00403280
mov dword [esp + 0xd8], ebx
push ebx
push 0x5ba7cb
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00403280
mov byte [esp + 0xd8], 1
push ebx
push 0x5ba7cb
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00403280
mov byte [esp + 0xd8], 2
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00403280
mov byte [esp + 0xd8], 3
push 0x14
push str..DialogElements.cpp
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00403280
mov byte [esp + 0xd8], 4
lea eax, [esp + 0x78]
push eax
push ebx
lea ecx, [esp + 0x48]
push ecx
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
push 0x3f9
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0054fb40
push 0x5e02c8
lea edx, [esp + 0x98]
push edx
call fcn.00560081
pop esi
mov edx, dword [eax]
mov dword [ecx + 0x28], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x30], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x34], eax
mov ecx, dword [esp + 0xcc]
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret 4

Function at 0x47c310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594c92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
call fcn.004b7610
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], 0x5bffc8
lea edi, [esi + 0x30]
push ebx
push ebx
mov ecx, edi
call fcn.004b76c0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004b7530
mov edx, dword [ebp + 0x10]
shl edx, 4
mov eax, dword [0x79cde4]
add eax, edx
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
mov ecx, esi
call fcn.004c09e0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.0046d200
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], bl
mov dword [esi + 0x38], ebx
mov edx, dword [ebp + 0x18]
mov dword [edi], edx
mov eax, dword [ebp + 0x1c]
mov dword [edi + 4], eax
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x3c], ecx
mov dl, byte [ebp + 0x24]
mov byte [esi + 0x2e], dl
mov byte [esi + 0x40], 1
mov dword [esi + 0x44], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x47c520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x594ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x3c]
xor edi, edi
push edi
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x28], esi
call fcn.0047c310
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi], 0x5c0050
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], eax
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x47ce80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x594da3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x2c]
lea ebp, [eax + 8]
xor edi, edi
push edi
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x54], ebp
call fcn.0047c310
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x30]
mov dword [esi + 0x4c], eax
shl eax, 2
push eax
mov dword [esi], 0x5bf0b0
mov dword [esi + 0x48], edi
call fcn.00571a12
mov ecx, dword [esi + 0x4c]
shl ecx, 2
push ecx
mov dword [esi + 0x50], eax
call fcn.00571a12
mov edi, dword [esi + 0x4c]
lea edx, [edi*8]
push edx
mov dword [esi + 0x54], eax
call fcn.00571a12
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], 1
test ebx, ebx
je 0x47cf47
dec edi
mov ebp, ebx
js 0x47cf41
inc edi
lea ebx, [ebx]
push 0
push 0
mov ecx, ebp
call fcn.004b76c0
add ebp, 8
dec edi
jne 0x47cf30
mov ebp, dword [esp + 0x34]
jmp 0x47cf49
xor ebx, ebx
mov byte [esp + 0x1c], 0
mov ecx, dword [esi + 0x4c]
xor eax, eax
test ecx, ecx
mov dword [esi + 0x58], ebx
jle 0x47cf8c
mov ecx, ebp
lea esp, [esp]
mov edi, dword [ecx - 8]
mov edx, dword [esi + 0x50]
mov dword [edx + eax*4], edi
mov edi, dword [ecx - 4]
mov edx, dword [esi + 0x54]
mov dword [edx + eax*4], edi
mov edi, dword [ecx]
mov edx, dword [esi + 0x58]
mov dword [edx + eax*8], edi
mov edi, dword [ecx + 4]
mov dword [edx + eax*8 + 4], edi
mov edx, dword [esi + 0x4c]
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x47cf60
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x481a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x595aa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [ecx]
sub esp, 0x14
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0047b420
mov dword [esp + 0x18], 0
push 0
lea edi, [esi + 0x4c]
push 0
mov ecx, edi
mov dword [esi], 0x5c0668
call fcn.004b76c0
push 0
lea ebx, [esi + 0x54]
push 0
mov ecx, ebx
call fcn.004b76c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edi], edx
mov edx, dword [esp + 0x34]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x18

Function at 0x481b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x595aa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [ecx]
sub esp, 0x14
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0047b420
mov dword [esp + 0x18], 0
push 0
lea edi, [esi + 0x4c]
push 0
mov ecx, edi
mov dword [esi], 0x5c06f0
call fcn.004b76c0
push 0
lea ebx, [esi + 0x54]
push 0
mov ecx, ebx
call fcn.004b76c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edi], edx
mov edx, dword [esp + 0x34]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x595af3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x5c0d30
xor eax, eax
mov dword [esp + 0x18], eax
mov esi, dword [edi + 0x30]
cmp esi, eax
mov dword [esp + 0xc], esi
je 0x4821dd
mov byte [esp + 0x18], al
mov eax, dword [esi + 0x20]
push eax
call fcn.00571a0d
push esi
call fcn.00571a0d
add esp, 8
mov dword [esp + 0x18], 0xffffffff
mov ecx, edi
call fcn.004c7240
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48b020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59748b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x34], esi
call fcn.004b7550
mov dword [ebp - 4], 0
mov dword [esi], 0x5c16d0
mov ebx, 1
mov byte [ebp - 4], bl
mov al, byte [ebp + 8]
mov byte [esi + 0x2c], al
mov ecx, dword [0x64b9e8]
push ecx
mov edx, dword [0x64b9e4]
push edx
mov ecx, esi
call fcn.004c09e0
push 0x6c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x48b0a0
push 0
push 0x1d
mov ecx, eax
call fcn.0046eca0
jmp 0x48b0a2
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x30], eax
push 0x4c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x48b101
mov ecx, dword [str.Please_enter_a_character_name:]
push ecx
sub esp, 0x14
mov edx, esp
mov ecx, dword [0x64b614]
mov dword [edx], ecx
mov ecx, dword [0x64b618]
mov dword [edx + 4], ecx
mov ecx, dword [0x64b61c]
mov dword [edx + 8], ecx
mov ecx, dword [0x64b620]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x64b624]
mov dword [edx + 0x10], ecx
mov ecx, eax
call fcn.0047b420
jmp 0x48b103
xor eax, eax
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], bl
mov dword [ebp - 0x20], edi
mov edx, dword [esi + 0x30]
push edx
mov ecx, esi
call fcn.004c0c60
push edi
mov ecx, esi
call fcn.004c0c60
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x64b9ec]
mov dword [eax], ecx
mov edx, dword [0x64b9f0]
mov dword [eax + 4], edx
mov ecx, dword [0x64b9f4]
mov dword [eax + 8], ecx
mov edx, dword [0x64b9f8]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004c4110
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x64b9fc]
mov dword [ecx], edx
mov eax, dword [0x64ba00]
mov dword [ecx + 4], eax
mov edx, dword [0x64ba04]
mov dword [ecx + 8], edx
mov eax, dword [0x64ba08]
mov dword [ecx + 0xc], eax
push edi
mov ecx, esi
call fcn.004c4110
push ebx
mov ecx, dword [esi + 0x30]
call fcn.00470550
mov ecx, esi
call fcn.004c27b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4