Function at 0x43c450
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4754a7
mov eax, dword fs:[0]
push eax
mov eax, 0x14dc
call fcn.0045cb30
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x14d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x14f0]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.0043b370
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x38], esi
cmp esi, ebx
jne 0x43c4a9
xor eax, eax
jmp 0x43c7a4
mov ecx, esi
call fcn.00458e40
mov edi, eax
mov dword [esp + 0x2c], edi
cmp edi, ebx
je 0x43c4a2
mov eax, dword [0x493014]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x14fc], ebx
call fcn.0043f650
mov eax, dword [0x493014]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0xbf
lea ecx, [esp + 0x18]
mov byte [esp + 0x14fc], 1
call fcn.0041c830
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14fc], 2
call fcn.0041c290
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov byte [esp + 0x14f8], 1
cmp edx, dword [0x493010]
je 0x43c546
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c546
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
push 0x206
lea ecx, [esp + 0x10e2]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x10e8], ax
call fcn.0045bc00
push 0x206
lea eax, [esp + 0x12f6]
xor edx, edx
push ebx
push eax
mov word [esp + 0x12fc], dx
call fcn.0045bc00
mov ecx, dword [edi]
mov eax, dword [ecx + 0x18]
add esp, 0x18
push 0x104
lea edx, [esp + 0x12e8]
push edx
push edi
call eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x30]
push edx
push 0x104
lea eax, [esp + 0x10ec]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
push eax
push edi
call ecx
test eax, eax
je 0x43c76b
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x43c5e0
cmp dword [esp + 0x34], 0
je 0x43c73f
push 0x800
lea edx, [esp + 0x8e0]
push 0
push edx
call fcn.0045bc00
push 0x800
lea eax, [esp + 0xec]
push 0
push eax
call fcn.0045bc00
add esp, 0x18
lea ecx, [esp + 0x10dc]
push ecx
lea edx, [esp + 0x12e8]
push edx
lea eax, [esp + 0xe4]
push eax
call ebx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10dc]
push ecx
push edx
lea eax, [esp + 0x8e4]
push eax
call ebx
lea ecx, [esp + 0x8dc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 1
mov esi, eax
lea eax, [ecx - 0xc]
jg 0x43c669
cmp esi, dword [ecx - 4]
jle 0x43c6ab
add ecx, 0xfffffff4
cmp ecx, dword [0x493010]
je 0x43c699
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c68f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
mov edx, dword [0x493014]
mov dword [esp + 0x20], edx
push esi
lea ecx, [esp + 0x24]
call fcn.0041a2b0
test eax, eax
je 0x43c6dc
mov ecx, dword [esp + 0x20]
lea edi, [esi + esi]
lea eax, [edi + 2]
cmp eax, edi
jb 0x43c6cb
push edi
lea edx, [esp + 0x8e0]
push edx
push ecx
call fcn.0045c2d0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [ecx - 8], esi
mov ecx, dword [esp + 0x20]
xor eax, eax
mov word [edi + ecx], ax
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea edx, [esp + 0x20]
push edx
push 0x3443
push eax
call esi
lea ecx, [esp + 0xdc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c7cc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
push 0
mov dword [esp + 0x40], edx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 4]
push 0x343c
lea ecx, [esp + 0x10e8]
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0
call esi
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x30]
push edx
push 0x104
lea eax, [esp + 0x10ec]
push eax
push edi
call ecx
test eax, eax
jne 0x43c5e0
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
push edi
call eax
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx + 0xc]
mov esi, eax
lea eax, [ebp + 0x54]
push esi
push eax
call edx
lea ecx, [esp + 0x1c]
call fcn.0041a530
lea ecx, [esp + 0x18]
call fcn.0041a500
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x2711
add eax, 0xffffd8f0
mov ecx, dword [esp + 0x14f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14d8]
xor ecx, esp
call fcn.0045bbec
add esp, 0x14e8
ret
mov edx, dword [0x493014]
mov dword [esp + 0x14], edx
push 0x95
lea ecx, [esp + 0x18]
mov byte [esp + 0x14fc], 3
call fcn.0041c740
push 0x47d1f0
lea eax, [esp + 0x5c]
push 0x20
mov ebx, 4
push eax
mov dword [esp + 0x60], ebx
call fcn.0045d487
push 0x47cb6c
lea ecx, [esp + 0xac]
push 0x20
push ecx
mov dword [esp + 0xb0], 2
call fcn.0045d487
mov edx, dword [ebp + 4]
add esp, 0x18
push 0x3ea
push edx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x96
lea ecx, [esp + 0x30]
call fcn.0041c830
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push 0x30
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x40]
push 2
push eax
mov eax, dword [ebp + 4]
push edx
push eax
mov byte [esp + 0x1510], bl
call fcn.0043fa50
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x14f8], 3
call fcn.0041a500
cmp esi, ebx
jne 0x43c886
call fcn.0042c300
mov ecx, dword [ebp + 4]
push 0
push 0
push 0x3442
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x14]
call fcn.0041a500
lea ecx, [esp + 0x1c]
call fcn.0041a530
lea ecx, [esp + 0x18]
call fcn.0041a500
or eax, 0xffffffff
jmp 0x43c7a4