Function at 0x417e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x30]
xor eax, eax
push ebp
push 0x41899f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x41a804]
mov eax, dword [eax]
mov byte [eax + 0x224], 1
xor edx, edx
push ebp
push 0x41896f
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x41882e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x119]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.00403454
mov eax, dword [ebp - 0x120]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x41a804]
mov eax, dword [eax]
mov edx, dword [eax + 0x23c]
mov eax, dword [0x41a804]
mov eax, dword [eax]
mov eax, dword [eax + 0x228]
mov ecx, 0x4189b8
call fcn.0040bdb8
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004034a4
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.004036a8
mov eax, dword [ebp - 0x120]
mov edx, 0x4189d8
call fcn.004035b4
je 0x417f54
lea eax, [ebp - 0x10]
mov edx, 0x4189d8
call fcn.004034ac
mov eax, dword [0x41a804]
mov eax, dword [eax]
mov eax, dword [eax + 0x74]
add eax, 0x30
mov edx, dword [ebp - 0x10]
call fcn.0040327c
mov eax, dword [0x41a804]
mov eax, dword [eax]
add eax, 0x248
call fcn.00403228
mov edx, dword [0x41a804]
mov edx, dword [edx]
mov eax, dword [0x41a804]
mov eax, dword [eax]
mov eax, dword [eax + 0x74]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x416a20
mov edx, dword [0x41a804]
mov edx, 0x4189e4
call fcn.00410f8c
mov eax, dword [0x41a804]
mov eax, dword [eax]
cmp dword [eax + 0x248], 0
jne 0x417fc5
call fcn.00402de0
call fcn.00402de0
jmp 0x418979
mov eax, dword [ebp + 0x90]
mov byte [eax], 1
mov eax, dword [ebp + 0x90]
mov byte [eax + 1], 0
mov eax, dword [ebp - 4]
mov byte [eax], 1
mov eax, dword [ebp - 4]
mov byte [eax + 1], 1
mov eax, dword [ebp - 8]
mov byte [eax], 1
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
mov eax, dword [ebp + 0x94]
mov byte [eax], 1
mov eax, dword [ebp + 0x94]
mov byte [eax + 1], 1
mov eax, dword [ebp + 0x8c]
mov byte [eax], 1
mov eax, dword [ebp + 0x8c]
mov byte [eax + 1], 1
mov eax, dword [0x41a804]
mov eax, dword [eax]
mov ecx, dword [eax + 0x248]
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 0x10]
call fcn.004034f0
mov ecx, dword [ebp - 0x120]
mov dl, 1
mov eax, dword [0x4115d0]
call fcn.0041162c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x41880b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x4189f8
mov edx, 0x418a0c
mov eax, dword [ebp - 0x14]
call fcn.00411660
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 0xc]
call fcn.0040327c
lea edx, [ebp - 0x124]
xor eax, eax
call fcn.00402720
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00406128
mov edx, dword [ebp - 0x120]
mov eax, ebx
call fcn.0040327c
push ebx
lea edx, [ebp - 0x120]
mov eax, dword [ebx]
call fcn.00405be0
mov edx, dword [ebp - 0x120]
mov eax, 0x418a24
call fcn.00403730
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.004036a8
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x418a34
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.00411660
mov edx, dword [ebp - 0x120]
mov eax, ebx
call fcn.0040327c
push 0
mov ecx, 0x418a64
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edi, eax
mov esi, edi
and esi, 0xff
shr edi, 8
lea edx, [ebp - 0x124]
mov eax, edi
call fcn.00405d28
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebx]
lea eax, [ebp - 0x120]
call fcn.004034f0
mov edx, dword [ebp - 0x120]
mov eax, 3
call fcn.00417df4
and eax, 0xff
cmp esi, eax
je 0x418166
mov eax, dword [ebp + 0x2c]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
jmp 0x418180
mov dword [ebp - 0x128], edi
fild dword [ebp - 0x128]
fld xword [0x418a70]
fmulp st(1)
mov eax, dword [ebp + 0x2c]
fstp qword [eax]
wait
push 0x418a84
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x418aa4
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.00411660
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 0x28]
call fcn.0040327c
push 1
mov ecx, 0x418ab8
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
dec eax
mov eax, dword [ebp + 0x24]
sete byte [eax]
push 0
mov ecx, 0x418acc
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
push 0x418ae0
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x418b00
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.00411660
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 0x1c]
call fcn.0040327c
push 0x418b14
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x418b2c
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.00411660
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 0x18]
call fcn.0040327c
push 0
mov ecx, 0x418b3c
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
test eax, eax
mov eax, dword [ebp + 0x14]
setne byte [eax]
push 0
mov ecx, 0x418b50
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 1
mov ecx, 0x418b64
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x41828a
je 0x418296
jmp 0x4182a0
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 0
jmp 0x4182a0
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 1
push 1
mov ecx, 0x418b70
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x4182bd
je 0x4182c9
jmp 0x4182d3
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 0
jmp 0x4182d3
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418b88
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x4182f0
je 0x4182fc
jmp 0x418306
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 0
jmp 0x418306
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 1
push 1
mov ecx, 0x418ba8
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418323
je 0x41832c
jmp 0x418333
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 0
jmp 0x418333
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418bc4
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418350
je 0x418359
jmp 0x418360
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 0
jmp 0x418360
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418bd8
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x41837d
je 0x418386
jmp 0x41838d
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 0
jmp 0x41838d
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 1
push 1
mov ecx, 0x418bec
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x4183aa
je 0x4183b3
jmp 0x4183ba
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 0
jmp 0x4183ba
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 1
push 1
mov ecx, 0x418c04
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x4183d7
je 0x4183e0
jmp 0x4183e7
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 0
jmp 0x4183e7
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 1
push 1
mov ecx, 0x418c18
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418404
je 0x41840d
jmp 0x418414
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 0
jmp 0x418414
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418c2c
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418431
je 0x41843a
jmp 0x418441
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 0
jmp 0x418441
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418c40
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x41845e
je 0x418467
jmp 0x41846e
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 0
jmp 0x41846e
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418c50
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x41848b
je 0x418494
jmp 0x41849b
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 0
jmp 0x41849b
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418c64
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x4184b8
je 0x4184c1
jmp 0x4184c8
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 0
jmp 0x4184c8
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418c78
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x4184e5
je 0x4184ee
jmp 0x4184f5
mov eax, dword [ebp + 0x54]
mov byte [eax + 2], 0
jmp 0x4184f5
mov eax, dword [ebp + 0x54]
mov byte [eax + 2], 1
push 1
mov ecx, 0x418c8c
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418512
je 0x41851b
jmp 0x418522
mov eax, dword [ebp + 0x50]
mov byte [eax + 2], 0
jmp 0x418522
mov eax, dword [ebp + 0x50]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418ca0
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x41853f
je 0x418548
jmp 0x41854f
mov eax, dword [ebp + 0x4c]
mov byte [eax + 2], 0
jmp 0x41854f
mov eax, dword [ebp + 0x4c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x418cb8
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 0x48]
mov dword [edx], eax
push 0
mov ecx, 0x418cc8
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 0x44]
mov dword [edx], eax
push 0x280
mov ecx, 0x418cd4
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 0x40]
mov dword [edx], eax
push 0x1e0
mov ecx, 0x418ce4
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 0x3c]
mov dword [edx], eax
push 2
mov ecx, 0x418cf4
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 0x38]
mov dword [edx], eax
push 2
mov ecx, 0x418d08
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 0x34]
mov dword [edx], eax
push 0
mov ecx, 0x418d1c
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
push 2
mov ecx, 0x418d34
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418621
je 0x418630
jmp 0x41863f
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 0
jmp 0x418645
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 1
jmp 0x418645
mov eax, dword [ebp - 8]
mov byte [eax], 1
push 0
mov ecx, 0x418d44
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418662
je 0x418671
jmp 0x418680
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 0
jmp 0x418686
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 1
jmp 0x418686
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
push 2
mov ecx, 0x418d58
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x4186a3
je 0x4186b2
jmp 0x4186c1
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 1
jmp 0x4186c7
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 0
jmp 0x4186c7
mov eax, dword [ebp - 4]
mov byte [eax], 1
push 2
mov ecx, 0x418d68
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x4186e4
je 0x4186f9
jmp 0x41870e
mov eax, dword [ebp + 0x94]
mov byte [eax], 0
mov eax, dword [ebp + 0x94]
mov byte [eax + 2], 0
jmp 0x418717
mov eax, dword [ebp + 0x94]
mov byte [eax], 0
mov eax, dword [ebp + 0x94]
mov byte [eax + 2], 1
jmp 0x418717
mov eax, dword [ebp + 0x94]
mov byte [eax], 1
push 2
mov ecx, 0x418d7c
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418734
je 0x418749
jmp 0x41875e
mov eax, dword [ebp + 0x90]
mov byte [eax], 0
mov eax, dword [ebp + 0x90]
mov byte [eax + 2], 0
jmp 0x418767
mov eax, dword [ebp + 0x90]
mov byte [eax], 0
mov eax, dword [ebp + 0x90]
mov byte [eax + 2], 1
jmp 0x418767
mov eax, dword [ebp + 0x90]
mov byte [eax], 1
push 2
mov ecx, 0x418d94
mov edx, 0x418a50
mov eax, dword [ebp - 0x14]
call fcn.004116c0
sub eax, 1
jb 0x418784
je 0x418799
jmp 0x4187ae
mov eax, dword [ebp + 0x8c]
mov byte [eax], 0
mov eax, dword [ebp + 0x8c]
mov byte [eax + 2], 0
jmp 0x4187b7
mov eax, dword [ebp + 0x8c]
mov byte [eax], 0
mov eax, dword [ebp + 0x8c]
mov byte [eax + 2], 1
jmp 0x4187b7
mov eax, dword [ebp + 0x8c]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418812
mov eax, dword [ebp - 0x14]
call fcn.00402a4c
mov eax, dword [0x41a804]
mov eax, dword [eax]
mov ecx, dword [eax + 0x248]
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 0x10]
call fcn.004034f0
mov eax, dword [ebp - 0x124]
call fcn.00403668
mov edx, eax
lea eax, [ebp - 0x120]
call fcn.004033dc
mov eax, dword [ebp - 0x120]
call fcn.00405f9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4189a6
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.0040324c
lea eax, [ebp - 0x10]
call fcn.00403228
ret