Function at 0x73f4d10d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x73f6600c]
and dword [ebp - 0x21c], 0
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x1fc]
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
call fcn.73f4c8e1
test eax, eax
mov dword [ebp - 0x210], eax
jl 0x73f4d531
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x1f4], eax
mov eax, dword [edi]
lea edx, [ecx + ecx*2]
mov dword [esi + 0x1f8], ecx
add ecx, 3
mov dword [ebp - 0x23c], edx
add edx, eax
lea eax, [eax + ecx*2]
add eax, ecx
mov edi, dword [esi + eax*4]
push ebx
mov ebx, dword [esi + edx*4 + 0xc]
mov ecx, esi
call fcn.73f4c8b5
mov eax, dword [ebp + 8]
sub eax, 0
je 0x73f4d1a6
dec eax
je 0x73f4d198
mov dword [ebp - 0x210], 0x80070057
jmp 0x73f4d530
lea eax, [ebx + ebx]
push eax
call fcn.73f114ab
mov dword [esi + 4], eax
jmp 0x73f4d1b3
mov eax, edi
shl eax, 2
push eax
call fcn.73f114ab
mov dword [esi], eax
neg eax
sbb eax, eax
mov edi, 0x7ff8fff2
and eax, edi
add eax, 0x8007000e
test eax, eax
mov dword [ebp - 0x210], eax
jl 0x73f4d530
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x73f4d1f1
mov dword [ebp - 0x210], 0x80004005
cmp dword [ebp - 0x210], 0
jl 0x73f4d530
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x20e], 0x5c
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x73f4d22a
push 0x73f15678
lea eax, [ebp - 0x20c]
push eax
call ebx
push 0x73f4d558
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x21c], eax
jne 0x73f4d259
mov dword [ebp - 0x210], 0x80004005
cmp dword [ebp - 0x210], 0
jl 0x73f4d530
push 0x73f4d548
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x224], eax
neg eax
sbb eax, eax
and eax, edi
add eax, 0x8007000e
mov dword [ebp - 0x210], eax
js 0x73f4d530
xor ecx, ecx
and dword [ebp - 0x228], ecx
mov dword [ebp - 0x234], 0xf
cmp dword [ebp - 0x210], 0
jl 0x73f4d530
and dword [ebp - 0x218], 0
mov dword [ebp - 0x230], 0x73f30778
xor ebx, ebx
cmp dword [ebp - 0x210], ebx
jl 0x73f4d516
mov eax, dword [ebp - 0x234]
mov edx, dword [ebp - 0x218]
add eax, edx
mov dword [esi + eax*4], ecx
mov eax, dword [ebp - 0x230]
mov eax, dword [eax]
test eax, eax
lea ecx, [ecx + eax*2 - 1]
mov dword [ebp - 0x238], ecx
jbe 0x73f4d4f6
cmp dword [ebp - 0x210], 0
jl 0x73f4d4f6
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x210], 0
jl 0x73f4d4e7
mov ecx, dword [esi + 0x1fc]
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x228]
add eax, ecx
imul eax, eax, 7
lea edi, [eax + edx]
mov eax, dword [ebp - 0x224]
lea eax, [eax + edi*2]
imul eax, eax, 0xd
add eax, dword [ebp - 0x218]
lea eax, [eax + eax*8]
mov al, byte [ebx + eax*4 + 0x73f26de8]
mov byte [ebp - 0x211], al
mov eax, dword [ebp - 0x224]
sub eax, 0
je 0x73f4d3a7
dec eax
je 0x73f4d36f
mov dword [ebp - 0x210], 0x80070057
jmp 0x73f4d3c7
push 1
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x228]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.73f42ec5
imul edi, edi, 0x1a
add edi, dword [ebp - 0x218]
lea ecx, [edi + edi*8]
movzx ecx, byte [ebx + ecx*4 + 0x73f26de8]
add eax, ecx
mov dword [ebp - 0x22c], eax
jmp 0x73f4d3cd
push 1
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x228]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.73f42ec5
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
cmp byte [ebp - 0x211], 0
jbe 0x73f4d4d4
mov ecx, dword [ebp + 8]
sub ecx, 0
je 0x73f4d442
dec ecx
je 0x73f4d3f4
mov dword [ebp - 0x210], 0x80070057
jmp 0x73f4d4d4
movzx ecx, byte [ebp - 0x211]
add ecx, eax
cmp eax, ecx
mov edi, eax
mov dword [ebp - 0x220], ecx
jae 0x73f4d4d4
mov eax, dword [esi + 0x224]
fld dword [eax + edi*4]
fmul dword [0x73f26d48]
call sub.msvcrt.dll__ftol
mov edx, dword [ebp - 0x21c]
inc dword [ebp - 0x21c]
mov ecx, dword [esi + 4]
inc edi
cmp edi, dword [ebp - 0x220]
mov word [ecx + edx*2], ax
jb 0x73f4d40d
jmp 0x73f4d4d4
movzx edi, byte [ebp - 0x211]
push edi
call fcn.73f5ac41
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x284]
push eax
mov eax, dword [esi + 0x224]
lea eax, [eax + ecx*4]
push edi
push eax
mov ecx, esi
call fcn.73f4cf1f
test eax, eax
je 0x73f4d4ca
mov ecx, dword [ebp - 0x220]
xor eax, eax
inc ecx
shr ecx, 1
mov dword [ebp - 0x220], ecx
xor ecx, ecx
cmp dword [ebp - 0x220], ecx
jbe 0x73f4d4c2
cmp eax, 1
jne 0x73f4d49c
test ecx, ecx
je 0x73f4d4b9
mov edi, dword [esi]
lea edx, [ecx + eax*8]
add edx, eax
fld dword [ebp + edx*4 - 0x284]
mov edx, dword [ebp - 0x21c]
inc dword [ebp - 0x21c]
fstp dword [edi + edx*4]
inc ecx
cmp ecx, dword [ebp - 0x220]
jb 0x73f4d493
inc eax
cmp eax, 2
jb 0x73f4d489
jmp 0x73f4d4d4
mov dword [ebp - 0x210], 0x8007000e
inc dword [ebp - 0x224]
cmp dword [ebp - 0x224], 2
jb 0x73f4d30c
mov eax, dword [ebp - 0x230]
inc ebx
cmp ebx, dword [eax]
jb 0x73f4d2f8
inc dword [ebp - 0x218]
add dword [ebp - 0x230], 4
cmp dword [ebp - 0x218], 0xd
mov ecx, dword [ebp - 0x238]
jb 0x73f4d2bf
add dword [ebp - 0x234], 0xd
inc dword [ebp - 0x228]
cmp dword [ebp - 0x234], 0x6a
jb 0x73f4d2a1
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
call fcn.73f115cd
leave
ret 0xc