Function at 0x4733d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x4733d0
sub esp, 0x34
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
push ebx
push ebp
lea ebp, [ecx + eax - 1]
push esi
mov esi, dword [esp + 0x44]
movzx edx, word [esi + 0x18]
add eax, 0xffffffff
not eax
push edi
and ebp, eax
mov eax, dword [esi + 4]
xor edi, edi
lea ecx, [edx + eax + 0x14]
mov edx, dword [esi]
push edi
push ecx
push edx
mov dword [esp + 0x1c], ebp
call fcn.004fa081
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp eax, dword [esi + 0x10c]
jae 0x47353c
xor ebx, ebx
cmp word [esi + 0xa], di
mov dword [esp + 0x10], edi
jbe 0x47363c
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x20]
push 0x28
push edx
call fcn.004fa972
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, dword [esi + 0x108]
jne 0x4734ab
movzx edx, word [esi + 0xa]
lea ecx, [ebx + 1]
cmp ecx, edx
mov dword [esp + 0x28], ebp
jne 0x473476
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 1
mov ecx, dword [esi]
push ecx
call fcn.004f9f8c
mov edx, dword [esi]
push 1
push 0xffffffffffffffd8
push edx
mov edi, eax
call fcn.004fa081
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x30]
push 0x28
push ecx
call fcn.004fa265
mov edx, dword [esi]
push 0
push edi
push edx
call fcn.004fa081
add esp, 0x2c
movzx eax, word [esi + 0xa]
add ebx, 1
cmp ebx, eax
jl 0x473437
cmp dword [esp + 0x10], 0
je 0x47363c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + edx - 1]
mov ecx, dword [esp + 0x58]
cdq
idiv ecx
push 0
add eax, 1
imul eax, ecx
mov ecx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
add eax, 0x88
push eax
push ecx
call fcn.004fa081
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x60]
push 4
push eax
call fcn.004fa265
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 0
add ecx, 0x4c
push ecx
push edx
call fcn.004fa081
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x44]
push 4
push ecx
call fcn.004fa265
add esp, 0x38
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004f409d
add esp, 0x34
ret
xor ebp, ebp
cmp word [esi + 0xa], di
jbe 0x4735be
mov ebx, dword [esp + 0x58]
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x20]
push 0x28
push eax
call fcn.004fa972
mov eax, dword [esi + 0x108]
mov ecx, dword [esp + 0x34]
add esp, 0x10
cmp ecx, eax
ja 0x473651
mov edx, dword [esp + 0x2c]
cmp edx, dword [esi + 0x110]
ja 0x473651
test edi, edi
jne 0x4735b3
cmp ecx, eax
jne 0x4735b3
mov eax, dword [esi]
push eax
call fcn.004f9f8c
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov edi, eax
lea eax, [ecx + edx - 1]
cdq
idiv ebx
add esp, 4
sub edi, 0x28
add eax, 1
imul eax, ebx
mov dword [esp + 0x14], eax
movzx eax, word [esi + 0xa]
add ebp, 1
cmp ebp, eax
jl 0x473548
mov ecx, dword [esi]
push 0
push edi
push ecx
call fcn.004fa081
mov ecx, dword [esi]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
push ecx
push 1
mov dword [esi + 0x10c], edx
lea edx, [esi + 0xfc]
push 0x28
push edx
mov dword [esi + 0x104], eax
call fcn.004fa265
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
add eax, 0x88
push eax
push ecx
call fcn.004fa081
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x7c]
push 4
push eax
call fcn.004fa265
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 0
add ecx, 0x4c
push ecx
push edx
call fcn.004fa081
mov eax, dword [esi]
add esp, 0x44
push eax
push 1
lea ecx, [esp + 0x1c]
push 4
push ecx
call fcn.004fa265
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004f409d
add esp, 0x34
ret
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x20000001
call fcn.004f409d
add esp, 0x34
ret