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

Disassembly:
push 0xffffffffffffffff
push 0x5a28de
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.0050a4f5
mov ebx, eax
mov eax, dword [esp + 0xc8]
push 0x8000
push eax
call fcn.0050ce29
mov esi, eax
push 0x30
push ebx
push esi
mov dword [esp + 0x34], esi
call fcn.0050c92f
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.0050c92f
push 0x2800
push ebx
push esi
call fcn.0050c92f
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.004d48e0
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 0x4d3972
jmp 0x4d3959
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 0x4d3955
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.00492100
lea eax, [esp + 0x1b]
xor edi, edi
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0xc0], edi
call fcn.004f5050
mov dword [esp + 0x38], 0x5a9450
cmp word [esp + 0xac], di
mov dword [esp + 0xbc], 1
mov dword [esp + 0x14], edi
jle 0x4d3bae
jmp 0x4d39e2
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.00403150
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.00403150
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.00403150
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.004d3d80
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.004d3cd0
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 0x4d3b74
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0xbc], 2
je 0x4d3b61
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.004d4b20
mov eax, dword [esi + 4]
mov byte [esp + 0xbc], 1
add eax, 0x48
mov dword [esi + 4], eax
jmp 0x4d3b81
lea edx, [esp + 0x38]
mov ecx, esi
push edx
push eax
call fcn.004d4640
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push ebx
push eax
push ecx
mov ecx, edi
call fcn.004d3860
mov eax, dword [esp + 0x14]
movsx edx, word [esp + 0xac]
inc eax
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x4d39de
xor edi, edi
mov eax, dword [esp + 0x1c]
push eax
call fcn.0050c65f
push ebx
call fcn.0050a62f
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 0x4d3c24
lea eax, [edx + edx*4]
shl eax, 3
cmp eax, 0x80
jbe 0x4d3c01
push ebx
call fcn.0050a62f
add esp, 4
jmp 0x4d3c24
add eax, 7
mov ecx, 0x5d5740
shr eax, 3
lea esi, [eax*4 + 0x5d56fc]
call fcn.00402360
mov edx, dword [esi]
mov dword [ebx], edx
mov dword [esi], ebx
mov dword [0x5d5740], edi
mov dword [esp + 0x38], 0x5a94ac
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 0x4d3c63
push esi
call fcn.0047a7d0
add esi, 0xc
add esp, 4
cmp esi, edi
jne 0x4d3c53
lea ecx, [esp + 0x68]
mov byte [esp + 0xbc], 6
call fcn.00402ae0
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 5
call fcn.00402ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 4
call fcn.004025c0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004025c0
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 4