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

Disassembly:
push 0xffffffffffffffff
push 0x46baee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd18
push ebx
push ebp
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x529]
mov byte [esp + 0x528], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xd3c]
xor ebp, ebp
push str.TEMPPATH
push eax
mov dword [esp + 0xd38], ebp
call fcn.00445c80
add esp, 8
test eax, eax
jne 0x427d4b
lea ecx, [esp + 0x20]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [esp + 0xd40]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4892e4]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x18], eax
push ebp
push 0x80
push 3
push ebp
push 3
lea ecx, [esp + 0x34]
push SysReAllocString
push ecx
mov byte [esp + 0xd4c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x427d18
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x125]
mov byte [esp + 0x124], 0
rep stosd dword es:[edi], eax
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x124]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push ebp
push edx
lea eax, [esp + 0x12c]
push 0x400
push eax
push esi
call ebx
cmp dword [esp + 0x1c], ebp
je 0x427d11
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045e0a4
jmp 0x427cd1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x528]
push ecx
lea ecx, [esp + 0x1c]
mov eax, dword [edx - 8]
push eax
call fcn.0045e0f8
push eax
call fcn.00427b20
add esp, 8
mov byte [esp + 0xd30], 0
lea ecx, [esp + 0x18]
jmp 0x427e89
mov edx, dword [esp + 0xd3c]
push str.COOKIE
push edx
call fcn.00445c80
add esp, 8
test eax, eax
jne 0x427e8e
mov eax, dword [0x4892e4]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0xd44]
lea ecx, [esp + 0x18]
push ecx
push 0x48e488
push edx
mov byte [esp + 0xd3c], 2
call fcn.00464ff9
mov eax, dword [esp + 0xd54]
add esp, 0xc
lea ecx, [esp + 0x18]
push eax
call fcn.0045c039
mov esi, eax
cmp esi, 0xffffffff
je 0x427e7d
push esi
push 0x4885f0
lea ecx, [esp + 0x20]
call fcn.0045c047
mov ecx, dword [0x4892e4]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0xd48]
cmp eax, 0xffffffff
mov byte [esp + 0xd30], 3
je 0x427e18
mov ecx, dword [edx - 8]
sub eax, ecx
sub eax, esi
dec eax
push eax
lea eax, [ecx + esi + 1]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0045be8d
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xd34], 4
call fcn.0045de01
mov byte [esp + 0xd30], 3
lea ecx, [esp + 0x10]
jmp 0x427e4c
mov eax, dword [edx - 8]
lea ecx, [esp + 0x10]
lea eax, [eax + esi + 1]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0045be6a
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xd34], 5
call fcn.0045de01
mov byte [esp + 0xd30], 3
lea ecx, [esp + 0x10]
call fcn.0045dcc8
lea edx, [esp + 0x528]
lea ecx, [esp + 0x1c]
push edx
push ebp
call fcn.0045e0f8
push eax
call fcn.00427b20
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd30], 2
call fcn.0045dcc8
mov byte [esp + 0xd30], 0
lea ecx, [esp + 0x18]
call fcn.0045dcc8
push 0x3c
call fcn.0045da09
add esp, 4
cmp eax, ebp
je 0x427f05
mov ecx, dword [0x4892e4]
mov esi, eax
mov dword [eax], ecx
mov edx, dword [0x4892e4]
mov dword [eax + 4], edx
mov ecx, dword [0x4892e4]
mov dword [eax + 8], ecx
mov edx, dword [0x4892e4]
mov dword [eax + 0xc], edx
mov ecx, dword [0x4892e4]
mov dword [eax + 0x10], ecx
mov edx, dword [0x4892e4]
mov dword [eax + 0x14], edx
mov ecx, dword [0x4892e4]
mov dword [eax + 0x18], ecx
mov edx, dword [0x4892e4]
mov dword [eax + 0x1c], edx
mov ecx, dword [0x4892e4]
mov dword [eax + 0x20], ecx
mov edx, dword [0x4892e4]
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x30], ebp
mov dword [eax + 0x38], ebp
jmp 0x427f07
xor esi, esi
lea eax, [esp + 0x528]
lea ecx, [esp + 0x14]
push eax
call fcn.0045dd36
mov bl, 6
push 0x488bc8
lea ecx, [esp + 0x18]
mov byte [esp + 0xd34], bl
call fcn.0045c039
push 0x488b08
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0045c039
cmp edi, ebp
jl 0x427fb3
cmp eax, ebp
jl 0x427f7c
sub eax, edi
add edi, 3
sub eax, 3
lea ecx, [esp + 0x10]
push eax
push edi
push ecx
lea ecx, [esp + 0x20]
call fcn.0045be8d
push eax
mov ecx, esi
mov byte [esp + 0xd34], 7
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x427fae
cmp eax, 0xffffffff
jne 0x427fb3
add edi, 3
lea edx, [esp + 0x10]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
mov ecx, esi
mov byte [esp + 0xd34], 8
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VP
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x428045
test eax, eax
jl 0x428010
sub eax, edi
lea ecx, [esp + 0x14]
sub eax, 4
push eax
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0045be8d
push eax
lea ecx, [esi + 4]
mov byte [esp + 0xd34], 9
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x428040
cmp eax, 0xffffffff
jne 0x428045
lea ecx, [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 4]
mov byte [esp + 0xd34], 0xa
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VC
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x4280d7
test eax, eax
jl 0x4280a2
sub eax, edi
lea edx, [esp + 0x10]
sub eax, 4
lea ecx, [esp + 0x14]
push eax
push ebp
push edx
call fcn.0045be8d
push eax
lea ecx, [esi + 8]
mov byte [esp + 0xd34], 0xb
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x4280d2
cmp eax, 0xffffffff
jne 0x4280d7
lea eax, [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 8]
mov byte [esp + 0xd34], 0xc
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VJ
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x428169
test eax, eax
jl 0x428134
sub eax, edi
lea ecx, [esp + 0x10]
sub eax, 4
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0045be8d
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0xd34], 0xd
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x428164
cmp eax, 0xffffffff
jne 0x428169
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0xd34], 0xe
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VS
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x4281fb
test eax, eax
jl 0x4281c6
sub eax, edi
lea ecx, [esp + 0x14]
sub eax, 4
push eax
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0045be8d
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0xd34], 0xf
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x4281f6
cmp eax, 0xffffffff
jne 0x4281fb
lea ecx, [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0xd34], 0x10
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VD
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x42828d
test eax, eax
jl 0x428258
sub eax, edi
lea edx, [esp + 0x10]
sub eax, 4
lea ecx, [esp + 0x14]
push eax
push ebp
push edx
call fcn.0045be8d
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0xd34], 0x11
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x428288
cmp eax, 0xffffffff
jne 0x42828d
lea eax, [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0xd34], 0x12
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VT
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x42831f
test eax, eax
jl 0x4282ea
sub eax, edi
lea ecx, [esp + 0x10]
sub eax, 4
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0045be8d
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0xd34], 0x13
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x42831a
cmp eax, 0xffffffff
jne 0x42831f
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0xd34], 0x14
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VU
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x4283b1
test eax, eax
jl 0x42837c
sub eax, edi
lea ecx, [esp + 0x14]
sub eax, 4
push eax
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0045be8d
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0xd34], 0x15
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x4283ac
cmp eax, 0xffffffff
jne 0x4283b1
lea ecx, [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0xd34], 0x16
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VM
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x428443
test eax, eax
jl 0x42840e
sub eax, edi
lea edx, [esp + 0x10]
sub eax, 4
lea ecx, [esp + 0x14]
push eax
push ebp
push edx
call fcn.0045be8d
push eax
lea ecx, [esi + 0x20]
mov byte [esp + 0xd34], 0x17
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x42843e
cmp eax, 0xffffffff
jne 0x428443
lea eax, [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 0x20]
mov byte [esp + 0xd34], 0x18
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
push str.VV
lea ecx, [esp + 0x18]
call fcn.0045c039
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x488b08
call fcn.0045c047
test edi, edi
jl 0x4284d5
test eax, eax
jl 0x4284a0
sub eax, edi
lea ecx, [esp + 0x10]
sub eax, 4
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0045be8d
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0xd34], 0x19
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x4284d0
cmp eax, 0xffffffff
jne 0x4284d5
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x1c]
call fcn.0045be6a
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0xd34], 0x1a
call fcn.0045de01
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.0045dcc8
lea ecx, [esi + 8]
call fcn.0045e18f
mov ecx, esi
call fcn.0045e18f
lea edi, [esi + 4]
mov ecx, edi
call fcn.0045e18f
lea ecx, [esi + 0x24]
call fcn.0045e18f
lea ebp, [esi + 0x10]
mov ecx, ebp
call fcn.0045e18f
lea ecx, [esi + 0xc]
call fcn.0045e18f
mov eax, dword [edi]
push 0x488054
push eax
call fcn.00439ed6
add esp, 8
test eax, eax
jne 0x42853d
mov eax, dword [ebp]
push 0x488b7c
push eax
call fcn.00439ed6
add esp, 8
test eax, eax
jne 0x42853d
push 0x488b70
mov ecx, esi
call fcn.0045de51
mov eax, dword [edi]
push 0x488054
push eax
call fcn.00439ed6
add esp, 8
test eax, eax
jne 0x428572
mov eax, dword [ebp]
push 0x488b6c
push eax
call fcn.00439ed6
add esp, 8
test eax, eax
jne 0x428572
push 0x488b60
mov ecx, esi
call fcn.0045de51
push 1
push 2
lea ecx, [esp + 0x24]
call fcn.0045bcd3
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
push ecx
push eax
call fcn.00439ed6
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.0045dcc8
test bl, bl
je 0x4285ad
push 0x488aa8
mov ecx, esi
call fcn.0045de51
mov eax, dword [esi]
push 0x48e488
push eax
call fcn.00439ed6
add esp, 8
test eax, eax
jne 0x4285ff
mov edi, dword [edi]
push 0x48e488
push edi
call fcn.00439ed6
add esp, 8
test eax, eax
jne 0x4285ff
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4285e7
push str.NO_DATA
jmp 0x4285ec
push str.NULL
mov ecx, esi
call fcn.0045de51
push 0x488b7c
mov ecx, ebp
call fcn.0045de51
lea ecx, [esp + 0x14]
mov byte [esp + 0xd30], 0
call fcn.0045dcc8
lea ecx, [esp + 0xd4c]
mov dword [esp + 0xd30], 0x1f
call fcn.0045dcc8
lea ecx, [esp + 0xd48]
mov byte [esp + 0xd30], 0x1e
call fcn.0045dcc8
lea ecx, [esp + 0xd44]
mov byte [esp + 0xd30], 0x1d
call fcn.0045dcc8
lea ecx, [esp + 0xd40]
mov byte [esp + 0xd30], 0x1c
call fcn.0045dcc8
lea ecx, [esp + 0xd3c]
mov byte [esp + 0xd30], 0x1b
call fcn.0045dcc8
lea ecx, [esp + 0xd38]
mov dword [esp + 0xd30], 0xffffffff
call fcn.0045dcc8
mov ecx, dword [esp + 0xd28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd24
ret 0x18