Function at 0x455fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521a09
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 0x45604c
add eax, 0xfffffff0
push eax
call fcn.00406d80
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 0x4560a5
push ebx
lea ecx, [ebp - 0x18]
call fcn.00406d20
mov esi, dword [ebp - 0x18]
cmp dword [esi - 8], ebx
jge 0x4560b4
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.004ebabf
add esp, 8
test eax, eax
js 0x4560aa
cmp eax, dword [esi - 8]
jg 0x4560aa
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 0x456104
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00406d20
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 8], ebx
jge 0x456113
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.004ebabf
add esp, 8
test eax, eax
js 0x4560aa
cmp eax, dword [edi - 8]
jg 0x4560aa
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.004246a0
mov esi, eax
mov bl, 8
mov byte [ebp - 4], bl
lea edx, [ebp - 0x24]
push edx
call fcn.00474680
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.00411c70
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 0x4561c0
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 0x4561e3
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.0041f660
mov esi, eax
mov bl, 0xc
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.00454a30
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.00411c70
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 0x456239
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 0x45625c
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.004548a0
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00452f40
mov edx, dword [esi]
push eax
push edx
lea eax, [ebp - 0x14]
push str._s:__s_r_n
push eax
call fcn.00411c70
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 0x4562a8
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.0041f170
mov esi, eax
mov bl, 0x12
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.004546e0
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.00411c70
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 0x456304
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 0x456327
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.0041f1d0
mov esi, eax
mov bl, 0x16
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.00454bd0
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.00411c70
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 0x456383
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 0x4563a6
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.00468f10
mov esi, eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [0x589078]
lea edx, [ebp - 0x38]
push edx
call fcn.0041f1d0
mov edi, eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [0x589078]
lea eax, [ebp - 0x34]
push eax
call fcn.0041f170
mov ebx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x30]
push ecx
call fcn.0040d9a0
mov ecx, eax
call fcn.00451a00
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x2c]
push edx
call fcn.004556a0
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.00407460
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 0x456464
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 0x456487
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 0x4564aa
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 0x4564cd
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 0x4564f0
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.004552b0
mov bl, 0x26
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0041f300
add esp, 0x10
mov byte [ebp - 4], 0x27
mov esi, dword [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00411c00
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 0x456540
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 0x456563
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.0040b4e0
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00406d80
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 0x4565c0
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 0x4565e3
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 0x456606
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 0x45662c
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