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

Disassembly:
push 0xffffffffffffffff
push 0x4d1b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 0xc]
call fcn.004318f0
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call fcn.00432fe0
mov bl, al
test bl, bl
je 0x457fd0
mov eax, dword [ebp + 0x198]
push esi
push edi
mov edi, dword [esp + 0x40]
cmp edi, eax
mov byte [esp + 0x13], 0
jge 0x457eb7
mov ecx, dword [ebp + 0x194]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x457eb7
lea edx, [esp + 0x14]
push edx
call fcn.00464b90
mov esi, eax
test esi, esi
jne 0x457ed4
push edi
call fcn.00470340
mov esi, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0xc]
call fcn.00431a50
mov byte [esp + 0x13], 1
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x457fae
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00469980
mov bl, al
test bl, bl
je 0x457fbe
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 0x2c8]
lea edx, [esi + 0xc]
push edx
push 0x51abb4
mov ecx, eax
call fcn.00448b60
mov edi, eax
test edi, edi
je 0x457f93
mov ecx, edi
call fcn.00433390
test al, al
je 0x457f93
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
test al, al
je 0x457f37
push edi
mov ecx, ebp
call fcn.004573f0
test al, al
jne 0x457f8c
push 0x4d6ee6
lea ecx, [esp + 0x28]
call fcn.00431b00
push str.Unable_to_read_Object_Definition_from
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.00431b00
mov ecx, dword [ebp + 0x30]
lea edx, [esp + 0x24]
push edx
push edi
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x40], 2
call fcn.00459700
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.00431a00
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 0
call fcn.00431a00
mov ecx, edi
call fcn.00433400
mov edi, dword [esp + 0x40]
test bl, bl
je 0x457fbe
mov al, byte [esp + 0x13]
test al, al
je 0x457fce
push esi
push edi
mov ecx, ebp
call fcn.00457cf0
jmp 0x457fce
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 4]
mov bl, al
jmp 0x457f97
mov al, byte [esp + 0x13]
test al, al
je 0x457fce
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
pop edi
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00431a00
mov ecx, dword [esp + 0x24]
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4585f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d1bc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0x4de57c
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 0x14], 0x4d6620
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x20
mov dword [esi + 0x28], 0x10
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.0044fba0
push 0x400
lea ecx, [esi + 0x180]
mov byte [esp + 0x18], 1
call fcn.00464b10
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x190], 0x4de46c
mov dword [esi + 0x1a0], 0x20
mov dword [esi + 0x1a4], 0x10
mov dword [esi + 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4d1bc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0x4de57c
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 0x14], 0x4d6620
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x20
mov dword [esi + 0x28], 0x10
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.0044fba0
push 0x400
lea ecx, [esi + 0x180]
mov byte [esp + 0x18], 1
call fcn.00464b10
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x190], 0x4de46c
mov dword [esi + 0x1a0], 0x20
mov dword [esi + 0x1a4], 0x10
mov dword [esi + 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x459850
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x34c]
test eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4598ac
mov eax, dword [esi + 0x36c]
push eax
mov byte [esi + 0x370], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x34c]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x34c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x34c]
push eax
call edi
mov dword [esi + 0x34c], 0
mov eax, dword [esi + 0x36c]
test eax, eax
je 0x4598c3
push eax
call edi
mov dword [esi + 0x36c], 0
pop edi
pop esi
ret
Function at 0x459ca0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x40]
push 0x411
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, byte [esi + 4]
test al, al
mov eax, 5
jne 0x459cc9
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x40]
push ebx
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
mov ebx, eax
call ebp
mov edi, eax
test edi, edi
je 0x459d72
lea esp, [esp]
cmp edi, 0xffffffff
je 0x459d72
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x459d40
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x459d5f
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x34]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x459d10
mov ecx, dword [esi + 0x18]
test ecx, ecx
pop ebp
pop ebx
je 0x459d87
mov edx, dword [ecx]
call dword [edx + 8]
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x459d95
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov dword [esi + 0x40], 0
call dword [sym.imp.USER32.dll_UnregisterClassA]
cmp edi, 0xffffffff
pop edi
pop esi
jne 0x459db8
or eax, 0xffffffff
add esp, 0x1c
ret
mov eax, dword [esp + 8]
add esp, 0x1c
ret
Function at 0x459fa0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d1d3b
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
mov ax, word [eax - 4]
test ax, ax
push edi
je 0x45a12a
mov eax, dword [esi + 0x238]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x801a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edx, [esp + 0x1c]
lea edi, [esi + 0x8c]
push edx
mov ecx, edi
call fcn.00431bf0
push str.Genimo
mov ecx, edi
call fcn.00431c50
mov eax, dword [esi + 0x90]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call ebx
cmp eax, 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jne 0x45a037
mov eax, dword [esi + 0x90]
push 0
push eax
call ebp
test eax, eax
je 0x45a12a
push 0x4de60c
mov ecx, edi
call fcn.00431c50
mov eax, dword [esi + 0x90]
push eax
call ebx
or ebx, 0xffffffff
cmp eax, ebx
jne 0x45a066
mov eax, dword [esi + 0x90]
push 0
push eax
call ebp
test eax, eax
je 0x45a12a
push 0x4de6b4
mov ecx, edi
call fcn.00431c50
push edi
lea ecx, [esp + 0x14]
call fcn.00431990
sub esp, 8
lea eax, [esi + 0x74]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x134], 0
call fcn.00431990
lea ecx, [esp + 0x18]
call fcn.004014e0
mov edx, dword [esp + 0x134]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00431990
lea ecx, [esp + 0x18]
call fcn.004014e0
push 0x4de6ac
lea ecx, [esp + 0x14]
call fcn.00431c50
mov eax, dword [esp + 0x14]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
je 0x45a11a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x130]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x64]
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], ebx
call fcn.00431a00
mov al, 1
jmp 0x45a12c
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], ebx
call fcn.00431a00
xor al, al
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 8
Function at 0x45a2e0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1d98
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
mov ax, word [eax - 4]
xor ebx, ebx
cmp ax, bx
jne 0x45a31f
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x64]
lea eax, [esi + 0x8c]
push eax
lea ecx, [esp + 0xc]
call fcn.00431990
add esi, 0x74
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
call fcn.00431990
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.00431c50
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.00431a00
mov edx, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x14]
call fcn.00431990
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.00431c50
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.00431a00
push 0x4de6ac
lea ecx, [esp + 0xc]
call fcn.00431c50
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
lea ecx, [esp + 8]
inc bl
mov dword [esp + 0x20], 0xffffffff
call fcn.00431a00
mov ecx, dword [esp + 0x18]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x45a500
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1df0
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
mov ax, word [eax - 4]
xor ebx, ebx
cmp ax, bx
jne 0x45a53d
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esi + 0x8c]
push ecx
lea ecx, [esp + 0xc]
call fcn.00431990
add esi, 0x74
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
call fcn.00431990
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.00431c50
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.00431a00
push str..prefs
lea ecx, [esp + 0xc]
call fcn.00431c50
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
lea ecx, [esp + 8]
inc bl
mov dword [esp + 0x20], 0xffffffff
call fcn.00431a00
mov ecx, dword [esp + 0x18]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x45a700
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d1e0e
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x238]
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push 0x8023
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edx, [esp + 0x34]
lea esi, [edi + 0x32c]
push edx
mov ecx, esi
call fcn.00431bf0
push str.Genimo
mov ecx, esi
call fcn.00431c50
mov eax, dword [edi + 0x330]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call ebx
cmp eax, 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jne 0x45a787
mov eax, dword [edi + 0x330]
push 0
push eax
call ebp
test eax, eax
je 0x45a912
push 0x4de60c
mov ecx, esi
call fcn.00431c50
mov eax, dword [edi + 0x330]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x45a7b4
mov eax, dword [edi + 0x330]
push 0
push eax
call ebp
test eax, eax
je 0x45a912
push str.High.score
mov ecx, esi
call fcn.00431c50
mov eax, dword [edi + 0x330]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x45a912
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2c
call fcn.0048887d
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x140], ebx
je 0x45a817
push 1
push 1
push 1
push esi
mov ecx, eax
call fcn.004330b0
mov ebx, eax
mov ecx, ebx
mov dword [esp + 0x140], 0xffffffff
call fcn.004333d0
test al, al
je 0x45a8ff
push str.Version
push 0x4de658
mov ecx, ebx
call fcn.00433030
mov eax, dword [edi + 0x31c]
mov esi, 1
cmp eax, esi
jl 0x45a8ee
mov dword [esp + 0x10], 0x14
lea ecx, [ecx]
mov eax, dword [edi + 0x318]
mov ecx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x18]
push str.Player_dName
push edx
lea ebp, [eax + ecx - 0x14]
call fcn.004887ad
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push ebp
mov ecx, ebx
call fcn.00433010
push esi
lea ecx, [esp + 0x18]
push str.Player_dLevel
push ecx
call fcn.004887ad
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00433010
push esi
lea ecx, [esp + 0x18]
push str.Player_dScore
push ecx
call fcn.004887ad
mov eax, dword [ebp + 0x10]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, ebx
call fcn.00434270
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x31c]
inc esi
add ecx, 0x14
cmp esi, eax
mov dword [esp + 0x10], ecx
jle 0x45a860
push str.VersionFooter
push 0x4de658
mov ecx, ebx
call fcn.00433030
test ebx, ebx
je 0x45a912
mov ecx, ebx
call fcn.00433400
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret
Function at 0x45d630
Capabilities:
Get session user name

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d217b
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
mov esi, ecx
mov ecx, dword [esi + 0xb0]
test ecx, ecx
push edi
je 0x45d728
cmp dword [esi + 0x154], 0x3f800000
je 0x45d6ef
fld dword [0x4d6344]
fld dword [esi + 0x194]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45d69b
mov eax, dword [esi + 0x194]
push 0xc0d00000
push 0
push eax
lea ecx, [esi + 0x15c]
call fcn.004329a0
mov eax, dword [esp + 0xa8]
test eax, eax
mov byte [esi + 0x220], 1
mov dword [esi + 0xb4], eax
jne 0x45d8c1
fld dword [esi + 0x154]
fcomp dword [0x4d6344]
fnstsw ax
test ah, 0x41
jne 0x45d6e3
mov ecx, dword [esi + 0x154]
push 0xbfa66666
push 0
push ecx
lea ecx, [esi + 0x11c]
call fcn.004329a0
mov byte [esi + 0x220], 1
jmp 0x45d8c1
lea edi, [ecx + 0x10]
call fcn.004666c0
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x88]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0xb0], 0
call fcn.0045d630
jmp 0x45d8c1
mov eax, dword [esp + 0xa8]
test eax, eax
mov dword [esi + 0xb0], eax
je 0x45d8ba
push ebx
mov bl, byte [esp + 0xb0]
test bl, bl
je 0x45d750
mov ecx, esi
call fcn.00459e30
mov ecx, dword [esi + 0xb0]
push esi
call fcn.004682d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xa0]
fld dword [0x4d634c]
fld dword [esi + 0x194]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45d79d
mov eax, dword [esi + 0x194]
push 0x40d00000
mov ecx, eax
push 0x3f800000
push ecx
lea ecx, [esi + 0x15c]
mov dword [esp + 0x18], eax
call fcn.004329a0
test bl, bl
mov byte [esi + 0x220], 1
pop ebx
je 0x45d7e5
fld dword [esi + 0x154]
fcomp dword [0x4de794]
fnstsw ax
test ah, 5
jp 0x45d7de
mov edx, dword [esi + 0x154]
push 0x3fa66666
push 0x3f48c8c9
mov eax, edx
push eax
lea ecx, [esi + 0x11c]
mov dword [esp + 0x14], edx
call fcn.004329a0
mov byte [esi + 0x220], 1
mov eax, dword [esi + 0xb0]
lea edi, [eax + 0x10]
push str.CreatePlayer
mov ecx, edi
call fcn.00403460
test al, al
je 0x45d876
mov ecx, dword [esi + 0x88]
cmp word [ecx - 4], 0
jne 0x45d866
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x14], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x45d82b
mov byte [esp + 0x18], al
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00431b00
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esp + 0xa4], 0
call fcn.0045d110
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00431a00
jmp 0x45d8c1
lea eax, [esi + 0x84]
push eax
mov ecx, esi
call fcn.0045d110
jmp 0x45d8c1
push str.DeletePlayer
mov ecx, edi
call fcn.00403460
test al, al
je 0x45d893
lea ecx, [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0045d110
jmp 0x45d8c1
push str.SelectPlayer
mov ecx, edi
call fcn.00403460
test al, al
je 0x45d8c1
lea edx, [esi + 0x74]
push edx
lea ecx, [esi + 0x54]
call fcn.0045ae40
push eax
push eax
mov ecx, esi
call fcn.0045d250
jmp 0x45d8c1
mov ecx, esi
call fcn.0045e2a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x9c
ret 8
Function at 0x45f600
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d2348
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x224]
push eax
mov ecx, edi
call fcn.00431a50
mov ecx, dword [esp + 0x38]
lea ebp, [esi + 0x22c]
push ecx
mov ecx, ebp
call fcn.00431a50
mov edx, dword [esi + 0x78]
mov ax, word [edx - 4]
test ax, ax
jne 0x45f6ad
push str.Welcome_
lea ecx, [esp + 0x18]
call fcn.00431b00
mov eax, dword [esi + 0xa8]
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.0045d8f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00431a00
mov edx, dword [esi + 0xa8]
push 0
push ebp
push edx
mov ecx, esi
call fcn.0045db10
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
push str.Welcome
lea ecx, [esp + 0x10]
call fcn.00431b00
lea eax, [esi + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 1
call fcn.00431990
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.00431c50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.00431a00
push 0x4de828
lea ecx, [esp + 0x10]
call fcn.00431c50
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0xc]
push edx
push edi
push eax
mov ecx, esi
call fcn.0045d8f0
mov eax, dword [esi + 0xa8]
push 1
push ebp
push eax
mov ecx, esi
call fcn.0045db10
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00431a00
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x4612a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d2458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x1c]
push edi
push ecx
xor edi, edi
push eax
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0x461280
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edi
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x461377
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x582
je 0x461377
push str.Unable_to_register_Window_Class___
lea ecx, [esp + 0xc]
call fcn.00431b00
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x4c], edi
call fcn.004323e0
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.00431a00
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
mov ecx, dword [esp + 0x40]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x462c20
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d290b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
mov ecx, edi
mov dword [esp + 0x10], esi
call fcn.00470bc0
lea ebx, [esi + 0x18]
mov ecx, ebx
call fcn.00470bc0
lea ebp, [esi + 0x34]
mov ecx, ebp
call fcn.004318f0
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esp + 0x28], eax
mov eax, dword [0x504c0c]
mov dword [edi], eax
mov ecx, dword [0x504c10]
mov dword [edi + 4], ecx
mov edx, dword [0x504c14]
mov dword [edi + 8], edx
mov eax, dword [0x504c18]
mov dword [edi + 0xc], eax
mov ecx, dword [0x504c0c]
mov dword [ebx], ecx
mov edx, dword [0x504c10]
mov dword [ebx + 4], edx
mov eax, dword [0x504c14]
mov dword [ebx + 8], eax
mov ecx, dword [0x504c18]
mov dword [ebx + 0xc], ecx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
lea edx, [esi + 0x28]
mov dword [edx], eax
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [edx + 8], eax
call fcn.00431a50
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
pop edi
mov dword [esi + 0x3c], edx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8