Function at 0x43ad10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d8b66
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.0047afd0
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x1070], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x1088]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
push 0x206
lea edx, [esp + 0x682]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x109c], ebx
mov word [esp + 0x688], cx
call fcn.0047a920
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea ecx, [esp + 0x68]
call fcn.00438820
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x478]
push ecx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x478]
push eax
call edi
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x474]
push ecx
call ebp
test eax, eax
je 0x43ae5d
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x478]
push eax
call esi
lea ecx, [esp + 0x26c]
push ecx
lea edx, [esp + 0x478]
push edx
call edi
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43ae5d
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x478]
push edx
call esi
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x478]
push ecx
call edi
xor eax, eax
jmp 0x43ae40
movzx ecx, word [esp + eax + 0x474]
mov word [esp + eax + 0x67c], cx
add eax, 2
test cx, cx
jne 0x43ae40
jmp 0x43af74
lea edx, [esp + 0x67c]
push edx
push 0x429120
lea ecx, [esp + 0x6c]
call fcn.00436e50
test eax, eax
je 0x43af2a
lea eax, [esp + 0x67c]
push eax
push 0x429100
lea ecx, [esp + 0x6c]
call fcn.00436e50
test eax, eax
jne 0x43af2a
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x478]
push edx
call esi
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x478]
push ecx
call edi
push 0
lea edx, [esp + 0x478]
push 1
push edx
call fcn.00438700
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x43aee3
lea eax, [esp + 0x64]
push eax
call fcn.0043ab60
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x478]
push edx
call esi
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x478]
push ecx
call edi
xor eax, eax
jmp 0x43af10
movzx ecx, word [esp + eax + 0x474]
mov word [esp + eax + 0x67c], cx
add eax, 2
test cx, cx
jne 0x43af10
jmp 0x43af74
lea edx, [esp + 0x67c]
push edx
push 0x429120
lea ecx, [esp + 0x6c]
call fcn.00436e50
test eax, eax
jne 0x43af74
lea eax, [esp + 0x67c]
push eax
push 0x429100
lea ecx, [esp + 0x6c]
call fcn.00436e50
test eax, eax
je 0x43af74
lea ecx, [esp + 0x67c]
push ecx
push 0x429140
lea ecx, [esp + 0x6c]
call fcn.00436e50
lea edx, [esp + 0x67c]
push edx
call ebp
test eax, eax
jne 0x43af8a
test ebx, ebx
je 0x43b16c
lea eax, [esp + 0x67c]
push eax
call fcn.00428fc0
add esp, 4
cmp eax, 0x20
je 0x43b099
test ebx, ebx
jne 0x43b0d0
lea ecx, [esp + 0x67c]
push ecx
call fcn.00428fc0
add esp, 4
cmp eax, 0x40
jne 0x43b16c
lea edx, [esp + 0x67c]
push edx
call ebp
test eax, eax
je 0x43b16c
lea eax, [esp + 0x67c]
push eax
lea ecx, [esp + 0x18]
call fcn.00439660
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x88e]
push edx
mov byte [esp + 0x109c], 1
mov word [esp + 0x890], cx
call fcn.0047a920
add esp, 0xc
mov esi, 0x522288
lea edi, [ebx + 0x52]
jmp 0x43b020
mov ecx, dword [esi]
push 0x400
lea eax, [esp + 0x888]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00436f80
test eax, eax
je 0x43b083
lea eax, [esp + 0x884]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b047
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x888]
push edx
lea ecx, [esp + 0x50]
call fcn.00402500
push esi
mov ecx, 0x53a890
call fcn.0043a8e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00401da0
add esi, 4
sub edi, 1
jne 0x43b020
lea ecx, [esp + 0x14]
call fcn.00438910
jmp 0x43b16c
test ebx, ebx
jne 0x43b0d0
lea edx, [esp + 0x67c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x43b0d0
lea eax, [esp + 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43b165
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x88e]
push edx
mov word [esp + 0x890], cx
call fcn.0047a920
mov ebp, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
mov esi, 0x522288
mov edi, 0x52
mov ecx, dword [esi]
push 0x400
lea eax, [esp + 0x888]
push eax
push ecx
push ebx
call ebp
test eax, eax
je 0x43b15d
lea eax, [esp + 0x884]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b121
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x888]
push edx
lea ecx, [esp + 0x50]
call fcn.00402500
push esi
mov ecx, 0x53a890
call fcn.0043a8e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00401da0
add esi, 4
sub edi, 1
jne 0x43b100
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x60], 8
jb 0x43b180
mov edx, dword [esp + 0x4c]
push edx
call fcn.004798f2
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1088]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1070]
xor ecx, esp
call fcn.0047a885
add esp, 0x1080
ret