Function at 0x431c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd90
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
mov eax, dword [0x61b9b8]
xor edi, edi
mov dword [ebp - 0xa4], edi
test eax, eax
jne 0x431d06
push 0x11c
call fcn.0045ec32
add esp, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x431cf8
mov ecx, eax
call fcn.00442a30
jmp 0x431cfa
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x61b9b8], eax
mov ecx, eax
call fcn.00413410
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431d30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00411630
push 0xf
push str.GameBoxHpon.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.004114b0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
je 0x431da6
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 0x5a461c
push eax
call fcn.0044e286
mov edi, eax
add esp, 0x14
mov dword [ebp - 0xa4], edi
test edi, edi
jne 0x4321e5
push 0x30
push str.820228585735623841517042166027440835314041452711
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.00419110
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0044dfc1
add esp, 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
push 1
push 0x5a2b20
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00419110
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 5
cmovae edx, dword [ebp - 0x70]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431e58
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00419110
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d41a
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x431ebe
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x431eb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43230d
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x431f08
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x431efe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432312
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov esi, dword [ebp - 0xb4]
cmp esi, dword [ebp - 0xb0]
je 0x432155
nop word [eax + eax]
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x431f2a
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431f41
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00419110
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d796
add esp, 8
mov eax, dword [0x61b9b8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x431fa4
push 0x11c
call fcn.0045ec32
add esp, 4
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x431f99
mov ecx, eax
call fcn.00442a30
jmp 0x431f9b
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x61b9b8], eax
mov ecx, eax
call fcn.00413410
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x431fb0
sub edx, edi
lea ecx, [ebp - 0x40]
sar edx, 1
push edx
push eax
call fcn.00411630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.004114b0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
je 0x432027
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 0x5a461c
push eax
call fcn.0044e286
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0xa4], ebx
test ebx, ebx
jne 0x4320c5
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x432065
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43205b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43230d
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x4320b1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4320a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43230d
push edx
push ecx
call fcn.0045ec62
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0xb0]
jne 0x431f20
jmp 0x43214f
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x432103
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4320f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432317
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x43214f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x432145
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43231c
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edi, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb4]
call fcn.0040a440
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x432198
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43218e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432321
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4321e5
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4321db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432326
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov eax, dword [ebp - 0xb8]
add eax, 0x94
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0044da86
add esp, 8
mov eax, dword [0x61b9bc]
lea esi, [ebp - 0xa0]
xor ebx, ebx
mov byte [ebp - 4], 0xa
test edi, edi
setne bl
cmp dword [ebp - 0x8c], 0x10
cmovae esi, dword [ebp - 0xa0]
test eax, eax
jne 0x432257
push 0xac
call fcn.0045ec32
add esp, 4
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x43224c
mov ecx, eax
call fcn.0041ee20
jmp 0x43224e
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [0x61b9bc], eax
push ebx
push esi
push 1
push 1
mov ecx, eax
call fcn.00422470
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x43229e
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x432294
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43232b
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp edx, 8
jb 0x4322ef
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4322e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432330
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 4
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
int3