Function at 0x73eace01
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x73ec600c]
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.73eac5d9
test eax, eax
mov dword [ebp - 0x210], eax
jl 0x73ead226
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.73eac5ad
mov eax, dword [ebp + 8]
sub eax, 0
je 0x73eace9a
dec eax
je 0x73eace8c
mov dword [ebp - 0x210], 0x80070057
jmp 0x73ead225
lea eax, [ebx + ebx]
push eax
call fcn.73e714ab
mov dword [esi + 4], eax
jmp 0x73eacea7
mov eax, edi
shl eax, 2
push eax
call fcn.73e714ab
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 0x73ead225
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x73eacee5
mov dword [ebp - 0x210], 0x80004005
cmp dword [ebp - 0x210], 0
jl 0x73ead225
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 0x73eacf1e
push 0x73e75170
lea eax, [ebp - 0x20c]
push eax
call ebx
push 0x73ead24c
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 0x73eacf4d
mov dword [ebp - 0x210], 0x80004005
cmp dword [ebp - 0x210], 0
jl 0x73ead225
push 0x73ead23c
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 0x73ead225
xor ecx, ecx
and dword [ebp - 0x228], ecx
mov dword [ebp - 0x234], 0xf
cmp dword [ebp - 0x210], 0
jl 0x73ead225
and dword [ebp - 0x218], 0
mov dword [ebp - 0x230], 0x73e90130
xor ebx, ebx
cmp dword [ebp - 0x210], ebx
jl 0x73ead20b
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 0x73ead1eb
cmp dword [ebp - 0x210], 0
jl 0x73ead1eb
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x210], 0
jl 0x73ead1dc
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 + 0x73e867a0]
mov byte [ebp - 0x211], al
mov eax, dword [ebp - 0x224]
sub eax, 0
je 0x73ead09b
dec eax
je 0x73ead063
mov dword [ebp - 0x210], 0x80070057
jmp 0x73ead0bb
push 1
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x228]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.73ea2bbd
imul edi, edi, 0x1a
add edi, dword [ebp - 0x218]
lea ecx, [edi + edi*8]
movzx ecx, byte [ebx + ecx*4 + 0x73e867a0]
add eax, ecx
mov dword [ebp - 0x22c], eax
jmp 0x73ead0c1
push 1
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x228]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.73ea2bbd
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
cmp byte [ebp - 0x211], 0
jbe 0x73ead1c9
mov ecx, dword [ebp + 8]
sub ecx, 0
je 0x73ead137
dec ecx
je 0x73ead0e8
mov dword [ebp - 0x210], 0x80070057
jmp 0x73ead1c9
movzx ecx, byte [ebp - 0x211]
add ecx, eax
cmp eax, ecx
mov edi, eax
mov dword [ebp - 0x220], ecx
jae 0x73ead1c9
mov eax, dword [esi + 0x224]
fld dword [eax + edi*4]
fmul dword [0x73e86700]
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
jae 0x73ead1c9
jmp 0x73ead101
movzx edi, byte [ebp - 0x211]
push edi
call fcn.73eba931
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.73eacc17
test eax, eax
je 0x73ead1bf
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 0x73ead1b7
cmp eax, 1
jne 0x73ead191
test ecx, ecx
je 0x73ead1ae
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 0x73ead188
inc eax
cmp eax, 2
jae 0x73ead1c9
jmp 0x73ead17e
mov dword [ebp - 0x210], 0x8007000e
inc dword [ebp - 0x224]
cmp dword [ebp - 0x224], 2
jb 0x73ead000
mov eax, dword [ebp - 0x230]
inc ebx
cmp ebx, dword [eax]
jb 0x73eacfec
inc dword [ebp - 0x218]
add dword [ebp - 0x230], 4
cmp dword [ebp - 0x218], 0xd
mov ecx, dword [ebp - 0x238]
jb 0x73eacfb3
add dword [ebp - 0x234], 0xd
inc dword [ebp - 0x228]
cmp dword [ebp - 0x234], 0x6a
jb 0x73eacf95
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
call fcn.73e71586
leave
ret 0xc