Function at 0x49a010
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x528d70
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
sub esp, 0x24
push ebx
push ebp
push esi
push edi
push 0x20
push 0x810a
push eax
call fcn.004f34db
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x49a294
push 2
push 0
push 0
push ebx
call fcn.004f3cb8
add esp, 0x10
lea ecx, [esp + 0x18]
push 0
push 0
call fcn.004394f0
mov dword [esp + 0x18], 0x5343d0
mov ecx, dword [esp + 0x2c]
mov esi, 0x20000
xor eax, eax
cmp ecx, esi
mov dword [esp + 0x3c], 0
jge 0x49a093
mov edx, dword [esp + 0x30]
add eax, edx
lea edi, [ecx + eax]
cmp edi, esi
jl 0x49a08a
push eax
lea ecx, [esp + 0x1c]
call fcn.00422710
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], esi
cmp eax, esi
jle 0x49a0ad
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x4c]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x14], eax
jle 0x49a195
mov ecx, dword [0x569c90]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push edx
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x4c], 1
call fcn.005054dc
mov eax, dword [esp + 0x20]
push 0x40
push 0x8000
push eax
call fcn.004f34db
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x49a1c9
mov ebp, 1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push edi
call fcn.004f388a
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x49a239
test esi, esi
je 0x49a14c
mov eax, dword [esp + 0x1c]
push esi
push eax
push ebx
call fcn.004f3ac8
add esp, 0xc
xor ecx, ecx
cmp eax, esi
sete cl
mov ebp, ecx
test ebp, ebp
jne 0x49a10e
push edi
call fcn.004f37aa
add esp, 4
test ebp, ebp
je 0x49a239
mov eax, dword [esp + 0x50]
test eax, eax
je 0x49a172
mov edx, dword [esp + 0x10]
push edx
call fcn.00422fd0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.00507d3a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x49a0c2
push ebx
call fcn.004f37aa
mov ecx, dword [esp + 0x24]
add esp, 4
test ecx, ecx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], 0x5343d4
je 0x49a2a9
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x49a2b6
push ebx
call fcn.004f37aa
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.00507d3a
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
test ecx, ecx
mov dword [esp + 0x18], 0x5343d4
je 0x49a217
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [esp + 0x1c]
push eax
call fcn.0050c4cc
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebx
call fcn.004f37aa
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.00507d3a
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
test ecx, ecx
mov dword [esp + 0x18], 0x5343d4
je 0x49a287
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0050c4cc
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0050c4cc
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret