Function at 0x10043900
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x62c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x628], eax
push ebp
mov ebp, dword [esp + 0x634]
push esi
push 0x207
lea eax, [esp + 0x42d]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x434], 0
call fcn.1007dcf0
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x2e]
push edx
mov word [esp + 0x30], cx
call fcn.1007dcf0
mov eax, ebp
add esp, 0x18
mov dword [esp + 8], 0x2710
mov dword [esp + 0x14], 0
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10043970
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x100439b6
cmp word [ebp + eax*2], 0x5c
je 0x100439aa
sub eax, 1
jns 0x10043984
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.10079a05
add esp, 0x62c
ret
lea eax, [ebp + eax*2]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100439cf
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.10079a05
add esp, 0x62c
ret
lea eax, [esp + 0x18]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x100439d6
mov ecx, dword [0x100a1dd0]
mov edx, dword [0x100a1dd4]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x18]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10043a00
mov ecx, dword [str.ren]
mov edx, dword [0x100a1ddc]
push ebx
mov dword [eax], ecx
mov cx, word [0x100a1de0]
push edi
lea edi, [esp + 0x20]
mov dword [eax + 4], edx
mov word [eax + 8], cx
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10043a31
mov ebx, dword [0x1009ed34]
mov eax, esi
mov dword [edi], ebx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10043a50
lea edi, [esp + 0x20]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10043a64
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10043a85
mov dword [edi], ebx
lea edi, [esp + 0x20]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10043aa0
mov edx, dword [0x1009f734]
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [edi], edx
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10043ac0
lea edi, [esp + 0x20]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10043ad4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
push 0
and ecx, 3
push 0x208
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x43c]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [esp + 0x18]
push eax
mov edi, ebp
call fcn.1000db90
add esp, 4
push 0x3e8
call esi
sub dword [esp + 0x10], 0x3e8
push ebp
call ebx
test eax, eax
jne 0x10043b52
cmp dword [esp + 0x10], eax
ja 0x10043b21
mov eax, dword [esp + 0x1c]
jmp 0x10043b57
mov eax, 1
mov ecx, dword [esp + 0x638]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.10079a05
add esp, 0x62c
ret