Function at 0x426810
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x13c
mov eax, dword [0x4b2a8c]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ebp, dword [esp + 0x150]
imul ebp, ebp, 0x12c
cmp dword [ebp + 0x4b81f8], 0
je 0x4268f0
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [esp + 0x30]
push ecx
lea edx, [ebp + 0x4b81fc]
push edx
call esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
call esi
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
sbb eax, dword [esp + 0x34]
push 0
push 0x2710
push eax
push edx
call fcn.0049cfe0
test edx, edx
jl 0x4268e3
jg 0x42689d
cmp eax, 0x3e8
jb 0x4268e3
cmp byte [ebp + 0x4b80e4], 0
je 0x4268ca
mov ecx, dword [ebp + 0x4b81f8]
push ecx
push 0x1c
call fcn.00483126
mov edx, dword [ebp + 0x4b81f8]
push edx
push 0x2e
call fcn.00483126
add esp, 0x10
mov byte [esp + 0x17], 1
mov eax, dword [ebp + 0x4b81f8]
push eax
call fcn.004895ad
add esp, 4
mov dword [ebp + 0x4b81f8], 0
cmp dword [ebp + 0x4b81f8], 0
jne 0x426990
movzx ecx, word [esp + 0x2c]
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
push ecx
movzx ecx, word [esp + 0x2a]
push edx
movzx edx, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x2c]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push str._d__0.2d__0.2d__0.2d__0.2d__0.2d.PRN
push ecx
call fcn.00483265
add esp, 0x20
lea ebx, [ebp + 0x4b80f4]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
lea eax, [esp + 0x38]
je 0x42696a
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426942
mov edi, ebx
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x426950
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x42697c
mov edx, ebx
lea ecx, [esp + 0x38]
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x426972
push 0x4a7f38
push ebx
call fcn.00485737
add esp, 8
mov dword [ebp + 0x4b81f8], eax
mov eax, dword [ebp + 0x4b81f8]
test eax, eax
je 0x426a7a
cmp byte [esp + 0x17], 0
je 0x4269be
push eax
push 0x1c
call fcn.00483126
mov edx, dword [ebp + 0x4b81f8]
push edx
push 0x26
call fcn.00483126
add esp, 0x10
mov bl, byte [esp + 0x154]
mov eax, dword [ebp + 0x4b81f8]
movzx ecx, bl
push eax
push ecx
call fcn.00483126
add esp, 8
cmp bl, 0x2e
jne 0x426a52
mov edx, dword [ebp + 0x4b81f8]
push edx
call fcn.00486843
add esp, 4
cmp eax, 4
jne 0x426a52
mov eax, dword [ebp + 0x4b81f8]
push 0
push 0
push eax
call fcn.0048899b
mov ecx, dword [ebp + 0x4b81f8]
push ecx
push 1
lea edx, [esp + 0x2c]
push 4
push edx
call fcn.00485b88
mov eax, dword [esp + 0x34]
add esp, 0x1c
cmp al, 0x1c
jne 0x426a52
cmp ah, 0x26
jne 0x426a52
cmp byte [esp + 0x1a], al
jne 0x426a52
mov eax, dword [ebp + 0x4b81f8]
push eax
call fcn.004895ad
lea ecx, [ebp + 0x4b80f4]
push 0x4a7f38
push ecx
call fcn.00485737
add esp, 0xc
mov dword [ebp + 0x4b81f8], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x4b81fc], edx
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0x4b8200], eax
mov dword [ebp + 0x4b8204], ecx
mov dword [ebp + 0x4b8208], edx
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00482caa
add esp, 0x13c
ret