Function at 0x456860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7db9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 0x4568cc
add eax, 0xfffffff0
push eax
call fcn.00406ee0
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 [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 3
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
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 0x456925
push ebx
lea ecx, [ebp - 0x18]
call fcn.00406e80
mov esi, dword [ebp - 0x18]
cmp dword [esi - 8], ebx
jge 0x456934
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.004ab44b
add esp, 8
test eax, eax
js 0x45692a
cmp eax, dword [esi - 8]
jg 0x45692a
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 0x456984
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00406e80
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 8], ebx
jge 0x456993
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.004ab44b
add esp, 8
test eax, eax
js 0x45692a
cmp eax, dword [edi - 8]
jg 0x45692a
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push ecx
call fcn.00416aa0
mov esi, eax
mov bl, 8
mov byte [ebp - 4], bl
lea edx, [ebp - 0x24]
push edx
call fcn.00425b50
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.00412c60
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 0x456a40
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 0x456a63
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.00413e40
mov esi, eax
mov bl, 0xc
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.00475790
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.00412c60
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 0x456ab9
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 0x456adc
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.004552c0
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00453960
mov edx, dword [esi]
push eax
push edx
lea eax, [ebp - 0x14]
push str._s:__s_r_n
push eax
call fcn.00412c60
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 0x456b28
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 [0x52f500]
call fcn.00412ce0
mov esi, eax
mov bl, 0x12
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.00455100
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.00412c60
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 0x456b84
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 0x456ba7
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 [0x52f500]
call fcn.00412d40
mov esi, eax
mov bl, 0x16
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
call fcn.00455450
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.00412c60
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 0x456c03
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 0x456c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [0x52f500]
call fcn.0046a400
mov esi, eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [0x52f500]
lea edx, [ebp - 0x38]
push edx
call fcn.00412d40
mov edi, eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [0x52f500]
lea eax, [ebp - 0x34]
push eax
call fcn.00412ce0
mov ebx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x30]
push ecx
call fcn.0040dee0
mov ecx, eax
call fcn.00452430
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x2c]
push edx
call fcn.00455f20
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.00407560
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 0x456ce4
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 0x456d07
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 0x456d2a
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 0x456d4d
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 0x456d70
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.00455b30
mov bl, 0x26
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.004225e0
add esp, 0x10
mov byte [ebp - 4], 0x27
mov esi, dword [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00412bf0
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 0x456dc0
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 0x456de3
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 [0x52f500]
add ecx, 0x124
mov byte [ebp - 0x10], 1
call fcn.0040ba60
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00406ee0
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 0x456e40
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 0x456e63
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 0x456e86
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 0x456eac
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