Function at 0x427a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644b91
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x6c3afc]
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 eax, dword [ebp + 8]
xor ebx, ebx
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], ebx
call fcn.00432710
mov dword [ebp - 4], ebx
mov edi, dword [0x6ce720]
cmp edi, ebx
jne 0x427a98
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x427a8b
mov esi, eax
call fcn.00434ee0
jmp 0x427a8d
xor eax, eax
mov edi, eax
mov byte [ebp - 4], bl
mov dword [0x6ce720], edi
lea ebx, [ebp - 0x2c]
call fcn.004351b0
xor ebx, ebx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
jbe 0x427b3a
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040a950
cmp dword [ebp - 0x1c], ebx
je 0x427b3a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x427ad2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x427b3a
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0x2c]
mov edi, 7
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00402260
cmp dword [ebp - 0x18], 8
jb 0x427b15
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
cmp dword [ebp - 0xc0], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
jb 0x428418
mov eax, dword [ebp - 0xd4]
push eax
jmp 0x428410
lea esi, [ebp - 0xb8]
call fcn.004324d0
mov byte [ebp - 4], 3
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x104], reloc.WS2_32.dll_accept
call fcn.00432470
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.004327d0
mov esi, eax
push 0x688728
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 5
call fcn.0040aa60
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 6
call fcn.0040ada0
add esp, 0xc
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 7
cmp dword [0x6ce720], ebx
jne 0x427be0
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x427bd5
mov esi, eax
call fcn.00434ee0
jmp 0x427bd7
xor eax, eax
mov byte [ebp - 4], 7
mov dword [0x6ce720], eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x100]
mov edx, edi
lea esi, [ebp - 0x80]
call fcn.00435610
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00402260
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x427c1a
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0xdc], edi
jb 0x427c42
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
cmp dword [ebp - 0x50], edi
jb 0x427c68
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], edi
jb 0x427c85
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x88], edi
jb 0x427cac
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x1c], ebx
jbe 0x427f63
lea esi, [ebp - 0x9c]
call fcn.00432830
push eax
lea edx, [ebp - 0x64]
push 0x688728
push edx
mov byte [ebp - 4], 0xa
call fcn.00411e70
add esp, 0xc
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.004320b0
add esp, 4
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xf1]
cmp dword [ebp - 0x34], edi
jb 0x427d04
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], edi
jb 0x427d26
mov edx, dword [ebp - 0x64]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x88], edi
jb 0x427d4d
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
cmp byte [ebp - 0xf1], bl
je 0x427e1c
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040a950
cmp dword [ebp - 0x1c], ebx
je 0x427f63
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x427d7f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x427f63
mov esi, dword [ebp - 0xfc]
lea ecx, [ebp - 0x2c]
xor eax, eax
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov ecx, esi
mov word [esi], ax
call fcn.00402260
cmp dword [ebp - 0xa4], edi
jb 0x427dca
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x18], edi
jb 0x427df4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0xc0], edi
jb 0x428418
mov eax, dword [ebp - 0xd4]
push eax
jmp 0x428410
lea esi, [ebp - 0x9c]
call fcn.00432800
mov esi, eax
mov byte [ebp - 4], 0xc
xor ecx, ecx
push 1
mov word [ebp - 0x80], cx
push 0x688728
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
call fcn.00403600
push esi
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040ada0
add esp, 0xc
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call fcn.004320b0
add esp, 4
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xf1]
cmp dword [ebp - 0x34], edi
jb 0x427e8f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x50], edi
jb 0x427eb1
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], edi
jb 0x427ece
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x88], edi
jb 0x427ef5
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
cmp byte [ebp - 0xf1], bl
je 0x427f63
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040a950
cmp dword [ebp - 0x1c], ebx
je 0x427f63
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x427f1f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x427f63
lea eax, [ebp - 0x2c]
push eax
mov esi, dword [ebp - 0xfc]
mov ecx, esi
call fcn.00401da0
lea ecx, [ebp - 0xb8]
call fcn.004bf3b0
lea ecx, [ebp - 0x2c]
call fcn.004bf3b0
lea ecx, [ebp - 0xd4]
call fcn.004bf3b0
jmp 0x428418
call fcn.00432b90
test al, al
je 0x427f87
lea esi, [ebp - 0x9c]
call fcn.00432500
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xf8], 2
jmp 0x427fa0
lea esi, [ebp - 0x48]
call fcn.004324d0
mov dword [ebp - 4], 0x10
mov dword [ebp - 0xf8], 4
push eax
lea ecx, [ebp - 0xb8]
call fcn.00402260
test byte [ebp - 0xf8], 4
je 0x427fdd
and dword [ebp - 0xf8], 0xfffffffb
cmp dword [ebp - 0x34], edi
jb 0x427fcd
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov dword [ebp - 4], 3
test byte [ebp - 0xf8], 2
je 0x428004
cmp dword [ebp - 0x88], edi
jb 0x428004
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x100], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00432470
mov dword [ebp - 0x104], eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x11
call fcn.004327d0
mov esi, eax
push 0x688728
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 0x12
call fcn.0040aa60
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040ada0
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x14
cmp dword [0x6ce720], ebx
jne 0x42809f
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0x15
cmp eax, ebx
je 0x428094
mov esi, eax
call fcn.00434ee0
jmp 0x428096
xor eax, eax
mov byte [ebp - 4], 0x14
mov dword [0x6ce720], eax
mov edx, dword [ebp - 0x104]
lea ecx, [ebp - 0x100]
push ecx
mov ecx, dword [ebp - 0xf8]
lea esi, [ebp - 0x48]
call fcn.00435610
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.00402260
cmp dword [ebp - 0x34], edi
jb 0x4280d8
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], edi
jb 0x4280fa
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0xdc], edi
jb 0x42811d
mov eax, dword [ebp - 0xf0]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
cmp dword [ebp - 0x6c], edi
jb 0x428143
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x88], edi
jb 0x42816a
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x1c], ebx
jbe 0x42838e
lea esi, [ebp - 0x9c]
call fcn.00432830
push eax
lea edx, [ebp - 0x64]
push 0x688728
push edx
mov byte [ebp - 4], 0x17
call fcn.00411e70
add esp, 0xc
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x18
call fcn.004320b0
add esp, 4
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xf1]
cmp dword [ebp - 0x34], edi
jb 0x4281c2
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], edi
jb 0x4281e4
mov edx, dword [ebp - 0x64]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x88], edi
jb 0x42820b
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
cmp byte [ebp - 0xf1], bl
je 0x428272
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040a950
cmp dword [ebp - 0x1c], ebx
je 0x42838e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x428239
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x42838e
mov esi, dword [ebp - 0xfc]
lea ecx, [ebp - 0x2c]
xor eax, eax
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov ecx, esi
mov word [esi], ax
call fcn.00402260
jmp 0x427f40
lea esi, [ebp - 0x9c]
call fcn.00432800
mov esi, eax
mov byte [ebp - 4], 0x19
push 1
xor edx, edx
push 0x688728
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00403600
push esi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 0x1a
call fcn.0040ada0
add esp, 0xc
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1b
call fcn.004320b0
add esp, 4
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xf1]
cmp dword [ebp - 0x34], edi
jb 0x4282e5
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], edi
jb 0x428307
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], edi
jb 0x428324
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], edi
jb 0x42834b
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
cmp byte [ebp - 0xf1], bl
je 0x42838e
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a950
cmp dword [ebp - 0x1c], ebx
je 0x42838e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x428375
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x42838e
lea ecx, [ebp - 0x2c]
push ecx
jmp 0x427f33
mov esi, dword [ebp - 0xfc]
push ebx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x688638
mov ecx, esi
mov word [esi], dx
call fcn.00403600
cmp dword [ebp - 0xa4], edi
jb 0x4283c7
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x18], edi
jb 0x4283f1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0xc0], edi
jb 0x428418
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.004effaf
add esp, 4
mov eax, esi
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.005dd8e2
mov esp, ebp
pop ebp
ret