Function at 0x4274e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644c8b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
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
mov dword [ebp - 0xd8], ebx
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
lea esi, [ebp - 0x9c]
mov dword [ebp - 4], ebx
call fcn.004327d0
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.004324d0
mov byte [ebp - 4], 2
push 1
xor edx, edx
push 0x688728
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00403600
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 3
call fcn.0040ad50
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0040a950
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x4275a9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x4275ca
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x48]
mov dword [ebp - 0xdc], reloc.WS2_32.dll_accept
call fcn.00432470
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 5
cmp dword [0x6ce720], ebx
jne 0x42761d
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x427612
mov esi, eax
call fcn.00434ee0
jmp 0x427614
xor eax, eax
mov byte [ebp - 4], 5
mov dword [0x6ce720], eax
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x80]
lea esi, [ebp - 0x2c]
call fcn.00435610
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x427658
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x427679
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x4277b2
lea esi, [ebp - 0x48]
mov dword [ebp - 0xe0], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00432470
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 8
cmp dword [0x6ce720], ebx
jne 0x4276d5
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4276ca
mov esi, eax
call fcn.00434ee0
jmp 0x4276cc
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x6ce720], eax
mov edx, dword [ebp - 0xdc]
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x80]
lea esi, [ebp - 0x2c]
call fcn.00435610
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x427710
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x427731
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x4277b2
mov esi, dword [ebp - 0xe4]
push ebx
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 0x688638
mov ecx, esi
mov word [esi], dx
call fcn.00403600
cmp dword [ebp - 0x6c], 8
jb 0x427766
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
jb 0x42778a
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
jb 0x4279f1
mov ecx, dword [ebp - 0x64]
push ecx
jmp 0x4279e9
lea esi, [ebp - 0xd4]
call fcn.00432800
push eax
lea edx, [ebp - 0x48]
push 0x688728
push edx
mov byte [ebp - 4], 0xb
call fcn.00411e70
add esp, 0xc
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.004320b0
add esp, 4
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x427809
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x427826
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0xc0], esi
jb 0x42784d
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x42789b
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x42785d
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x42789b
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
xor edx, edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00403240
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xd8], 2
jmp 0x4278c9
xor ecx, ecx
push ebx
mov word [ebp - 0x48], cx
push 0x688638
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00403600
mov dword [ebp - 4], 0xf
lea eax, [ebp - 0x48]
mov dword [ebp - 0xd8], 4
xor edx, edx
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
call fcn.00402260
mov dword [ebp - 4], 0x10
test byte [ebp - 0xd8], 4
je 0x42791e
and dword [ebp - 0xd8], 0xfffffffb
cmp dword [ebp - 0x34], esi
jb 0x427912
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 0x12
test byte [ebp - 0xd8], 2
je 0x427948
cmp dword [ebp - 0x18], esi
jb 0x42793c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov esi, dword [ebp - 0xe4]
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edx, [ebp - 0xb8]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00402260
cmp dword [ebp - 0xa4], 8
jb 0x42797f
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
jb 0x4279a6
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
jb 0x4279ca
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
jb 0x4279f1
mov eax, dword [ebp - 0x64]
push eax
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