Function at 0x43d427
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4939e8
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], ecx
cmp dword [ecx + 0x10], ebx
jne 0x43d488
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
mov word [eax], cx
jmp 0x43d681
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
lea edx, [ebp - 0xac]
push edx
mov dword [ebp - 4], ebx
call fcn.0043d26e
add esp, 4
push 7
xor eax, eax
push str.default
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403bac
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.0040b2f1
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x43d4f7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
mov edi, dword [ebp - 0xac]
cmp edi, dword [ebp - 0xa8]
je 0x43d63c
lea eax, [ebp - 0x64]
push eax
call fcn.0043ba19
push 0x49b980
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov byte [ebp - 4], 2
call fcn.00405aad
push edi
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 3
call fcn.00409544
push 0x49b980
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.00405aad
mov ecx, dword [ebp - 0xb8]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 5
call fcn.00409544
add esp, 0x34
cmp dword [ebp - 0x34], esi
jb 0x43d573
mov eax, dword [ebp - 0x48]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x6c], esi
jb 0x43d594
mov edx, dword [ebp - 0x80]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x88], esi
jb 0x43d5bb
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00404f07
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x50], esi
jb 0x43d5e9
mov eax, dword [ebp - 0x64]
push eax
call fcn.00404f07
add esp, 4
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x18], esi
jae 0x43d604
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43d69d
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x43d627
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
add edi, 0x1c
cmp edi, dword [ebp - 0xa8]
jne 0x43d509
mov edi, dword [ebp - 0xac]
mov esi, dword [ebp - 0xb0]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
cmp edi, ebx
je 0x43d67f
mov edx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xa8]
push edx
lea eax, [ebp - 0xa0]
push eax
push ecx
push edi
call fcn.0040b679
mov edx, dword [ebp - 0xac]
push edx
call fcn.00404f07
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
xor eax, eax
push ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov ecx, edi
mov word [edi], ax
call fcn.00403c9c
cmp dword [ebp - 0x18], esi
jb 0x43d6ce
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
mov esi, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp esi, ebx
je 0x43d70c
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xa0]
push edx
push eax
push esi
call fcn.0040b679
push esi
call fcn.00404f07
add esp, 0x14
mov eax, edi
jmp 0x43d681