Function at 0x443090
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5608c6
mov eax, dword fs:[0]
push eax
mov eax, 0x9be4
call fcn.00540b00
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x9be0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x9bf8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c18]
mov edi, dword [esp + 0x9c08]
mov ebp, dword [esp + 0x9c0c]
mov ebx, dword [esp + 0x9c1c]
mov esi, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xa0]
mov dword [esp + 0x1c], 0
cmp eax, 1
je 0x443109
cmp eax, 2
jne 0x443141
push 1
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.00440c10
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4433b7
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push edx
push edi
push eax
push 0
mov ecx, esi
call fcn.00441e30
mov dword [ebx], eax
jmp 0x44329d
mov ecx, dword [esp + 0x9c10]
push ecx
mov ecx, esi
call fcn.004416d0
test eax, eax
je 0x4433b7
push edi
mov ecx, esi
call fcn.00442ff0
mov edi, eax
lea eax, [esp + 0x3c]
xor edx, edx
push eax
mov ecx, esi
mov word [esp + 0x40], dx
call fcn.004420b0
test eax, eax
je 0x4431ca
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.00541d06
add esp, 8
test eax, eax
je 0x4431b1
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443192
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
mov edx, 0x2f
cmp dx, word [edi]
jne 0x4431b1
add edi, 2
lea eax, [esp + 0x3c]
push eax
lea ecx, [esi + 0x4e8]
push 0x208
push ecx
call fcn.0053fe1c
add esp, 0xc
push edi
lea edx, [esp + 0x450]
push str.RETR__s_r_n
push edx
call fcn.0043b2f0
lea eax, [esp + 0x458]
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4431f0
push 0
push 0
sub eax, edx
push 0x7e1
sar eax, 1
lea ecx, [esp + 0x141c]
push ecx
push eax
mov eax, dword [esi + 0xa8]
neg eax
lea edx, [esp + 0x460]
push edx
sbb eax, eax
push 0
and eax, 0xfde9
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x1410]
push ecx
mov ecx, esi
mov byte [esp + eax + 0x1414], 0
call fcn.004af290
test eax, eax
je 0x4433b7
push 0x7e2
lea edx, [esp + 0x450]
push edx
mov ecx, esi
call fcn.0043ba60
add eax, 0xffffff9c
cmp eax, 0x63
ja 0x4433b7
mov eax, dword [esp + 0x2c]
push 0
push 0
push eax
lea ecx, [esp + 0x458]
push ecx
mov ecx, esi
call fcn.00441e30
mov ecx, esi
mov dword [ebx], eax
call fcn.004419c0
test eax, eax
je 0x4433b7
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
call fcn.0044e500
push 1
xor ebx, ebx
push ebx
push 0x40000000
push ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x9c10], ebx
call fcn.0044f040
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x4433e6
call fcn.005089db
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4432e7
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
push ebp
mov byte [esp + 0x9c08], 1
call fcn.0044ed90
mov edx, dword [esp + 0x1c]
add esp, 8
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x443343
mov eax, dword [esp + 0x14]
push eax
call fcn.0046d1f0
add esp, 4
push 1
push ebx
push 0x40000000
push ebp
lea ecx, [esp + 0x40]
call fcn.0044f040
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x4433be
mov ecx, dword [esp + 0x18]
push ecx
push edi
mov ecx, esi
call fcn.00440ad0
mov ecx, esi
call fcn.004ad9b0
mov eax, dword [esi + 0xa0]
cmp eax, 1
je 0x44337b
cmp eax, 2
je 0x44337b
push 0x7e2
lea edx, [esp + 0x450]
push edx
mov ecx, esi
call fcn.0043ba60
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x9c00], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4433a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x9c00], 0xffffffff
call fcn.0044e540
xor eax, eax
jmp 0x443555
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x9c00], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4433e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx]
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov edi, 0x8000
cmp dword [esi + 0xc0], ebx
jne 0x4434cd
mov eax, dword [esi + 0xa0]
cmp eax, 1
je 0x443413
cmp eax, 2
jne 0x44344d
test ebp, ebp
jbe 0x4434e3
cmp ebp, 0x8000
jae 0x443425
mov edi, ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edi
push ebx
push 0x8000
lea edx, [esp + 0x1c00]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00441110
mov ecx, edi
mov dword [esp + 0x24], ecx
jmp 0x44346c
push 1
lea edx, [esp + 0x28]
push edx
push 0x8000
lea eax, [esp + 0x1c00]
push eax
mov ecx, esi
call fcn.004af010
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x4434d3
test ecx, ecx
jle 0x4434e3
add ebx, ecx
cmp ebp, ecx
jbe 0x44347e
sub ebp, ecx
jmp 0x443480
xor ebp, ebp
push 1
push ecx
lea ecx, [esp + 0x1bfc]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0044f330
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x4434b2
mov ecx, dword [esp + 0x9c14]
push 4
lea edx, [esp + 0x28]
push edx
push 0x29
push ecx
push esi
call eax
cmp dword [esi + 0xc0], 0
mov edi, 0x8000
je 0x443403
mov ecx, esi
call fcn.0043fa10
jmp 0x4434e3
mov dword [esp + 0x20], ebx
jmp 0x4434db
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x30]
call fcn.0044b4d0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00440ad0
mov ecx, esi
call fcn.004ad9b0
cmp dword [esp + 0x28], 0
jne 0x44353d
mov eax, dword [esi + 0xa0]
cmp eax, 1
je 0x44353d
cmp eax, 2
je 0x44353d
push 0x7e2
lea ecx, [esp + 0x450]
push ecx
mov ecx, esi
call fcn.0043ba60
add eax, 0xffffff38
cmp eax, 0x63
ja 0x4433a3
lea ecx, [esp + 0x30]
mov dword [esp + 0x9c00], 0xffffffff
call fcn.0044e540
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x9bf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9be0]
xor ecx, esp
call fcn.0053f73f
add esp, 0x9bf0
ret 0x18