Function at 0x443b30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x560a46
mov eax, dword fs:[0]
push eax
mov eax, 0x9be0
call fcn.00541260
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x9bdc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x9bf4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c08]
mov edi, dword [esp + 0x9c04]
mov ebp, dword [esp + 0x9c14]
mov ebx, dword [esp + 0x9c18]
mov esi, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x24], 0
cmp eax, 1
je 0x443ba9
cmp eax, 2
jne 0x443bdd
push 1
lea ecx, [esp + 0x24]
push ecx
push edi
mov ecx, esi
call fcn.00441480
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x443e22
mov edx, dword [esp + 0x20]
push edx
push edi
push ebp
push 0
mov ecx, esi
call fcn.004427e0
mov dword [ebx], eax
jmp 0x443d49
mov eax, dword [esp + 0x9c0c]
push eax
call fcn.00441fd0
test eax, eax
je 0x443e22
push edi
mov ecx, esi
call fcn.00443a80
xor ecx, ecx
lea edx, [esp + 0x38]
mov word [esp + 0x38], cx
push edx
mov ecx, esi
mov edi, eax
call fcn.00442a80
test eax, eax
je 0x443c68
lea eax, [esp + 0x38]
push eax
push edi
call fcn.005422d6
add esp, 8
test eax, eax
je 0x443c4f
lea eax, [esp + 0x38]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443c30
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
mov ecx, 0x2f
cmp cx, word [edi]
jne 0x443c4f
add edi, 2
lea edx, [esp + 0x38]
push edx
lea eax, [esi + 0x4fc]
push 0x208
push eax
call fcn.0054013c
add esp, 0xc
push edi
lea ecx, [esp + 0xc30]
push str.RETR__s_r_n
push ecx
call fcn.0043bbf0
lea eax, [esp + 0xc38]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x443c90
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443c90
mov ecx, dword [esi + 0xbc]
push 0
push 0
sub eax, edx
push 0x7e1
sar eax, 1
lea edx, [esp + 0x454]
push edx
push eax
neg ecx
lea eax, [esp + 0xc40]
push eax
sbb ecx, ecx
push 0
and ecx, 0xfde9
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x448]
push edx
mov ecx, esi
mov byte [esp + eax + 0x44c], 0
call fcn.004ae610
test eax, eax
je 0x443e22
mov ecx, esi
call fcn.00442290
test eax, eax
je 0x443e22
push 0x7e2
lea eax, [esp + 0xc30]
push eax
mov ecx, esi
call fcn.0043c2f0
add eax, 0xffffff9c
cmp eax, 0x63
ja 0x443e22
push 0
push 0
push ebp
lea ecx, [esp + 0xc38]
push ecx
mov ecx, esi
call fcn.004427e0
mov ecx, esi
mov dword [ebx], eax
call fcn.00442260
test eax, eax
je 0x443e22
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0044fce0
mov ebx, dword [esp + 0x14]
push 1
push 0
push 0x40000000
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x9c0c], 0
call fcn.00450840
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x443e3a
lea edx, [esp + 0x18]
push ebx
push edx
call fcn.00450720
add esp, 8
mov eax, dword [esp + 0x18]
push eax
mov byte [esp + 0x9c00], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x443dcd
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046e110
add esp, 4
push 1
push 0
push 0x40000000
push ebx
lea ecx, [esp + 0x3c]
call fcn.00450840
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x443e29
mov edx, dword [esp + 0x20]
push edx
push edi
mov ecx, esi
call fcn.00441330
mov ecx, esi
call fcn.004ad8c0
mov eax, dword [esi + 0xb4]
cmp eax, 1
je 0x443e05
cmp eax, 2
je 0x443e05
push 0x7e2
lea eax, [esp + 0xc30]
push eax
mov ecx, esi
call fcn.0043c2f0
lea ecx, [esp + 0x18]
call fcn.00401b70
lea ecx, [esp + 0x2c]
mov dword [esp + 0x9bfc], 0xffffffff
call fcn.0044fd20
xor eax, eax
jmp 0x443fa5
lea ecx, [esp + 0x18]
mov byte [esp + 0x9bfc], 0
call fcn.00401b70
mov ebp, dword [ebp]
xor ebx, ebx
mov dword [esp + 0x14], 0
mov edi, 0x8000
cmp dword [esi + 0xd4], ebx
jne 0x443f1d
mov eax, dword [esi + 0xb4]
cmp eax, 1
je 0x443e68
cmp eax, 2
jne 0x443e9d
test ebp, ebp
jbe 0x443f33
cmp ebp, 0x8000
jae 0x443e7a
mov edi, ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edi
push ebx
lea ecx, [esp + 0x1bf8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004419f0
mov ecx, edi
mov dword [esp + 0x28], ecx
jmp 0x443ebe
push 0
push 1
lea ecx, [esp + 0x30]
push ecx
push 0x8000
lea edx, [esp + 0x1c00]
push edx
mov ecx, esi
call fcn.004add80
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x443f23
test ecx, ecx
jle 0x443f33
add ebx, ecx
cmp ebp, ecx
jbe 0x443ed0
sub ebp, ecx
jmp 0x443ed2
xor ebp, ebp
push ecx
lea eax, [esp + 0x1bf4]
push eax
lea ecx, [esp + 0x34]
call fcn.004509e0
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x443f02
mov edx, dword [esp + 0x9c10]
push 4
lea ecx, [esp + 0x2c]
push ecx
push 0x29
push edx
push esi
call eax
cmp dword [esi + 0xd4], 0
mov edi, 0x8000
je 0x443e58
mov ecx, esi
call fcn.004401f0
jmp 0x443f33
mov dword [esp + 0x1c], ebx
jmp 0x443f2b
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x2c]
call fcn.0044d2c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00441330
mov ecx, esi
call fcn.004ad8c0
cmp dword [esp + 0x14], 0
jne 0x443f8d
mov eax, dword [esi + 0xb4]
cmp eax, 1
je 0x443f8d
cmp eax, 2
je 0x443f8d
push 0x7e2
lea edx, [esp + 0xc30]
push edx
mov ecx, esi
call fcn.0043c2f0
add eax, 0xffffff38
cmp eax, 0x63
ja 0x443e0e
lea ecx, [esp + 0x2c]
mov dword [esp + 0x9bfc], 0xffffffff
call fcn.0044fd20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9bf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9bdc]
xor ecx, esp
call fcn.0053fa67
add esp, 0x9bec
ret 0x18