Function at 0x434d20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48b3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x240]
mov ecx, dword [ebp]
xor eax, eax
cmp dword [ecx - 0xc], eax
je 0x4350eb
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x238], 0
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x238], 1
cmp dword [ebx - 0xc], 0
jne 0x434ddc
mov eax, ebp
lea edi, [esp + 0x18]
call fcn.0040b8a0
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x434ddc
mov esi, edi
call fcn.00416b00
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
test eax, eax
jne 0x434ed4
cmp dword [esp + 0x244], eax
jne 0x434ed4
push 0x20a
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.0046ea20
add esp, 0xc
push 0x104
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x20]
lea edi, [esp + 0x14]
call fcn.00416ac0
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.0046bde9
add esp, 8
test eax, eax
je 0x434e77
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x434e77
add eax, 1
lea ecx, [esp + 0x1c]
mov edx, edi
call fcn.00421810
mov byte [esp + 0x238], 2
call fcn.0040b8a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], 1
call fcn.00416ba0
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x434ed4
lea eax, [esp + 0x14]
call fcn.00434b20
lea eax, [esp + 0x1c]
push ebp
push eax
lea ebx, [esp + 0x1c]
call fcn.00421880
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x238], 3
call fcn.0040b8a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], 1
call fcn.00416ba0
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x434ed4
mov esi, edi
call fcn.00416b00
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
jne 0x435076
lea esi, [esp + 0x14]
call fcn.00416b00
lea esi, [esp + 0x1c]
call fcn.00434b60
lea edi, [esp + 0x14]
mov byte [esp + 0x238], 4
call fcn.0040b8a0
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434f29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x434fa3
lea eax, [esp + 0x14]
call fcn.00434b20
lea edx, [esp + 0x1c]
push ebp
push edx
lea ebx, [esp + 0x1c]
call fcn.00421880
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x238], 5
call fcn.0040b8a0
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434f87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x434fa3
lea esi, [esp + 0x18]
call fcn.00416b00
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
jne 0x435076
lea esi, [esp + 0x14]
call fcn.00416b00
lea esi, [esp + 0x1c]
call fcn.00434c40
lea edi, [esp + 0x14]
mov byte [esp + 0x238], 6
call fcn.0040b8a0
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434ff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x435072
lea eax, [esp + 0x14]
call fcn.00434b20
lea edx, [esp + 0x1c]
push ebp
push edx
lea ebx, [esp + 0x1c]
call fcn.00421880
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x238], 7
call fcn.0040b8a0
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435056
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x435072
lea esi, [esp + 0x18]
call fcn.00416b00
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
je 0x435092
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435092
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x43509a
mov eax, dword [ebp]
push eax
call edi
mov esi, eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4350be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4350e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00469efd
add esp, 0x228
ret