Function at 0x1072bc0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x44]
sub esp, 0x44
push 0xffffffffffffffff
push 0x10877b9
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x10c7124]
xor eax, ebp
mov dword [ebp + 0x40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
sub eax, dword [0x10c7098]
push 0x10c7d88
sub eax, 0xe464
push 0x7a1
mov dword [0x10c7090], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [0x10c7064]
mov esi, eax
add ecx, dword [0x10c7068]
mov dword [0x10c7004], esi
cmp ecx, 0x61
jne 0x1072c4a
mov ecx, dword [0x10c7008]
mov eax, 0xffff1b9c
shl ecx, 2
sub eax, ecx
sub eax, esi
mov dword [section..data], eax
jmp 0x1072c7a
mov edx, dword [0x10c7008]
mov ecx, edx
mov eax, dword [0x10c708c]
sub ecx, esi
add eax, 0xffffffc7
add eax, ecx
mov dword [0x10c708c], eax
mov eax, dword [section..data]
add eax, 0x3d
add edx, eax
mov dword [0x10c7008], edx
adc dword [0x10c700c], 0
push 0x10c8b20
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edx, dword [0x10c7098]
mov eax, edx
mov ecx, dword [section..data]
sub eax, ecx
mov edi, dword [0x10c700c]
sub eax, 4
mov esi, dword [0x10c7008]
xor ebx, ebx
mov dword [0x10c7090], eax
mov dword [0x10c8b1c], ebx
cmp ecx, dword [0x10c7020]
je 0x1072cfd
mov ecx, dword [ebx*4 + 0x10c7010]
mov eax, edi
mul ecx
mov edi, eax
mov eax, esi
mul ecx
mov ecx, dword [section..data]
add edi, edx
mov esi, eax
mov edx, dword [0x10c7098]
lea eax, [ecx + edx*4]
sub esi, eax
mov dword [0x10c7008], esi
sbb edi, 0
mov dword [0x10c700c], edi
cmp ecx, dword [0x10c7014]
je 0x1072d03
inc ebx
cmp ebx, 0x20
jl 0x1072cb8
mov dword [0x10c8b1c], ebx
cmp dword [0x10c7058], ecx
ja 0x1072d3d
lea esi, [ecx + ecx]
mov dword [0x10c7048], edx
sub esi, edx
mov dword [0x10c700c], 0
sub esi, 0xe427
mov dword [0x10c7098], esi
sub esi, ecx
sub esi, 4
mov dword [0x10c7008], esi
push esi
call fcn.010720a0
mov ecx, dword [0x10c7004]
add esp, 4
imul edx, ecx, 0x15cfa
mov dword [0x10c7090], 0xffff1b9c
mov dword [ebp + 0x38], 0
lea eax, [ecx - 0xe427]
mov dword [ebp + 0x3c], 0xf
mov dword [0x10c7004], eax
imul eax, ecx, 0xae7d
sub edx, 0x3e65
push 4
push str.gues
lea ecx, [ebp + 0x28]
mov dword [section..data], edx
mov byte [ebp + 0x28], 0
sub eax, edx
add eax, 0x647d3291
mov dword [0x10c7098], eax
call fcn.01071580
mov edx, dword [0x10c7098]
mov ecx, edx
sub ecx, dword [0x10c7090]
mov eax, dword [0x10c7004]
add ecx, 0xfffffffc
add eax, 0x56
mov dword [0x10c7008], ecx
add eax, edx
mov dword [ebp - 4], 0
sub ecx, edx
mov dword [ebp], eax
sub ecx, 4
mov dword [0x10c700c], 0
lea eax, [ebp + 8]
mov dword [0x10c7004], ecx
mov dword [ebp + 4], 0
mov dword [ebp + 0x1c], eax
push 1
mov byte [ebp - 4], 1
call fcn.01073cf8
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.010023a0
mov dword [ebp + 8], eax
lea eax, [ebp + 0x10]
push eax
call fcn.01002530
add esp, 0xc
mov dword [ebp + 0xc], eax
push 1
push 0x10b8207
push str.Help_St
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xa8]
call fcn.010026b0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.0106f0a0
mov edi, eax
test edi, edi
je 0x1072e58
lock inc dword [edi + 0x20]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x1072e87
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1072e87
mov esi, dword [ebp + 4]
test esi, esi
je 0x1072e87
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x1072e70
mov ecx, dword [ebp - 0x94]
mov dword [ebp + 4], edi
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1072ed2
mov eax, dword [ebp - 0x8c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1072ec8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x107335b
push edx
push ecx
call fcn.010749ed
add esp, 8
mov ecx, dword [0x10c7098]
lea edx, [ebp + 0x28]
mov eax, dword [0x10c7004]
add ecx, 0x56
add eax, ecx
mov dword [0x10c700c], 0
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp + 4]
mov dword [0x10c7008], eax
xorps xmm0, xmm0
cmovae edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x38]
add eax, edx
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 0x3c], 0x10
lea edx, [ebp + 0x28]
mov dword [ebp - 0x50], eax
cmovae edx, dword [ebp + 0x28]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x10], 0
push edx
push 0
push ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
push ecx
push eax
push edx
call fcn.01001990
mov ecx, dword [ebp - 0x4c]
xor edx, edx
test al, al
cmove ecx, edx
mov dword [ebp - 0x4c], ecx
push 0x7a1
call fcn.010796ce
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0
push dword [0x10c7098]
mov byte [ebp - 4], 8
call fcn.010720a0
mov ecx, dword [0x10c7098]
add esp, 0x20
mov esi, dword [0x10c7008]
add ecx, 0x56
mov edx, dword [0x10c7090]
mov ebx, esi
add ecx, ebx
sub edx, ebx
imul eax, ecx, 0xae7e
sub edx, 4
sub eax, edx
lea edi, [eax*2 - 0x3e65]
sub edx, ecx
mov dword [ebp + 0x1c], edi
mov edi, dword [0x10c700c]
add ecx, 0xffffc1d8
sub edx, 0xe464
mov dword [ebp + 0x20], edi
lea eax, [ecx + eax*2]
mov ecx, ebx
sub ecx, eax
mov dword [0x10c7098], eax
sub ecx, 4
mov dword [ebp + 0x24], ecx
mov ecx, esi
test edi, edi
jb 0x10730a0
ja 0x1073069
cmp ecx, eax
jb 0x10730a0
mov esi, eax
mov edi, 0
mov eax, dword [ebp + 0x1c]
sub esi, eax
sub esi, 0x39
add esi, ecx
mov ebx, esi
mov dword [0x10c7008], esi
adc edi, dword [ebp + 0x20]
mov ecx, esi
sub dword [0x10c7048], eax
add eax, 0xfffffff8
add eax, ebx
mov dword [0x10c700c], edi
mov dword [0x10c7098], eax
mov dword [ebp + 0x20], edi
shl eax, 2
sub edx, eax
sub edx, dword [ebp + 0x24]
mov eax, edx
mov dword [ebp + 0x1c], edx
mov dword [0x10c7090], edx
sub eax, ecx
mov edx, dword [ebp + 0x24]
add edx, 0xffffffc7
add eax, edx
xor edx, edx
cmp edx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov dword [0x10c7004], eax
jb 0x10730ff
ja 0x10730d2
cmp edx, ecx
jb 0x10730ff
mov ecx, dword [ebp]
lea eax, [edx - 0x39]
sub dword [0x10c7088], ecx
sub ebx, ecx
add eax, ebx
mov dword [0x10c7090], eax
lea esi, [ecx - 8]
add esi, eax
mov eax, dword [0x10c7004]
xor edi, edi
mov dword [0x10c7008], esi
mov dword [0x10c700c], edi
push eax
call fcn.01071fc0
mov edx, eax
add esp, 4
mov eax, dword [0x10c7098]
mov dword [section..data], edx
mov dword [ebp + 0x24], eax
cmp dword [0x10c7058], eax
ja 0x1073146
mov edx, dword [0x10c7090]
mov ecx, 0xffff1b9c
sub ecx, edx
mov dword [0x10c7048], edx
mov edx, dword [section..data]
add eax, 0x39
add eax, ecx
mov dword [ebp + 0x24], eax
mov dword [0x10c7098], eax
mov ecx, dword [0x10c7004]
add ecx, 0x56
add eax, ecx
xor ebx, ebx
mov dword [0x10c7090], eax
mov dword [0x10c8b1c], ebx
nop
cmp edx, dword [0x10c7020]
je 0x10731a2
mov ecx, dword [ebx*4 + 0x10c7010]
mov eax, edi
mul ecx
mov edi, eax
mov eax, esi
mul ecx
add edi, edx
mov esi, eax
mov edx, dword [section..data]
mov eax, dword [ebp + 0x24]
lea eax, [edx + eax*4]
sub esi, eax
mov dword [0x10c7008], esi
sbb edi, 0
mov dword [0x10c700c], edi
cmp edx, dword [0x10c7014]
je 0x10731a8
inc ebx
cmp ebx, 0x20
jl 0x1073160
xor eax, eax
mov dword [0x10c8b1c], ebx
cmp eax, edi
jb 0x10731e8
ja 0x10731ba
cmp edx, esi
jb 0x10731e8
mov ebx, dword [0x10c7004]
sub esi, ebx
sub dword [0x10c7088], ebx
add esi, 0xffffffc7
add edx, esi
mov dword [section..data], edx
lea esi, [ebx - 8]
add esi, edx
xor edi, edi
mov dword [0x10c7008], esi
mov dword [0x10c700c], edi
jmp 0x10731ee
mov ebx, dword [0x10c7004]
mov eax, dword [0x10c7064]
add eax, dword [0x10c7068]
cmp eax, 0x61
jne 0x1073216
lea eax, [esi*4]
mov ecx, 0xffff1b9c
sub ecx, eax
sub ecx, ebx
mov dword [section..data], ecx
jmp 0x1073240
mov eax, dword [0x10c708c]
mov ecx, esi
add eax, 0xffffffc7
sub ecx, ebx
add eax, ecx
mov dword [0x10c708c], eax
lea eax, [edx + 0x3d]
add esi, eax
mov eax, 0
mov dword [0x10c7008], esi
adc eax, edi
mov dword [0x10c700c], eax
push esi
call fcn.010040f0
mov edx, dword [section..data]
add esp, 4
cmp dword [0x10c7058], edx
ja 0x1073284
mov eax, dword [0x10c7098]
lea ecx, [edx + edx]
sub ecx, eax
mov dword [0x10c7048], eax
sub ecx, 0xe427
mov dword [0x10c700c], 0
mov eax, ecx
sub eax, edx
sub eax, 4
mov dword [0x10c7008], eax
jmp 0x107328a
mov ecx, dword [0x10c7098]
lea eax, [edx + 0x56]
add eax, ecx
mov dword [0x10c7090], eax
imul eax, dword [ebp], 0xae7e
sub eax, ecx
lea ecx, [ebp - 0x84]
mov dword [0x10c7098], eax
call fcn.01003320
lea ecx, [ebp - 0x3c]
call fcn.01003320
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x10732e4
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x10732e4
mov esi, dword [ebp + 4]
test esi, esi
je 0x10732e4
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x10732cd
mov dword [ebp + 4], 0
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x1073307
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x1073307
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov edx, dword [ebp + 0x3c]
cmp edx, 0x10
jb 0x1073337
mov ecx, dword [ebp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x107332d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1073360
push edx
push ecx
call fcn.010749ed
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40]
xor ecx, ebp
call fcn.01074d63
lea esp, [ebp + 0x44]
pop ebp
ret 0xc
call fcn.01079679
call fcn.01079679
int3