Function at 0x4560b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521859
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x5c]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x40], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], esi
je 0x45611c
add eax, 0xfffffff0
push eax
call fcn.00406e60
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 3
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
jge 0x456175
push ebx
lea ecx, [ebp - 0x18]
call fcn.00406e00
mov esi, dword [ebp - 0x18]
cmp dword [esi - 8], ebx
jge 0x456184
push 0x80070057
call fcn.00406170
push esi
xor ecx, ecx
mov dword [esi - 0xc], ebx
push ebx
mov word [esi + 0x208], cx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004eb8eb
add esp, 8
test eax, eax
js 0x45617a
cmp eax, dword [esi - 8]
jg 0x45617a
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x4561d4
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00406e00
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 8], ebx
jge 0x4561e3
push 0x80070057
call fcn.00406170
xor eax, eax
push edi
push eax
push eax
mov dword [edi - 0xc], ebx
push esi
mov word [edi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004eb8eb
add esp, 8
test eax, eax
js 0x45617a
cmp eax, dword [edi - 8]
jg 0x45617a
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push ecx
call fcn.004245a0
mov esi, eax
mov bl, 8
mov byte [ebp - 4], bl
lea edx, [ebp - 0x24]
push edx
call fcn.00454940
mov byte [ebp - 4], 9
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x14]
push str._s:__s_r_n
push eax
call fcn.00411990
add esp, 0x18
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4562b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0041f380
mov esi, eax
mov bl, 0xc
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.00422ae0
mov byte [ebp - 4], 0xd
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x14]
push str._s:__s_r_n
push eax
call fcn.00411990
add esp, 0x18
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456309
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45632c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00454b10
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00453150
mov edx, dword [esi]
push eax
push edx
lea eax, [ebp - 0x14]
push str._s:__s_r_n
push eax
call fcn.00411990
add esp, 0x14
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [0x589078]
call fcn.0041ee80
mov esi, eax
mov bl, 0x12
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.00454780
mov byte [ebp - 4], 0x13
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x14]
push str._s:__s_r_n
push eax
call fcn.00411990
add esp, 0x14
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4563d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4563f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [0x589078]
call fcn.0041eee0
mov esi, eax
mov bl, 0x16
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.00454ca0
mov byte [ebp - 4], 0x17
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x14]
push str._s:__s_r_n
push eax
call fcn.00411990
add esp, 0x14
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456453
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456476
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [0x589078]
call fcn.00468f70
mov esi, eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [0x589078]
lea edx, [ebp - 0x38]
push edx
call fcn.0041eee0
mov edi, eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [0x589078]
lea eax, [ebp - 0x34]
push eax
call fcn.0041ee80
mov ebx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x30]
push ecx
call fcn.0040d6e0
mov ecx, eax
call fcn.00451c20
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x2c]
push edx
call fcn.00455770
mov byte [ebp - 4], 0x20
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [ebp - 0x28]
push ecx
mov ecx, dword [edx]
push ecx
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.00407500
add esp, 0x1c
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456534
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456557
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45657a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45659d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4565c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00455380
mov bl, 0x26
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0041f010
add esp, 0x10
mov byte [ebp - 4], 0x27
mov esi, dword [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00411920
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456610
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456633
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [0x589078]
add ecx, 0x124
mov byte [ebp - 0x10], 1
call fcn.0040b500
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00406e60
mov esi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x456690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4566b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4566d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4566fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4