Function at 0x43c970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de068
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x66c0e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x20]
push eax
call fcn.004ba0b6
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004b9f7f
lea edx, [ebp - 0x1c]
push edx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004b92d5
push 0x5fc4e8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 2
call fcn.0040c560
lea edx, [ebp - 0x18]
push edx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.00420650
add esp, 0x18
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ca11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5fc4d8
push 0x532
mov ecx, esi
call fcn.004b3d2c
push 0x5fc4d8
push 0x52e
mov ecx, esi
call fcn.004b3d2c
push 0x5fc4d8
push 0x52f
mov ecx, esi
call fcn.004b3d2c
push 0x5fc4d8
push 0x530
mov ecx, esi
call fcn.004b3d2c
push 0x5fc4d8
push 0x531
mov ecx, esi
call fcn.004b3d2c
mov ecx, dword [ebp - 0x18]
push ecx
push 0x532
mov ecx, esi
call fcn.004b3d2c
mov edx, dword [ebp - 0x20]
push 0x5fc4d4
push edx
call fcn.005bc263
add esp, 8
test eax, eax
jne 0x43cbf7
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43cbf7
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
push eax
call fcn.00405fe0
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0x44]
mov dword [edi], eax
call fcn.00433110
lea edi, [esi + 0x204]
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
mov dword [ebp - 0x28], edi
call fcn.004341a0
test al, al
je 0x43cbeb
call fcn.004b5c24
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43cafb
push 0x80004005
call fcn.004047e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
movzx edx, word [edi]
lea ecx, [ebp - 0x10]
push ecx
push edx
mov byte [ebp - 4], 7
call fcn.0044eeb0
mov eax, dword [eax*8 + 0x6000cc]
add esp, 4
push eax
mov ecx, 0x66d9e8
call fcn.00440520
mov ecx, dword [ebp - 0x10]
push ecx
push 0x52e
mov ecx, esi
call fcn.004b3d2c
movzx eax, byte [esi + 0x248]
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.0044eee0
mov ecx, dword [eax*8 + 0x600094]
add esp, 4
push ecx
mov ecx, 0x66d9e8
call fcn.00440520
mov edx, dword [ebp - 0x10]
push edx
push 0x52f
mov ecx, esi
call fcn.004b3d2c
movzx eax, word [esi + 0x24a]
push eax
lea ecx, [ebp - 0x10]
push 0x5f6a9c
push ecx
call fcn.004065c0
mov edx, dword [ebp - 0x10]
add esp, 0xc
push edx
push 0x530
mov ecx, esi
call fcn.004b3d2c
movzx eax, word [esi + 0x24c]
push eax
lea ecx, [ebp - 0x10]
push 0x5f6a9c
push ecx
call fcn.004065c0
mov edx, dword [ebp - 0x10]
add esp, 0xc
push edx
push 0x531
mov ecx, esi
call fcn.004b3d2c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cbeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00430780
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cc1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cc3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cc60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cc86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret