Function at 0x43c390
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4e40
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0
mov edx, dword [esi + 8]
sub edx, dword [esi + 4]
mov eax, 0x78787879
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
xorps xmm0, xmm0
or ebx, 0xffffffff
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 0
test eax, eax
jle 0x43c7c8
mov eax, dword [ebp - 0x60]
movsd xmm0, qword [0x654670]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov dword [ebp - 0x40], ecx
movsd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x34], eax
jmp 0x43c430
mov eax, dword [esi + 4]
mov esi, dword [eax + ecx + 0x3c]
mov edi, dword [eax + ecx + 0x38]
mov ebx, dword [eax + ecx + 0x40]
add eax, ecx
push 0
push 2
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x44]
push esi
push edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], eax
call fcn.005c10b0
mov ecx, dword [ebp - 0x20]
cmp ecx, edx
jl 0x43c46a
jg 0x43c465
cmp ebx, eax
jbe 0x43c46a
mov dword [ebp - 0x60], ecx
jmp 0x43c477
mov eax, esi
mov ebx, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x60], eax
mov esi, dword [ebp + 8]
push 0
push 0
push 1
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x64], ebx
mov eax, dword [ecx]
mov byte [ebp - 0x11], 1
mov ebx, esp
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x43c4b0
cmp ecx, dword [esi - 0x10]
jne 0x43c4b0
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43c4e9
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x43c7c3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.005bc17a
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00439800
mov byte [ebp - 4], 1
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c516
test al, 0x10
je 0x43c5cc
mov esi, dword [ebp + 8]
push 0
push 0
push 1
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x48], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x43c549
cmp ecx, dword [esi - 0x10]
jne 0x43c549
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43c582
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x43c7c3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.005bc17a
add esp, 0x10
mov ecx, dword [ebp - 0x48]
lea eax, [edi + 0x10]
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, ebx
call fcn.00439800
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c5a7
test al, 0x10
je 0x43c5ab
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c5cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43c6dc
mov ebx, dword [esi + 4]
sub ebx, dword [esi]
sar ebx, 2
test ebx, ebx
je 0x43c6dc
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
cmp dword [eax - 0xc], 0
je 0x43c6dc
push 0x63cc84
push eax
call fcn.005be8d5
add esp, 8
test eax, eax
je 0x43c6dc
xor edi, edi
test ebx, ebx
jle 0x43c677
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
sub eax, 0x10
push eax
call fcn.004046f0
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x58], esi
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 5
mov ecx, dword [eax + 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x43c7b1
push ecx
push esi
call fcn.005be8d5
add esi, 0xfffffff0
add esp, 8
test eax, eax
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
je 0x43c6c4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c66f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
inc edi
cmp edi, ebx
jl 0x43c613
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c69a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
inc eax
add ecx, 0x88
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
cmp eax, dword [ebp - 0x50]
jge 0x43c7bb
mov esi, dword [ebp - 0x54]
jmp 0x43c430
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c6df
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43c6df
or ebx, 0xffffffff
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x18], 0
je 0x43c759
cmp byte [eax + 0x81], 0
jne 0x43c759
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x30], ecx
jg 0x43c709
mov eax, dword [ebp - 0x28]
jl 0x43c703
cmp dword [ebp - 0x34], eax
jae 0x43c709
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
cmp byte [ebp - 0x11], 0
fild qword [ebp - 0x64]
je 0x43c734
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x4c]
mulsd xmm0, qword [ebp - 0x6c]
movsd qword [ebp - 0x74], xmm0
fld qword [ebp - 0x74]
call fcn.005c6186
jmp 0x43c778
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x4c]
mulsd xmm0, qword [0x654698]
movsd qword [ebp - 0x7c], xmm0
fld qword [ebp - 0x7c]
call fcn.005c6186
jmp 0x43c778
cmp byte [ebp - 0x11], 0
je 0x43c772
xorps xmm0, xmm0
movlpd qword [ebp - 0x64], xmm0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
jmp 0x43c775
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
add edi, eax
adc esi, edx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c6a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43c6a0
push 0x80004005
call fcn.00402040
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
jmp 0x43c7da
call fcn.00401f40
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
cmp byte [ebp + 0x10], 0
je 0x43c7ea
add edi, ecx
adc esi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x43c80e
mov ecx, dword [edi]
push edi
mov esi, dword [ecx]
call dword [esi + 4]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc