Function at 0x43f520
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615800
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
mov eax, dword [edi + 0x40]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x70], esi
test eax, eax
je 0x43f57d
mov al, byte [eax]
test al, al
jne 0x43f932
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push eax
movups xmmword [ebp - 0x28], xmm0
push 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0x14
call dword [sym.imp.SHELL32.dll_SHQueryRecycleBinW]
test eax, eax
jne 0x43f932
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x18]
je 0x43f932
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x43f932
lea eax, [ebp - 0x34]
push eax
push 0xa
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
jne 0x43f92e
lea edx, [ebp - 0x38]
push edx
push 0x6219e0
push 0
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x43f920
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x44]
push edx
push 0xe0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x43f920
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x2c]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x43f917
nop dword [eax]
mov ecx, edi
call fcn.0043c0f0
test al, al
jne 0x43f90e
xor edi, edi
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 4], edi
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 0x38]
xor esi, esi
push edx
push esi
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
test eax, eax
jne 0x43f710
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRetToStrW]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
call fcn.00407490
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.00440360
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f6ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x5c]
call edi
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x188]
push edx
inc esi
push esi
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
test eax, eax
je 0x43f6a1
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x6c]
sub edi, esi
sar edi, 2
cmp edi, 5
jbe 0x43f8d8
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
je 0x43f904
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
je 0x43f904
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], eax
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00407890
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push dword [esi + 4]
push 0x67a150
push eax
call fcn.00403390
mov ecx, dword [esi + 0xc]
add esp, 0x10
sub ecx, 0x10
call fcn.00407830
lea esi, [eax + 0x10]
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jle 0x43f88a
push 0x20
push esi
call fcn.005e19f1
mov edi, eax
add esp, 8
test edi, edi
je 0x43f88a
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
je 0x43f88a
push edi
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54]
call fcn.00414410
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
mov eax, dword [esi - 0xc]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00416680
mov byte [ebp - 4], 5
push dword [ebp - 0x60]
call fcn.005efcd5
add esp, 4
lea ecx, [ebp - 0x40]
fstp dword [ebp - 0x3c]
push 0x67d5ac
call fcn.0040b0c0
test eax, eax
jne 0x43f830
movss xmm1, dword [0x687918]
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
jmp 0x43f86e
push 0x67d5b4
lea ecx, [ebp - 0x40]
call fcn.0040b0c0
test eax, eax
jne 0x43f850
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, dword [0x687918]
jmp 0x43f866
push 0x67d5bc
lea ecx, [ebp - 0x40]
call fcn.0040b0c0
movss xmm0, dword [ebp - 0x3c]
test eax, eax
jne 0x43f86e
mulss xmm0, dword [0x687918]
call fcn.005c99c0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], eax
call fcn.004032d0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.004032d0
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x50]
push eax
call fcn.00440170
lea ecx, [ebp - 0x54]
call fcn.004032d0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f8bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f8d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ca60
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x2c]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x43f917
mov edi, dword [ebp - 0x74]
jmp 0x43f660
push 0x80004005
call fcn.00403d40
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4