Function at 0x416cf4
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 + 0x28]
xor eax, eax
push ebp
push 0x4177b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x419804]
mov eax, dword [eax]
mov byte [eax + 0x200], 1
xor edx, edx
push ebp
push 0x417782
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x417641
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 [0x419804]
mov eax, dword [eax]
mov edx, dword [eax + 0x218]
mov eax, dword [0x419804]
mov eax, dword [eax]
mov eax, dword [eax + 0x204]
mov ecx, 0x4177cc
call fcn.0040bc58
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403480
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00403684
mov eax, dword [ebp - 0x120]
mov edx, 0x4177ec
call fcn.00403590
je 0x416de8
lea eax, [ebp - 0x10]
mov edx, 0x4177ec
call fcn.00403488
mov eax, dword [0x419804]
mov eax, dword [eax]
mov eax, dword [eax + 0x74]
add eax, 0x30
mov edx, dword [ebp - 0x10]
call fcn.0040327c
mov eax, dword [0x419804]
mov eax, dword [eax]
add eax, 0x224
call fcn.00403228
mov edx, dword [0x419804]
mov edx, dword [edx]
mov eax, dword [0x419804]
mov eax, dword [eax]
mov eax, dword [eax + 0x74]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x415e48
mov edx, dword [0x419804]
mov edx, 0x4177f8
call fcn.00410e2c
mov eax, dword [0x419804]
mov eax, dword [eax]
cmp dword [eax + 0x224], 0
jne 0x416e59
call fcn.00402de0
call fcn.00402de0
jmp 0x41778c
mov eax, dword [ebp + 0x84]
mov byte [eax], 1
mov eax, dword [ebp + 0x84]
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 + 0x88]
mov byte [eax], 1
mov eax, dword [ebp + 0x88]
mov byte [eax + 1], 1
mov eax, dword [ebp + 0x80]
mov byte [eax], 1
mov eax, dword [ebp + 0x80]
mov byte [eax + 1], 1
mov eax, dword [0x419804]
mov eax, dword [eax]
mov ecx, dword [eax + 0x224]
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 0x10]
call fcn.004034cc
mov ecx, dword [ebp - 0x120]
mov dl, 1
mov eax, dword [0x411470]
call fcn.004114cc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x41761e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x124]
xor eax, eax
call fcn.00402720
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00406008
mov edx, dword [ebp - 0x120]
mov eax, ebx
call fcn.0040327c
push ebx
lea edx, [ebp - 0x120]
mov eax, dword [ebx]
call fcn.00405b1c
mov edx, dword [ebp - 0x120]
mov eax, 0x41780c
call fcn.0040370c
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00403684
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x41781c
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411500
mov edx, dword [ebp - 0x120]
mov eax, ebx
call fcn.0040327c
push 0
mov ecx, 0x41784c
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edi, eax
mov esi, edi
and esi, 0xff
shr edi, 8
lea edx, [ebp - 0x124]
mov eax, edi
call fcn.00405c64
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebx]
lea eax, [ebp - 0x120]
call fcn.004034cc
mov edx, dword [ebp - 0x120]
mov eax, 3
call fcn.00416c88
and eax, 0xff
cmp esi, eax
je 0x416fd1
mov eax, dword [ebp + 0x24]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
jmp 0x416feb
mov dword [ebp - 0x128], edi
fild dword [ebp - 0x128]
fld xword [0x417858]
fmulp st(1)
mov eax, dword [ebp + 0x24]
fstp qword [eax]
wait
push 0x41786c
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x41788c
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411500
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 0x20]
call fcn.0040327c
push 1
mov ecx, 0x4178a0
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
dec eax
mov eax, dword [ebp + 0x1c]
sete byte [eax]
push 0
mov ecx, 0x4178b4
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
push 0x4178c8
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x4178e8
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411500
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 0x14]
call fcn.0040327c
push 0x4178fc
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x417914
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411500
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + 0x10]
call fcn.0040327c
push 0
mov ecx, 0x417924
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
test eax, eax
mov eax, dword [ebp + 0xc]
setne byte [eax]
push 1
mov ecx, 0x417938
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x4170dc
je 0x4170e5
jmp 0x4170ec
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 0
jmp 0x4170ec
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 1
push 1
mov ecx, 0x417944
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417109
je 0x417112
jmp 0x417119
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 0
jmp 0x417119
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41795c
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417136
je 0x41713f
jmp 0x417146
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 0
jmp 0x417146
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41797c
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417163
je 0x41716c
jmp 0x417173
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 0
jmp 0x417173
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 1
push 0
mov ecx, 0x417998
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417190
je 0x417199
jmp 0x4171a0
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 0
jmp 0x4171a0
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x4179ac
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x4171bd
je 0x4171c6
jmp 0x4171cd
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 0
jmp 0x4171cd
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 1
push 1
mov ecx, 0x4179c0
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x4171ea
je 0x4171f3
jmp 0x4171fa
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 0
jmp 0x4171fa
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 1
push 1
mov ecx, 0x4179d8
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417217
je 0x417220
jmp 0x417227
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 0
jmp 0x417227
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 1
push 1
mov ecx, 0x4179ec
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417244
je 0x41724d
jmp 0x417254
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 0
jmp 0x417254
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x417a00
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417271
je 0x41727a
jmp 0x417281
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 0
jmp 0x417281
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 1
push 0
mov ecx, 0x417a14
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x41729e
je 0x4172a7
jmp 0x4172ae
mov eax, dword [ebp + 0x54]
mov byte [eax + 2], 0
jmp 0x4172ae
mov eax, dword [ebp + 0x54]
mov byte [eax + 2], 1
push 0
mov ecx, 0x417a24
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x4172cb
je 0x4172d4
jmp 0x4172db
mov eax, dword [ebp + 0x50]
mov byte [eax + 2], 0
jmp 0x4172db
mov eax, dword [ebp + 0x50]
mov byte [eax + 2], 1
push 0
mov ecx, 0x417a38
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x4172f8
je 0x417301
jmp 0x417308
mov eax, dword [ebp + 0x4c]
mov byte [eax + 2], 0
jmp 0x417308
mov eax, dword [ebp + 0x4c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x417a4c
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417325
je 0x41732e
jmp 0x417335
mov eax, dword [ebp + 0x48]
mov byte [eax + 2], 0
jmp 0x417335
mov eax, dword [ebp + 0x48]
mov byte [eax + 2], 1
push 1
mov ecx, 0x417a60
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417352
je 0x41735b
jmp 0x417362
mov eax, dword [ebp + 0x44]
mov byte [eax + 2], 0
jmp 0x417362
mov eax, dword [ebp + 0x44]
mov byte [eax + 2], 1
push 0
mov ecx, 0x417a74
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edx, dword [ebp + 0x40]
mov dword [edx], eax
push 0
mov ecx, 0x417a84
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edx, dword [ebp + 0x3c]
mov dword [edx], eax
push 0x280
mov ecx, 0x417a90
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edx, dword [ebp + 0x38]
mov dword [edx], eax
push 0x1e0
mov ecx, 0x417aa0
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edx, dword [ebp + 0x34]
mov dword [edx], eax
push 2
mov ecx, 0x417ab0
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edx, dword [ebp + 0x30]
mov dword [edx], eax
push 2
mov ecx, 0x417ac4
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edx, dword [ebp + 0x2c]
mov dword [edx], eax
push 0
mov ecx, 0x417ad8
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 2
mov ecx, 0x417af0
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417434
je 0x417443
jmp 0x417452
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 0
jmp 0x417458
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 1
jmp 0x417458
mov eax, dword [ebp - 8]
mov byte [eax], 1
push 0
mov ecx, 0x417b00
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417475
je 0x417484
jmp 0x417493
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 0
jmp 0x417499
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 1
jmp 0x417499
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
push 2
mov ecx, 0x417b14
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x4174b6
je 0x4174c5
jmp 0x4174d4
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 1
jmp 0x4174da
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 0
jmp 0x4174da
mov eax, dword [ebp - 4]
mov byte [eax], 1
push 2
mov ecx, 0x417b24
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x4174f7
je 0x41750c
jmp 0x417521
mov eax, dword [ebp + 0x88]
mov byte [eax], 0
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 0
jmp 0x41752a
mov eax, dword [ebp + 0x88]
mov byte [eax], 0
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 1
jmp 0x41752a
mov eax, dword [ebp + 0x88]
mov byte [eax], 1
push 2
mov ecx, 0x417b38
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417547
je 0x41755c
jmp 0x417571
mov eax, dword [ebp + 0x84]
mov byte [eax], 0
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 0
jmp 0x41757a
mov eax, dword [ebp + 0x84]
mov byte [eax], 0
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 1
jmp 0x41757a
mov eax, dword [ebp + 0x84]
mov byte [eax], 1
push 2
mov ecx, 0x417b50
mov edx, 0x417838
mov eax, dword [ebp - 0x14]
call fcn.00411560
sub eax, 1
jb 0x417597
je 0x4175ac
jmp 0x4175c1
mov eax, dword [ebp + 0x80]
mov byte [eax], 0
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 0
jmp 0x4175ca
mov eax, dword [ebp + 0x80]
mov byte [eax], 0
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 1
jmp 0x4175ca
mov eax, dword [ebp + 0x80]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417625
mov eax, dword [ebp - 0x14]
call fcn.00402a4c
mov eax, dword [0x419804]
mov eax, dword [eax]
mov ecx, dword [eax + 0x224]
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 0x10]
call fcn.004034cc
mov eax, dword [ebp - 0x124]
call fcn.00403644
mov edx, eax
lea eax, [ebp - 0x120]
call fcn.004033dc
mov eax, dword [ebp - 0x120]
call fcn.00405ed8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4177b9
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.0040324c
lea eax, [ebp - 0x10]
call fcn.00403228
ret