Function at 0x431b90
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eb67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
lea ecx, [edi + 0x18]
push 6
push str._null_
mov dword [edi], vtable.Protocol.0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0x7f7f
mov dword [edi + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00404920
mov dword [ebp - 4], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0x7f7f
mov dword [edi + 0x34], 0
mov dword [ebp - 0x18], esi
mov dword [esi], vtable.Statistics.0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0xf
mov byte [esi + 0x210], 0
push fcn.0043dcd0
push 0x4520c0
push 0xa
lea eax, [esi + 0x268]
mov byte [ebp - 4], 1
push 0x228
push eax
mov dword [ebp - 0x20], eax
call fcn.00460d6e
mov ecx, esi
call fcn.00452550
lea ebx, [edi + 0x1830]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [edi + 0x1848], 0
mov dword [edi + 0x184c], 0
mov dword [edi + 0x1850], 0
mov dword [edi + 0x1854], 0x40a00000
mov dword [edi + 0x1858], 0
mov dword [edi + 0x185c], 0
mov dword [edi + 0x1860], 0
mov word [edi + 0x1864], 0
mov dword [edi + 0x1878], 0
mov dword [edi + 0x187c], 0xf
mov byte [edi + 0x1868], 0
mov byte [ebp - 4], 4
mov al, byte [ebp + 0x10]
push 0x10
push 0x21d0
mov byte [edi + 0x1880], al
mov word [edi + 0x1881], 0
mov byte [edi + 0x1883], 0
mov dword [edi + 0x1884], 0
mov dword [edi + 0x1888], 0
call fcn.00460c21
add esp, 8
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x431d30
mov ecx, eax
call fcn.0040ac30
jmp 0x431d32
xor eax, eax
push 0x10
mov byte [ebp - 4], 4
push 0x21d0
mov dword [edi + 0x188c], eax
call fcn.00460c21
add esp, 8
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x431d62
push dword [ebp + 8]
mov ecx, eax
call fcn.0040ad30
jmp 0x431d64
xor eax, eax
lea esi, [edi + 0x18b0]
mov dword [edi + 0x1890], eax
mov dword [edi + 0x1894], 0
mov dword [edi + 0x1898], 0x7f7f
mov dword [edi + 0x189c], 0
mov dword [edi + 0x18a0], 0x7f7f
mov dword [edi + 0x18a4], 0
mov dword [edi + 0x18a8], 0x7f7f
mov dword [edi + 0x18ac], 0
mov dword [ebp + 0x10], esi
mov dword [esi], vtable.Statistics.0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0xf
mov byte [esi + 0x210], 0
push fcn.0043dcd0
push 0x4520c0
push 0xa
lea eax, [esi + 0x268]
mov byte [ebp - 4], 7
push 0x228
push eax
mov dword [ebp + 8], eax
call fcn.00460d6e
mov ecx, esi
call fcn.00452550
lea esi, [edi + 0x30a8]
mov dword [ebp + 0x10], esi
mov dword [esi], vtable.Statistics.0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0xf
mov byte [esi + 0x210], 0
push fcn.0043dcd0
push 0x4520c0
push 0xa
lea eax, [esi + 0x268]
mov byte [ebp - 4], 9
push 0x228
push eax
mov dword [ebp + 8], eax
call fcn.00460d6e
mov ecx, esi
call fcn.00452550
lea esi, [edi + 0x48a0]
mov dword [ebp + 0x10], esi
mov dword [esi], vtable.Statistics.0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0xf
mov byte [esi + 0x210], 0
push fcn.0043dcd0
push 0x4520c0
push 0xa
lea eax, [esi + 0x268]
mov byte [ebp - 4], 0xb
push 0x228
push eax
mov dword [ebp + 8], eax
call fcn.00460d6e
mov ecx, esi
call fcn.00452550
mov dword [edi + 0x6098], 0
mov dword [edi + 0x609c], 0x5f5e100
mov dword [edi + 0x60a0], 0
mov dword [edi + 0x60a4], 0
mov dword [edi + 0x60a8], 0
mov dword [edi + 0x60ac], 0
mov dword [edi + 0x60b0], 0
mov al, byte [ebp + 0xc]
mov byte [edi + 0x60b4], al
mov word [edi + 0x60b5], 0
mov byte [edi + 0x60b7], 0
mov dword [edi + 0x60b8], 0x7d00
mov dword [edi + 0x60bc], 0
mov dword [edi + 0x60d0], 0
mov dword [edi + 0x60d4], 0xf
mov byte [edi + 0x60c0], 0
mov byte [edi + 0x60d8], 0
mov dword [edi + 0x60dc], 1
mov dword [edi + 0x60e0], 0x5f5e100
mov dword [edi + 0x60e4], 0x3e
mov dword [edi + 0x60f8], 0
mov dword [edi + 0x60fc], 0xf
mov byte [edi + 0x60e8], 0
mov dword [edi + 0x6100], 0
mov byte [edi + 0x6104], 0
mov dword [edi + 0x6108], 0
mov word [edi + 0x610c], 0
mov dword [edi + 0x6120], 0
mov dword [edi + 0x6124], 0xf
mov byte [edi + 0x6110], 0
mov al, byte [ebp + 0x14]
mov byte [edi + 0x6128], al
mov al, byte [ebp + 0x18]
mov byte [edi + 0x6129], al
lea eax, [edi + 0x6130]
push 2
push eax
mov dword [edi + 0x612c], 0x4f0368
call fcn.0045f175
mov byte [ebp - 4], 0x11
mov dword [edi + 0x6160], 0x4d5ab4
mov dword [edi + 0x6564], 0
push 8
mov byte [edi + 0x6568], 0
mov dword [edi + 0x656c], 0xd7a
call fcn.00460943
mov esi, eax
add esp, 0xc
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 0x12
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041e6e0
mov dword [esi], eax
mov byte [ebp - 4], 0x13
mov esi, 0x4b7158
cmp dword [0x4b7158], 0
je 0x432089
mov ebx, dword [ebp + 0x10]
nop dword [eax + eax]
mov eax, dword [esi + 8]
mov ecx, ebx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x3c], esi
call fcn.0041e740
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0041e760
add esi, 0x18
cmp dword [esi], 0
jne 0x432050
lea ebx, [edi + 0x1830]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 0x10]
push 0x10
push 0x2860
mov dword [edi + 0x60bc], eax
call fcn.00460c21
add esp, 8
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4320bb
mov ecx, eax
call fcn.004484e0
mov edx, eax
jmp 0x4320bd
xor edx, edx
mov byte [ebp - 4], 0x11
sub esp, 0x28
mov al, byte [ebp - 0x28]
mov ecx, esp
mov dword [edi + 0xc], edx
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8Protocol__AEXABUStatistics___ZPAV3_ABU___Ph__00_2__std__XABUStatistics___std__.0
mov dword [ecx + 4], fcn.00434ae0
mov byte [ecx + 8], al
lea eax, [ebp - 0x5c]
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
mov ecx, edx
push eax
call fcn.00430b70
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x432108
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x5c]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 0x11
sub esp, 0x28
mov ecx, dword [edi + 0xc]
mov edx, esp
mov al, byte [ebp - 0x28]
mov dword [edx], 0x4d8064
mov dword [edx + 4], 0x435e20
mov byte [edx + 8], al
mov al, byte [ebp - 0x27]
mov byte [edx + 9], al
lea eax, [ebp - 0x5c]
mov dword [edx + 0xc], edi
push eax
mov dword [edx + 0x24], edx
call fcn.00430c40
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x432157
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x5c]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 0x11
cmp byte [0x4f6758], 0
je 0x4322ec
mov esi, dword [0x4f6788]
mov ecx, 0x4f6774
mov edx, dword [0x4f6784]
cmp esi, 0x10
push 0
cmovae ecx, dword [0x4f6774]
push 0x4b0378
call fcn.00419310
test al, al
je 0x43224f
push 9
push str.games.pgn
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00404920
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
call fcn.004203a0
push eax
mov ecx, ebx
call fcn.004095c0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x432203
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4321f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432301
push edx
push ecx
call fcn.00460bf0
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x432274
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x432243
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432306
push edx
push ecx
call fcn.00460bf0
add esp, 8
jmp 0x432274
cmp ebx, 0x4f6774
je 0x432274
push dword [0x4f6784]
cmp esi, 0x10
mov eax, 0x4f6774
mov ecx, ebx
cmovae eax, dword [0x4f6774]
push eax
call fcn.00404920
push 0xb0
call fcn.00460943
add esp, 4
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0x18
cmp dword [ebx + 0x14], 0x10
jb 0x432290
mov ebx, dword [ebx]
sub esp, 8
mov ecx, eax
push 0xa
push ebx
call fcn.00413350
mov byte [ebp - 4], 0x11
mov dword [edi + 0x1848], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
cmp dword [ecx + eax + 0xc], 0
je 0x4322ec
mov edx, str.Warning:_cannot_open_game_file._Games_will_not_be_saved.
mov ecx, 0x4f5088
call fcn.00405660
push eax
call fcn.00405bb0
mov ecx, dword [edi + 0x1848]
add esp, 4
test ecx, ecx
je 0x4322e2
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov dword [edi + 0x1848], 0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.0047e1a9
call fcn.0047e1a9
int3