Function at 0x42edf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535373
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x58ab78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x134], 0
je 0x42efad
add esi, 0x110
push 0x5466b8
push esi
call fcn.0042a260
add esp, 8
test al, al
je 0x42ef41
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.0044edd0
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 0
push eax
call fcn.0042c610
push eax
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
call fcn.0044b830
add esp, 0x18
push dword [eax]
mov byte [ebp - 4], 2
push ecx
push esp
call fcn.0044ee40
add esp, 4
lea eax, [ebp - 0x244]
push eax
call fcn.0042b870
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00422800
mov edx, dword [ebp - 0x244]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42eece
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x240]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42eef1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ef14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42f0fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42f0fc
push dword [esi]
call fcn.0044bbb0
add esp, 4
test al, al
je 0x42f0fc
push dword [esi]
push ecx
push esp
call fcn.0044ee40
add esp, 4
lea eax, [ebp - 0x234]
push eax
call fcn.0042b870
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00422800
mov edx, dword [ebp - 0x234]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42f0fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42f0fc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004a0810
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x42f074
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0042c820
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 5
push str.Could_not_get_temp_directory_path._n_n
push eax
call fcn.0042a540
add esp, 0x14
push 0
push 0x10
push dword [eax]
mov byte [ebp - 4], 6
call fcn.00482e28
mov edx, dword [ebp - 0x234]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 5
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42f049
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42f06d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
jmp 0x42f0fe
lea eax, [ebp - 0x230]
push eax
call fcn.00439340
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 7
jb 0x42f092
mov eax, dword [eax]
push eax
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00422310
lea eax, [ebp - 0x23c]
push eax
call fcn.0042b870
add esp, 0xc
lea ecx, [esi + 0x110]
mov byte [ebp - 4], 8
push eax
call fcn.00422800
mov edx, dword [ebp - 0x23c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42f0e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x21c], 8
jb 0x42f0fc
push dword [ebp - 0x230]
call fcn.0047d4a0
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f3ce
mov esp, ebp
pop ebp
ret