Function at 0x44d340
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [edi + 0x38]
test byte [eax], 8
mov dword [esp + 4], eax
jne 0x44d35f
mov dword [0x4fe0c4], 0x6f
xor eax, eax
add esp, 8
ret
push ebp
lea ebp, [edi + 0x18]
push ebp
mov edx, edi
call fcn.0044d810
add esp, 4
test eax, eax
je 0x44d3e5
lea eax, [edi + 0x1c]
push eax
mov edx, edi
call fcn.0044d810
add esp, 4
test eax, eax
je 0x44d3e5
lea eax, [edi + 0x20]
push eax
mov edx, edi
call fcn.0044d810
add esp, 4
test eax, eax
je 0x44d3e5
lea eax, [edi + 0x24]
push eax
mov edx, edi
call fcn.0044d810
add esp, 4
test eax, eax
je 0x44d3e5
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x44d3c1
push 1
lea ecx, [esp + 8]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x44d3d6
mov edx, dword [ecx + 0x38]
push edx
push 1
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00475584
add esp, 0x10
cmp eax, 1
je 0x44d3ec
mov dword [0x4fe0c4], 0x66
xor eax, eax
pop ebp
add esp, 8
ret
mov cl, byte [esp + 4]
movzx eax, cl
push ebx
mov ebx, eax
and ebx, 7
and eax, 0x40
inc ebx
push esi
mov esi, dword [edi + 0x2c]
mov dword [edi + 0x28], eax
test cl, cl
jns 0x44d4d3
test esi, esi
je 0x44d41b
cmp dword [edi + 0x30], 0
jne 0x44d41b
call fcn.0044de80
mov ecx, ebx
mov esi, 1
shl esi, cl
push 0
call fcn.0044de00
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
je 0x44d508
xor ebx, ebx
cmp dword [eax], ebx
jle 0x44d4e3
xor esi, esi
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x44d45e
push 3
lea edx, [esp + 0x10]
push edx
push edi
call ecx
add esp, 0xc
jmp 0x44d473
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.00475584
add esp, 0x10
cmp eax, 3
jne 0x44d4b1
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + 8]
movzx ecx, byte [esp + 0xc]
mov byte [esi + eax], cl
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + 8]
movzx ecx, byte [esp + 0xd]
mov byte [eax + esi + 1], cl
mov edx, dword [edi + 0x2c]
movzx ecx, byte [esp + 0xe]
mov eax, dword [edx + 8]
mov byte [eax + esi + 2], cl
mov edx, dword [edi + 0x2c]
inc ebx
add esi, 3
cmp ebx, dword [edx]
jl 0x44d445
jmp 0x44d4e3
mov esi, dword [edi + 0x2c]
call fcn.0044de80
pop esi
pop ebx
mov dword [0x4fe0c4], 0x66
mov dword [edi + 0x2c], 0
xor eax, eax
pop ebp
add esp, 8
ret
test esi, esi
je 0x44d4e3
call fcn.0044de80
mov dword [edi + 0x2c], 0
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x44d51b
mov eax, dword [edi + 0x14]
inc eax
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push ecx
call fcn.00470421
add esp, 8
mov dword [edi + 0x30], eax
test eax, eax
jne 0x44d52c
pop esi
pop ebx
mov dword [0x4fe0c4], 0x6d
xor eax, eax
pop ebp
add esp, 8
ret
push 0x28
call fcn.00470104
add esp, 4
mov dword [edi + 0x30], eax
test eax, eax
je 0x44d508
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [ebp]
lea ebx, [edx + ecx*8]
mov dword [ebx], eax
mov ecx, dword [ebp + 4]
mov dword [ebx + 4], ecx
mov edx, dword [ebp + 8]
mov dword [ebx + 8], edx
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x14], edx
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x44d577
mov ecx, dword [eax + 8]
mov esi, dword [eax]
push ecx
call fcn.0044de00
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
je 0x44d508
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov edx, dword [edi + 0x20]
imul edx, dword [edi + 0x24]
mov eax, dword [esp + 0x10]
inc dword [edi + 0x14]
mov dword [eax + 0x34], edx
mov eax, edi
call fcn.0044d930
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 8
ret