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

Disassembly:
push 0xffffffffffffffff
push 0x46e0c4
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.00448080
add esp, 8
mov ebx, 3
test eax, eax
jne 0x42a042
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 edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x48b574]
mov ecx, edx
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], eax
push ebp
push 0x80
push ebx
push ebp
push ebx
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 0x42a00f
mov ebp, 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 + 0x18]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0
push edx
lea eax, [esp + 0x12c]
push 0x400
push eax
push esi
call ebp
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42a006
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x20]
call fcn.0046049f
jmp 0x429fc3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x528]
push ecx
lea ecx, [esp + 0x20]
mov eax, dword [edx - 8]
push eax
call fcn.004604f3
push eax
call fcn.00429e10
add esp, 8
mov byte [esp + 0xd30], 0
lea ecx, [esp + 0x1c]
jmp 0x42a17d
mov edx, dword [esp + 0xd3c]
push str.COOKIE
push edx
call fcn.00448080
add esp, 8
test eax, eax
jne 0x42a182
mov eax, dword [0x48b574]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xd44]
lea ecx, [esp + 0x1c]
push ecx
push 0x490728
push edx
mov byte [esp + 0xd3c], 2
call fcn.004673f9
mov eax, dword [esp + 0xd54]
add esp, 0xc
lea ecx, [esp + 0x1c]
push eax
call fcn.0045e439
mov esi, eax
cmp esi, 0xffffffff
je 0x42a171
push esi
push 0x48a7b0
lea ecx, [esp + 0x24]
call fcn.0045e447
mov ecx, dword [0x48b574]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xd48]
cmp eax, 0xffffffff
mov byte [esp + 0xd30], bl
je 0x42a10d
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 + 0x28]
call fcn.0045e28d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd34], 4
call fcn.004601fc
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
jmp 0x42a140
mov eax, dword [edx - 8]
lea ecx, [esp + 0x10]
lea eax, [eax + esi + 1]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0045e26a
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd34], 5
call fcn.004601fc
mov byte [esp + 0xd30], bl
lea ecx, [esp + 0x10]
call fcn.004600c3
lea edx, [esp + 0x528]
lea ecx, [esp + 0x18]
push edx
push ebp
call fcn.004604f3
push eax
call fcn.00429e10
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0xd30], 2
call fcn.004600c3
mov byte [esp + 0xd30], 0
lea ecx, [esp + 0x1c]
call fcn.004600c3
push 0x3c
call fcn.0045fe04
add esp, 4
cmp eax, ebp
je 0x42a1f9
mov ecx, dword [0x48b574]
mov esi, eax
mov dword [eax], ecx
mov edx, dword [0x48b574]
mov dword [eax + 4], edx
mov ecx, dword [0x48b574]
mov dword [eax + 8], ecx
mov edx, dword [0x48b574]
mov dword [eax + 0xc], edx
mov ecx, dword [0x48b574]
mov dword [eax + 0x10], ecx
mov edx, dword [0x48b574]
mov dword [eax + 0x14], edx
mov ecx, dword [0x48b574]
mov dword [eax + 0x18], ecx
mov edx, dword [0x48b574]
mov dword [eax + 0x1c], edx
mov ecx, dword [0x48b574]
mov dword [eax + 0x20], ecx
mov edx, dword [0x48b574]
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 0x42a1fb
xor esi, esi
lea eax, [esp + 0x528]
lea ecx, [esp + 0x14]
push eax
call fcn.00460131
push 0x48adfc
lea ecx, [esp + 0x18]
mov byte [esp + 0xd34], 6
call fcn.0045e439
push 0x48ad38
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0045e439
cmp edi, ebp
jl 0x42a2a7
cmp eax, ebp
jl 0x42a26f
sub eax, edi
add edi, 3
sub eax, ebx
lea ecx, [esp + 0x10]
push eax
push edi
push ecx
lea ecx, [esp + 0x20]
call fcn.0045e28d
push eax
mov ecx, esi
mov byte [esp + 0xd34], 7
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a2a2
cmp eax, 0xffffffff
jne 0x42a2a7
add edi, 3
lea edx, [esp + 0x10]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
mov ecx, esi
mov byte [esp + 0xd34], 8
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VP
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a33b
test eax, eax
jl 0x42a305
sub eax, edi
lea ecx, [esp + 0x14]
sub eax, 4
push eax
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0045e28d
push eax
lea ecx, [esi + 4]
mov byte [esp + 0xd34], 9
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a336
cmp eax, 0xffffffff
jne 0x42a33b
lea ecx, [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 4]
mov byte [esp + 0xd34], 0xa
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VC
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a3cf
test eax, eax
jl 0x42a399
sub eax, edi
lea edx, [esp + 0x10]
sub eax, 4
lea ecx, [esp + 0x14]
push eax
push ebp
push edx
call fcn.0045e28d
push eax
lea ecx, [esi + 8]
mov byte [esp + 0xd34], 0xb
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a3ca
cmp eax, 0xffffffff
jne 0x42a3cf
lea eax, [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 8]
mov byte [esp + 0xd34], 0xc
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VJ
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a463
test eax, eax
jl 0x42a42d
sub eax, edi
lea ecx, [esp + 0x10]
sub eax, 4
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0045e28d
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0xd34], 0xd
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a45e
cmp eax, 0xffffffff
jne 0x42a463
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0xd34], 0xe
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VS
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a4f7
test eax, eax
jl 0x42a4c1
sub eax, edi
lea ecx, [esp + 0x14]
sub eax, 4
push eax
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0045e28d
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0xd34], 0xf
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a4f2
cmp eax, 0xffffffff
jne 0x42a4f7
lea ecx, [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0xd34], 0x10
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VD
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a58b
test eax, eax
jl 0x42a555
sub eax, edi
lea edx, [esp + 0x10]
sub eax, 4
lea ecx, [esp + 0x14]
push eax
push ebp
push edx
call fcn.0045e28d
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0xd34], 0x11
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a586
cmp eax, 0xffffffff
jne 0x42a58b
lea eax, [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0xd34], 0x12
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VT
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a61f
test eax, eax
jl 0x42a5e9
sub eax, edi
lea ecx, [esp + 0x10]
sub eax, 4
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0045e28d
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0xd34], 0x13
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a61a
cmp eax, 0xffffffff
jne 0x42a61f
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0xd34], 0x14
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VU
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a6b3
test eax, eax
jl 0x42a67d
sub eax, edi
lea ecx, [esp + 0x14]
sub eax, 4
push eax
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0045e28d
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0xd34], 0x15
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a6ae
cmp eax, 0xffffffff
jne 0x42a6b3
lea ecx, [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0xd34], 0x16
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VM
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a747
test eax, eax
jl 0x42a711
sub eax, edi
lea edx, [esp + 0x10]
sub eax, 4
lea ecx, [esp + 0x14]
push eax
push ebp
push edx
call fcn.0045e28d
push eax
lea ecx, [esi + 0x20]
mov byte [esp + 0xd34], 0x17
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a742
cmp eax, 0xffffffff
jne 0x42a747
lea eax, [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 0x20]
mov byte [esp + 0xd34], 0x18
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
push str.VV
lea ecx, [esp + 0x18]
call fcn.0045e439
mov edi, eax
lea ecx, [esp + 0x14]
lea ebp, [edi + 4]
push ebp
push 0x48ad38
call fcn.0045e447
test edi, edi
jl 0x42a7db
test eax, eax
jl 0x42a7a5
sub eax, edi
lea ecx, [esp + 0x10]
sub eax, 4
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0045e28d
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0xd34], 0x19
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
jmp 0x42a7d6
cmp eax, 0xffffffff
jne 0x42a7db
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x1c]
call fcn.0045e26a
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0xd34], 0x1a
call fcn.004601fc
mov byte [esp + 0xd30], 6
lea ecx, [esp + 0x10]
call fcn.004600c3
lea ecx, [esi + 8]
call fcn.0046058a
mov ecx, esi
call fcn.0046058a
lea edi, [esi + 4]
mov ecx, edi
call fcn.0046058a
lea ecx, [esi + 0x24]
call fcn.0046058a
lea ebp, [esi + 0x10]
mov ecx, ebp
call fcn.0046058a
lea ecx, [esi + 0xc]
call fcn.0046058a
mov eax, dword [edi]
push 0x48a214
push eax
call fcn.0043c2e6
add esp, 8
test eax, eax
jne 0x42a843
mov eax, dword [ebp]
push 0x48adb0
push eax
call fcn.0043c2e6
add esp, 8
test eax, eax
jne 0x42a843
push 0x48ada4
mov ecx, esi
call fcn.0046024c
mov eax, dword [edi]
push 0x48a214
push eax
call fcn.0043c2e6
add esp, 8
test eax, eax
jne 0x42a878
mov eax, dword [ebp]
push 0x48ada0
push eax
call fcn.0043c2e6
add esp, 8
test eax, eax
jne 0x42a878
push 0x48ad94
mov ecx, esi
call fcn.0046024c
push 1
push 2
lea ecx, [esp + 0x20]
call fcn.0045e0d3
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
push ecx
push eax
call fcn.0043c2e6
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.004600c3
test bl, bl
je 0x42a8b3
push 0x48acd8
mov ecx, esi
call fcn.0046024c
mov eax, dword [esi]
push 0x490728
push eax
call fcn.0043c2e6
add esp, 8
test eax, eax
jne 0x42a974
mov edi, dword [edi]
push 0x490728
push edi
call fcn.0043c2e6
add esp, 8
test eax, eax
jne 0x42a974
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x42a8fc
push str.NO_DATA
mov ecx, esi
call fcn.0046024c
jmp 0x42a968
mov eax, dword [0x48b574]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
push 0x14
mov bl, 0x1b
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd38], bl
call fcn.0045e39f
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push str.NULL_s
push eax
mov byte [esp + 0xd3c], 0x1c
call fcn.0045e7bf
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0xd30], bl
call fcn.004600c3
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004601fc
lea ecx, [esp + 0x18]
mov byte [esp + 0xd30], 6
call fcn.004600c3
push 0x48adb0
mov ecx, ebp
call fcn.0046024c
lea ecx, [esp + 0x14]
mov byte [esp + 0xd30], 0
call fcn.004600c3
lea ecx, [esp + 0xd4c]
mov dword [esp + 0xd30], 0x21
call fcn.004600c3
lea ecx, [esp + 0xd48]
mov byte [esp + 0xd30], 0x20
call fcn.004600c3
lea ecx, [esp + 0xd44]
mov byte [esp + 0xd30], 0x1f
call fcn.004600c3
lea ecx, [esp + 0xd40]
mov byte [esp + 0xd30], 0x1e
call fcn.004600c3
lea ecx, [esp + 0xd3c]
mov byte [esp + 0xd30], 0x1d
call fcn.004600c3
lea ecx, [esp + 0xd38]
mov dword [esp + 0xd30], 0xffffffff
call fcn.004600c3
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