Function at 0x433370
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5065a0
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov eax, dword [0x54d210]
mov edx, dword [eax + 0xc]
mov ecx, 0x54d210
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], 0
call fcn.0045f790
add esp, 4
test eax, eax
je 0x4334f1
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4334f1
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4334f1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0045afbc
add esp, 4
test eax, eax
jne 0x433406
call fcn.00433d00
test eax, eax
je 0x4334f1
lea ecx, [esp + 0x24]
push ecx
mov ecx, str.__sepro
call fcn.004085e0
mov byte [esp + 0x1c], 1
test ebp, ebp
jne 0x433422
xor eax, eax
jmp 0x433436
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433427
sub eax, edx
sar eax, 1
push eax
push ebp
lea edx, [esp + 0x2c]
push edx
call fcn.00404990
mov eax, dword [esp + 0x24]
push eax
push edi
call fcn.0045fdb8
mov esi, eax
add esp, 8
cmp esi, 0x20
jg 0x43346c
mov ecx, dword [esp + 0x24]
push ecx
push edi
call fcn.0047f274
mov esi, eax
add esp, 8
cmp esi, 0x20
jle 0x4334cc
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433491
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4334b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4334f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0045f8ae
mov edi, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x433570
test edi, edi
je 0x433570
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433570
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0045afbc
add esp, 4
test eax, eax
jne 0x433531
call fcn.00433d00
test eax, eax
je 0x433570
push ebp
push edi
call fcn.0045fdb8
mov esi, eax
add esp, 8
cmp esi, 0x20
jg 0x433553
push ebp
push edi
call fcn.0047f274
mov esi, eax
add esp, 8
cmp esi, 0x20
jle 0x433570
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4334a9
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433594
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ebp
call fcn.0045fdb8
add esp, 8
cmp eax, 0x20
jg 0x4335af
push 0
push ebp
call fcn.0047f274
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4