Function at 0x94d560
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb10738
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
or edi, 0xffffffff
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x440], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x44c], edi
lea edx, [ebp - 0x438]
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x94d5c0
push str.:ESZone.Identifier
push str.:Zone.Identifier
lea eax, [ebp - 0x438]
push eax
call fcn.0095e130
add esp, 0xc
test eax, eax
jne 0x94d608
xor eax, eax
je 0x94d5fa
push esi
push str._ZI__FN___s__does_not_have_identifier_
push eax
call fcn.0096a780
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x94d951
xor ebx, ebx
je 0x94d621
lea ecx, [ebp - 0x438]
push ecx
push str._ZI__OutF___s_
push ebx
call fcn.0096a780
add esp, 0xc
push 0x80
push 3
push 3
push 0x80000000
lea edi, [ebp - 0x438]
call fcn.0094db00
add esp, 0x10
mov dword [ebp - 0x43c], eax
cmp eax, 0xffffffff
je 0x94d676
lea edx, [ebp - 0x43c]
push edx
call fcn.00985290
test ebx, ebx
je 0x94d667
push str._ZI__ESZone_already_present_
push 0
call fcn.0096a780
add esp, 8
mov dword [ebp - 4], 0xfffffffe
or eax, 0xffffffff
jmp 0x94d951
test ebx, ebx
je 0x94d68a
push esi
push str._ZI__Create___s_
push 0
call fcn.0096a780
add esp, 0xc
push 0x80
push 3
push 3
push 0x80000000
mov edi, esi
call fcn.0094db00
add esp, 0x10
mov esi, eax
mov dword [ebp - 0x43c], esi
cmp esi, 0xffffffff
je 0x94d667
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test ebx, ebx
je 0x94d6ce
push edi
push str._ZI__fsize___u_
push 0
call fcn.0096a780
add esp, 0xc
test edi, edi
je 0x94d8d6
mov dword [ebp - 0x444], ebx
lea eax, [edi + edi + 1]
push eax
call fcn.00a7a155
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x94d8d6
lea eax, [edi + edi + 1]
push eax
push 0
push ebx
call fcn.00a7ffb0
add esp, 0xc
push 0
lea eax, [ebp - 0x444]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x94d8cd
xor eax, eax
je 0x94d736
mov ecx, dword [ebp - 0x444]
push ecx
push str._ZI__ReadBytes___u_
push eax
call fcn.0096a780
add esp, 0xc
test esi, esi
je 0x94d74c
lea edx, [ebp - 0x43c]
push edx
call fcn.00985290
mov esi, dword [ebp - 0x43c]
push 0
push str.ZoneId
push ebx
call fcn.0095c8c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x94d8cd
lea eax, [eax + ebx + 6]
push 0x3d
push eax
call fcn.00a7a2c0
add esp, 8
mov esi, eax
test esi, esi
je 0x94d8c7
inc esi
push esi
call fcn.0095ad70
add esp, 4
push esi
call fcn.00a79090
add esp, 4
mov dword [ebp - 0x44c], eax
xor esi, esi
je 0x94d7aa
push eax
push str._ZI__zi___u_
push esi
call fcn.0096a780
add esp, 0xc
push 0x80
push 2
push 0
push 0xc0000000
lea edi, [ebp - 0x438]
call fcn.0094db00
add esp, 0x10
mov dword [ebp - 0x440], eax
cmp eax, 0xffffffff
je 0x94d881
mov dword [ebp - 0x448], 0
push 0
lea ecx, [ebp - 0x448]
push ecx
mov edx, dword [ebp - 0x444]
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x94d826
test esi, esi
je 0x94d873
mov eax, dword [ebp - 0x448]
push eax
push str._ZI__Write_Bytes___u_
push 0
call fcn.0096a780
add esp, 0xc
lea ecx, [ebp - 0x440]
push ecx
call fcn.00985290
jmp 0x94d8c7
test esi, esi
je 0x94d873
mov byte [ebp - 0x128], 0
push 0x103
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.00a7ffb0
add esp, 0xc
push 0x104
lea esi, [ebp - 0x128]
call fcn.00960b00
add esp, 4
mov edx, esi
push edx
mov eax, dword [ebp - 0x444]
push eax
push str._ZI__Error_writing__u_bytes___s
push 0
call fcn.0096a780
add esp, 0x10
lea ecx, [ebp - 0x440]
push ecx
call fcn.00985290
jmp 0x94d8c7
test esi, esi
je 0x94d8c7
mov byte [ebp - 0x230], 0
push 0x103
push 0
lea edx, [ebp - 0x22f]
push edx
call fcn.00a7ffb0
add esp, 0xc
push 0x104
lea esi, [ebp - 0x230]
call fcn.00960b00
add esp, 4
mov eax, esi
push eax
push str._ZI__Error_creating___s
push 0
call fcn.0096a780
add esp, 0xc
mov esi, dword [ebp - 0x43c]
push ebx
call fcn.00a78fec
add esp, 4
test esi, esi
je 0x94d8eb
cmp esi, 0xffffffff
je 0x94d8eb
lea ecx, [ebp - 0x43c]
push ecx
call fcn.00985290
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x44c]
jmp 0x94d951
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret