Function at 0x449d29
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x49bcc1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c54e8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
jne 0x449da5
push 0x3c
call fcn.00475d55
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov dword [esp + 0x2c], edi
je 0x449d7b
mov ecx, eax
call fcn.004495a9
jmp 0x449d7d
xor eax, eax
cmp eax, edi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esi], eax
mov dword [esp + 0x18], eax
jne 0x449da9
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x38]
push ebx
push 1
lea eax, [esp + 0x3c]
push 4
push eax
mov dword [esp + 0x44], edi
call fcn.00478118
add esp, 0x10
cmp eax, 1
jne 0x449d8f
mov eax, dword [esp + 0x34]
cmp eax, edi
jl 0x449d8f
cmp eax, 0x10000
jae 0x449d8f
mov ebp, dword [esp + 0x18]
push edi
add ebp, 0x1c
push eax
mov ecx, ebp
call fcn.004494e9
cmp dword [esp + 0x34], 0
jle 0x449ef2
lea esp, [esp]
push 0x54
call fcn.00475d55
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x2c], 1
je 0x449e1e
mov ecx, eax
call fcn.00449609
mov esi, eax
jmp 0x449e20
xor esi, esi
mov ecx, dword [ebp + 4]
test ecx, ecx
mov dword [esp + 0x2c], 0xffffffff
je 0x449e3b
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x449e40
call fcn.00476807
mov ecx, dword [ebp + 4]
push ebx
push esi
mov dword [ecx + edi*4], esi
call fcn.00447c79
add esp, 8
test al, al
je 0x449d8f
push ebx
push 1
lea edx, [esi + 0x38]
push 4
push edx
call fcn.00478118
add esp, 0x10
cmp eax, 1
jne 0x449d8f
push ebx
push eax
lea eax, [esi + 0x3c]
push 4
push eax
call fcn.00478118
add esp, 0x10
cmp eax, 1
jne 0x449d8f
push ebx
push eax
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.00478118
add esp, 0x10
cmp eax, 1
jne 0x449d8f
cmp dword [esp + 0x1c], 0x20
jne 0x449d8f
push 0
add esi, 0x40
push 0x20
mov ecx, esi
call fcn.00466a69
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x449ee5
push ebx
push 1
push eax
push 0
mov ecx, esi
call fcn.0040d459
push eax
call fcn.00478118
add esp, 0x10
cmp eax, 1
jne 0x449d8f
add edi, 1
cmp edi, dword [esp + 0x34]
jl 0x449df9
push ebx
push 1
lea edx, [esp + 0x1c]
push 4
push edx
mov dword [esp + 0x24], 0
call fcn.00478118
add esp, 0x10
cmp eax, 1
jne 0x449d8f
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x449d8f
cmp eax, 0x3e8
jae 0x449d8f
mov esi, dword [esp + 0x18]
push 0
add esi, 0x2c
push eax
mov ecx, esi
call fcn.004494e9
xor ebp, ebp
cmp dword [esp + 0x14], ebp
jle 0x44a00d
push 0x3c
call fcn.00475d55
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x2c], 2
je 0x449f6e
mov ecx, eax
call fcn.004495a9
mov ebx, eax
jmp 0x449f70
xor ebx, ebx
mov ecx, dword [esi + 4]
test ecx, ecx
mov dword [esp + 0x2c], 0xffffffff
je 0x449f8b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x449f90
call fcn.00476807
mov eax, dword [esi + 4]
lea edi, [ebp*4]
mov dword [edi + eax], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x449fb0
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x449fb5
call fcn.00476807
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0x38]
mov eax, dword [edi + ecx]
push ebx
push eax
call fcn.00447c79
add esp, 8
test al, al
je 0x449d8f
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x449fe4
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x449fe9
call fcn.00476807
mov eax, dword [esi + 4]
add eax, edi
push ebx
push eax
call fcn.00449d29
add esp, 8
test al, al
je 0x449d8f
add ebp, 1
cmp ebp, dword [esp + 0x14]
jl 0x449f49
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret