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

Disassembly:
push 0xffffffffffffffff
push 0xa9b62b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xb196ec]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
xor ebp, ebp
push 0x207
lea eax, [esp + 0xf9]
mov edi, ecx
push ebp
push eax
mov dword [esp + 0x64], edi
mov esi, edx
mov dword [esp + 0x38], ebp
mov byte [esp + 0x100], 0
call fcn.00a7ffb0
add esp, 0xc
push ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebp
je 0x9206cc
cmp esi, 0xffffffff
je 0x9206cc
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebp
je 0x9206f2
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push ebp
push ebp
push esi
call ebx
push ebp
push ebp
push ebp
push esi
mov dword [esp + 0x4c], eax
call ebx
lea ecx, [edi + 0x11]
push 1
push ecx
call fcn.00a7b9f8
add esp, 8
mov dword [esp + 0x24], eax
cmp eax, ebp
je 0x9206bc
push ebp
lea edx, [esp + 0x4c]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x9206bc
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00a78fec
mov edx, dword [esp + 0x40]
add esp, 4
push ebp
push ebp
push edx
xor edi, edi
push esi
mov dword [esp + 0x34], edi
call ebx
jmp 0x9206df
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
push ebp
push ebp
push edx
push esi
call ebx
jmp 0x9206df
lea ecx, [esp + 0x24]
mov edx, edi
call fcn.00978190
mov edi, dword [esp + 0x24]
mov dword [esp + 0x48], eax
cmp edi, ebp
je 0x9206f2
cmp dword [esp + 0x48], ebp
jne 0x9206f9
push edi
call fcn.00a78fec
add esp, 4
xor eax, eax
jmp 0x9209f7
cmp dword [esp + 0x82c], 1
jne 0x92078b
push 0x103
lea eax, [esp + 0x301]
push ebp
push eax
mov byte [esp + 0x308], 0
call fcn.00a7ffb0
add esp, 0xc
lea ecx, [esp + 0xf4]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x2fc]
push edx
push ebp
push 0xae29b4
lea eax, [esp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x2fc]
push ecx
lea edx, [esp + 0xf8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0xf4]
push 0xaa1578
push eax
call fcn.00a7932f
add esp, 8
mov dword [esp + 0x30], eax
cmp eax, ebp
je 0x9206e9
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x23]
push edx
lea eax, [esp + 0x54]
push eax
lea ebx, [esp + 0x50]
lea edi, [esp + 0x40]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebp
call fcn.00951ad0
mov esi, eax
test esi, esi
je 0x920999
xor ebx, ebx
push 0x40f
lea ecx, [esp + 0x409]
push ebx
push ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x410], bl
call fcn.00a7ffb0
add esp, 0xc
push ebx
push str._script
push esi
xor ebp, ebp
mov dword [esp + 0x2c], ebx
call fcn.0095c8c0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x920819
lea ecx, [edi + esi]
mov eax, str._scriptb
call fcn.0094c3e0
test eax, eax
jne 0x92081c
or edi, 0xffffffff
push ebx
push str.__script_
push esi
mov dword [esp + 0x44], edi
call fcn.0095c8c0
add esp, 0xc
mov dword [esp + 0x3c], eax
cmp edi, 0xffffffff
je 0x9208e9
cmp eax, 0xffffffff
je 0x9208e9
mov dword [esp + 0x40], 1
xor edi, edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], edi
call fcn.0097f770
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x2c]
push eax
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x82c], edi
call fcn.00975980
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
je 0x92094f
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], ebx
push eax
mov bl, 0x2c
lea edi, [esp + 0x40c]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0x18], 0xffffffff
je 0x92093a
jmp 0x9208b0
push 1
lea ecx, [esp + 0x408]
call fcn.00903770
add esp, 4
test eax, eax
jne 0x920932
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
push eax
mov bl, 0x2c
lea edi, [esp + 0x40c]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0x18], 0xffffffff
jne 0x9208b0
jmp 0x92093a
push ebx
push str._iframe
push esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
call fcn.0095c8c0
add esp, 0xc
push ebx
push str.__iframe_
push esi
mov ebp, eax
call fcn.0095c8c0
add esp, 0xc
mov dword [esp + 0x20], eax
cmp ebp, 0xffffffff
je 0x92092c
cmp eax, 0xffffffff
je 0x92092c
mov dword [esp + 0x50], 1
jmp 0x92084d
xor ebx, ebx
xor ebp, ebp
jmp 0x920967
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00a78fec
add esp, 4
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x824], 0xffffffff
call fcn.0097f840
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x82c], 0
jne 0x920a1f
cmp dword [esp + 0x54], 0
je 0x920a7d
mov eax, 1
cmp dword [esp + 0x40], eax
je 0x920995
cmp dword [esp + 0x50], eax
jne 0x920a7d
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x9209aa
push eax
call fcn.00a79e9e
add esp, 4
mov eax, dword [esp + 0x24]
push eax
call fcn.00a78fec
add esp, 4
cmp dword [esp + 0x82c], 1
jne 0x9209f3
cmp dword [esp + 0x2c], 0
je 0x9209e7
mov edi, dword [esp + 0x58]
push 0
lea ebx, [esp + 0xf8]
call fcn.00980a90
dec eax
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xf4]
call fcn.0094dd20
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x81c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00a78f21
add esp, 0x814
ret
cmp byte [esi], 0
mov eax, esi
je 0x920a2c
inc eax
cmp byte [eax], 0
jne 0x920a26
sub eax, esi
je 0x920a66
lea edi, [eax + 0x11]
push 1
push edi
call fcn.00a7b9f8
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x920a66
push 1
push edi
call fcn.00a7b9f8
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x920ac1
mov edx, dword [esp + 0x20]
push edx
call fcn.00a78fec
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x920a7d
push esi
push 0xaa1998
push eax
call fcn.00a79a18
add esp, 0xc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x920a8b
mov cl, byte [esp + 0x1f]
mov byte [eax], cl
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x920a99
mov dl, byte [esp + 0x17]
mov byte [eax], dl
mov esi, dword [esp + 0x34]
test esi, esi
je 0x920999
push 0xa
push esi
call fcn.00a7a2c0
add esp, 8
test eax, eax
jne 0x920c24
mov dword [esp + 0x34], eax
jmp 0x920c4a
mov eax, dword [esp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esp + 0x54], 0
je 0x920bd4
mov eax, dword [esp + 0x40]
cmp eax, 1
je 0x920aec
cmp dword [esp + 0x50], 1
jne 0x920bd4
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x920b04
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea edi, [ecx + edx]
lea ebp, [ecx + eax]
jmp 0x920b0e
mov eax, dword [esp + 0x20]
lea edi, [eax + ebp]
lea ebp, [eax + ebx]
test edi, edi
je 0x920bc0
test ebp, ebp
je 0x920bc0
cmp ebp, edi
jbe 0x920bc0
mov ebx, dword [esp + 0x18]
cmp ecx, edi
je 0x920b3d
mov eax, ebx
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
mov byte [eax], 0
cmp ecx, edi
jne 0x920b30
cmp ecx, ebp
je 0x920b43
mov ecx, ebp
cmp dword [esp + 0x40], 0
je 0x920b7a
mov eax, str.__script_
nop
inc eax
cmp byte [eax], 0
jne 0x920b50
sub eax, str.__script_
add eax, ecx
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x920b60
mov edi, ebx
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x920b70
jmp 0x920ba8
mov eax, str.__iframe_
nop
inc eax
cmp byte [eax], 0
jne 0x920b80
sub eax, str.__iframe_
add eax, ecx
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x920b90
mov edi, ebx
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x920ba0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x2c], 1
jmp 0x920bea
mov edx, dword [esp + 0x18]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x920bc8
jmp 0x920bea
mov edx, dword [esp + 0x18]
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x920be0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x920c05
mov ecx, dword [esp + 0x18]
push ecx
push 0xaa1998
push eax
call fcn.00a79a18
add esp, 0xc
mov edx, dword [esp + 0x20]
push edx
call fcn.00a78fec
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.00a78fec
add esp, 4
jmp 0x920a7d
mov cl, byte [eax]
lea edx, [eax + 1]
mov dword [esp + 0x44], eax
mov byte [eax], 0
dec eax
cmp byte [eax], 0xd
mov byte [esp + 0x1f], cl
mov dword [esp + 0x34], edx
jne 0x920c4a
mov dword [esp + 0x4c], eax
mov byte [esp + 0x17], 0xd
mov byte [eax], 0
test esi, esi
jne 0x9207c1
jmp 0x920999