Function at 0x43a560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eea16
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xac], edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x43a5d3
push 0xb
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x4fd314
mov word [edi], ax
call fcn.0042b3e0
jmp 0x43ab6c
cmp dword [esi + 0x14], 8
jb 0x43a5db
mov esi, dword [esi]
push 0xfde9
push esi
lea ecx, [ebp - 0x168]
call fcn.00436660
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a610
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.0042b2e0
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x43a643
push eax
call fcn.004c4deb
add esp, 4
xorps xmm0, xmm0
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x70], xmm0
movq qword [ebp - 0x60], xmm0
call fcn.0048c590
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.0048d150
test al, al
jne 0x43a694
push 0xc
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x4fd32c
mov word [edi], ax
call fcn.0042b3e0
jmp 0x43ab59
xorps xmm0, xmm0
lea ecx, [ebp - 0x58]
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.0048c590
push 0x4fd348
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.0042e720
push 4
push 0x4fd34c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x70]
call fcn.0048cfc0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a723
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042b3e0
mov edx, dword [ebp - 0xac]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a75c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.00429290
mov edx, dword [ebp - 0xb0]
mov eax, esi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a785
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a9ca
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
call fcn.00436600
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0042e720
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0043a0f0
mov edx, dword [ebp - 0xb4]
add esp, 8
test eax, eax
mov byte [ebp - 4], 0xc
mov eax, esi
setne byte [ebp - 0x89]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a813
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x89], 0
lea ecx, [ebp - 0xcc]
mov esi, dword [ebp - 0xa8]
je 0x43a939
push 0
call fcn.00489890
push 4
push 0x4fd354
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0042b2e0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x58]
call fcn.0048c6c0
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0xa4]
call fcn.00429290
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xc
call fcn.00489da0
push 0xfde9
lea eax, [ebp - 0xe4]
push esi
push eax
call fcn.00485990
add esp, 0xc
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x10
call fcn.00489820
push 3
push 0x4fd35c
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0042b2e0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x58]
call fcn.0048c6c0
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0xa4]
call fcn.00429290
lea ecx, [ebp - 0xcc]
call fcn.00489da0
lea ecx, [ebp - 0xe4]
call fcn.00429290
jmp 0x43a9a8
push 2
call fcn.00489890
push 4
push 0x4fd360
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0042b2e0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x58]
call fcn.0048c6c0
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0xa4]
call fcn.00429290
lea ecx, [ebp - 0xcc]
call fcn.00489da0
mov byte [ebp - 4], 0xb
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43aa43
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43aa43
push 3
lea ecx, [ebp - 0xcc]
call fcn.00489890
push 4
push 0x4fd368
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0042b2e0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x58]
call fcn.0048c6c0
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0xa4]
call fcn.00429290
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xb
call fcn.00489da0
push 0
push 0x4fd176
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0042b2e0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x58]
call fcn.0048d320
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x18
jb 0x43aa96
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [ebp - 0x26c]
call fcn.00436530
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43aac6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042b3e0
mov eax, dword [ebp - 0x26c]
lea ecx, [ebp - 0x268]
cmp eax, ecx
je 0x43aaf8
push eax
call fcn.004c4deb
add esp, 4
lea ecx, [ebp - 0xe4]
call fcn.00429290
lea ecx, [ebp - 0xa4]
call fcn.00429290
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x28]
mov dword [edi + 0x14], 0
xor eax, eax
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.004292e0
lea ecx, [ebp - 0x40]
call fcn.004292e0
lea ecx, [ebp - 0x58]
call fcn.00489da0
lea ecx, [ebp - 0x70]
call fcn.00489da0
lea ecx, [ebp - 0x88]
call fcn.00429290
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 8