Function at 0x4d28f0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a1c4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x2800
mov dword [esp + 0x28], edi
call fcn.005095d5
mov ebx, eax
mov eax, dword [esp + 0xc8]
push 0x8000
push eax
call fcn.0050be71
mov esi, eax
push 0x30
push ebx
push esi
mov dword [esp + 0x34], esi
call fcn.0050b977
movsx eax, word [ebx + 0x2e]
lea edx, [esp + 0xc0]
lea ecx, [eax + eax*2]
shl ecx, 2
push ecx
push edx
push esi
call fcn.0050b977
push 0x2800
push ebx
push esi
call fcn.0050b977
mov edi, dword [edi]
xor ebp, ebp
add edi, 4
mov eax, dword [edi]
mov esi, dword [edi + 4]
push eax
push esi
push esi
mov dword [esp + 0x5c], eax
call fcn.004d3920
mov edx, dword [edi + 4]
add esp, 0x3c
mov ecx, eax
cmp eax, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
je 0x4d29b2
jmp 0x4d2999
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push 0
call dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0x48
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x4d2995
mov edx, dword [esp + 0x20]
mov eax, 0xc71c71c7
sub esi, edx
imul esi
sar edx, 4
mov ecx, edx
mov esi, dword [edi + 4]
shr ecx, 0x1f
add edx, ecx
lea ecx, [esp + 0x38]
lea edx, [edx + edx*8]
shl edx, 3
add esi, edx
mov dword [edi + 4], esi
call fcn.00492000
lea eax, [esp + 0x1b]
xor edi, edi
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0xc0], edi
call fcn.00500590
mov dword [esp + 0x38], 0x5a9488
cmp word [esp + 0xac], di
mov dword [esp + 0xbc], 1
mov dword [esp + 0x14], edi
jle 0x4d2bee
jmp 0x4d2a22
mov ebp, dword [esp + 0x10]
mov edx, dword [ebx + ebp]
lea ecx, [ebx + ebp]
add ebp, 4
mov dword [esp + 0x64], edx
mov ecx, dword [ebx + ebp]
lea eax, [ebx + ebp]
add ebp, 4
mov dword [esp + 0x60], ecx
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [ebx + ebp]
add ebp, 4
lea edx, [ebx + ebp]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.00403200
add ebp, esi
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [ebx + ebp]
add ebp, 4
lea edx, [ebx + ebp]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00403200
add ebp, esi
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [ebx + ebp]
add ebp, 4
lea edx, [ebx + ebp]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00403200
add ebp, esi
lea edx, [esp + 0x2c]
xor eax, eax
push edx
mov edi, dword [ebx + ebp]
lea ecx, [esp + 0x6c]
push edi
add ebp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.004d2dc0
lea eax, [edi + edi*2]
mov edi, dword [esp + 0x68]
shl eax, 2
mov ecx, eax
lea esi, [ebx + ebp]
mov edx, ecx
add ebp, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, 4
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + ebp - 4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x80]
lea ecx, [esp + 0x74]
push eax
push esi
call fcn.004d2d10
lea eax, [esi + esi*4]
mov edi, dword [esp + 0x74]
shl eax, 3
mov ecx, eax
lea esi, [ebx + ebp]
mov edx, ecx
add ebp, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x10], ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
mov esi, dword [edi]
add esi, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4d2bb4
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0xbc], 2
je 0x4d2ba1
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.004d3b60
mov eax, dword [esi + 4]
mov byte [esp + 0xbc], 1
add eax, 0x48
mov dword [esi + 4], eax
jmp 0x4d2bc1
lea edx, [esp + 0x38]
mov ecx, esi
push edx
push eax
call fcn.004d3680
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push ebx
push eax
push ecx
mov ecx, edi
call fcn.004d28a0
mov eax, dword [esp + 0x14]
movsx edx, word [esp + 0xac]
inc eax
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x4d2a1e
xor edi, edi
mov eax, dword [esp + 0x1c]
push eax
call fcn.0050b6a7
push ebx
call fcn.005089dd
add esp, 8
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
sub ecx, ebx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
mov dword [esp + 0xbc], 3
shr ecx, 0x1f
add edx, ecx
je 0x4d2c64
lea eax, [edx + edx*4]
shl eax, 3
cmp eax, 0x80
jbe 0x4d2c41
push ebx
call fcn.005089dd
add esp, 4
jmp 0x4d2c64
add eax, 7
mov ecx, 0x5d59e8
shr eax, 3
lea esi, [eax*4 + 0x5d59a4]
call fcn.00402330
mov edx, dword [esi]
mov dword [ebx], edx
mov dword [esi], ebx
mov dword [0x5d59e8], edi
mov dword [esp + 0x38], 0x5a94e4
mov dword [esp + 0xbc], 4
lea eax, [esp + 0x68]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
cmp esi, edi
mov byte [esp + 0xbc], 7
je 0x4d2ca3
push esi
call fcn.004d4a30
add esi, 0xc
add esp, 4
cmp esi, edi
jne 0x4d2c93
lea ecx, [esp + 0x68]
mov byte [esp + 0xbc], 6
call fcn.0049b270
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 5
call fcn.00402bc0
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 4
call fcn.004026e0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004026e0
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 4