Function at 0x4e5050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65ece5
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebp
mov ebp, dword [esp + 0xe4]
push esi
push edi
xor edi, edi
cmp ebp, edi
jne 0x4e50a5
mov esi, dword [esp + 0xe8]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0x6eceb4
mov dword [esp + 0x18], 5
call fcn.004c3f00
mov eax, esi
jmp 0x4e55b0
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0xe8]
dec eax
push ebx
cmp eax, 8
ja case.default.0x4e50ba
jmp dword [eax*4 + 0x4e55c8]
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], 0x6eceb4
push ecx
mov ecx, esi
mov dword [esp + 0xb4], 5
call fcn.004c3f00
jmp case.default.0x4e50ba
lea edx, [esp + 0x44]
mov ecx, ebp
push edx
call fcn.00496600
mov ecx, dword [eax]
mov dword [esp + 0xe4], edi
cmp ecx, edi
je 0x4e510d
add ecx, 0xc
mov dword [esp + 0x1c], ecx
jmp 0x4e5111
mov dword [esp + 0x1c], edi
mov eax, dword [eax]
cmp eax, edi
je 0x4e5120
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
jmp 0x4e5124
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x64], 0x6e0e1c
mov dword [esp + 0x68], 1
call fcn.004c3f00
mov ecx, eax
call fcn.004c3f00
lea ecx, [esp + 0x44]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00498970
jmp case.default.0x4e50ba
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00496600
lea ecx, [esp + 0x10]
lea edx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0xec], 1
call fcn.004c26c0
add esp, 8
mov ecx, dword [eax]
mov byte [esp + 0xe4], 2
cmp ecx, edi
je 0x4e51a5
add ecx, 0xc
mov dword [esp + 0x24], ecx
jmp 0x4e51a9
mov dword [esp + 0x24], edi
mov eax, dword [eax]
cmp eax, edi
je 0x4e51b8
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
jmp 0x4e51bc
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004c3f00
lea ecx, [esp + 0x48]
mov byte [esp + 0xe4], 1
call fcn.00498970
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00498970
jmp case.default.0x4e50ba
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00496600
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
mov ebx, 3
push eax
push ecx
mov dword [esp + 0xec], ebx
call fcn.004e4ed0
add esp, 8
mov ecx, dword [eax]
mov byte [esp + 0xe4], 4
cmp ecx, edi
je 0x4e5233
add ecx, 0xc
mov dword [esp + 0x34], ecx
jmp 0x4e5237
mov dword [esp + 0x34], edi
mov eax, dword [eax]
cmp eax, edi
je 0x4e5246
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4e524a
mov dword [esp + 0x38], edi
mov eax, 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x4c]
lea edx, [esp + 0x6c]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x58], 0x6e0e1c
mov dword [esp + 0x78], 0x6e0464
call fcn.004c3f00
mov ecx, eax
call fcn.004c3f00
mov ecx, eax
call fcn.004c3f00
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe4], bl
call fcn.00498970
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00498970
jmp case.default.0x4e50ba
mov ebp, dword [ebp + 0x10]
lea eax, [esp + 0x9c]
push eax
push ebp
mov ecx, esi
mov dword [esp + 0xa4], str._0_R
mov dword [esp + 0xa8], 5
call fcn.004c3f60
mov ecx, eax
call fcn.004c3f00
jmp case.default.0x4e50ba
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x6ecea8
push ecx
mov ecx, esi
mov dword [esp + 0x84], 1
call fcn.004c3f00
cmp dword [ebp + 0x10], edi
jbe 0x4e5361
mov ebx, 5
push edi
mov ecx, ebp
call fcn.00497210
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4e534f
mov dword [esp + 0xbc], str._0_R
mov dword [esp + 0xc0], ebx
mov eax, dword [eax + 8]
lea edx, [esp + 0xbc]
push edx
push eax
mov ecx, esi
call fcn.004c3f60
mov ecx, eax
call fcn.004c3f00
jmp 0x4e5359
push eax
push esi
call fcn.004e5050
add esp, 8
mov eax, dword [ebp + 0x10]
inc edi
cmp edi, eax
jb 0x4e5312
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
mov dword [esp + 0x90], 0x6ecea4
mov dword [esp + 0x94], 1
call fcn.004c3f00
jmp case.default.0x4e50ba
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x6ecea0
push ecx
mov ecx, esi
mov dword [esp + 0x5c], 2
call fcn.004c3f00
mov ecx, ebp
call fcn.004976e0
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x4e54d6
mov ebx, 5
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0xec], ebx
call fcn.004976f0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
mov edi, eax
call fcn.004e4ed0
add esp, 8
mov ecx, dword [eax]
xor edx, edx
cmp ecx, edx
mov byte [esp + 0xe4], 6
je 0x4e540c
add ecx, 0xc
mov dword [esp + 0x2c], ecx
jmp 0x4e5410
mov dword [esp + 0x2c], edx
mov eax, dword [eax]
cmp eax, edx
je 0x4e541f
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
jmp 0x4e5423
mov dword [esp + 0x30], edx
mov eax, 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x70], 0x6e0e1c
mov dword [esp + 0x80], 0x6e0464
call fcn.004c3f00
mov ecx, eax
call fcn.004c3f00
mov ecx, eax
call fcn.004c3f00
lea ecx, [esp + 0x40]
mov byte [esp + 0xe4], bl
call fcn.00498970
mov eax, dword [edi + 8]
test eax, eax
je 0x4e54ac
mov dword [esp + 0x84], str._0_R
mov dword [esp + 0x88], ebx
mov edi, dword [edi + 8]
lea ecx, [esp + 0x84]
push ecx
push edi
mov ecx, esi
call fcn.004c3f60
mov ecx, eax
call fcn.004c3f00
jmp 0x4e54b6
push edi
push esi
call fcn.004e5050
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00498970
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e53bf
lea edx, [esp + 0x94]
mov ecx, esi
push edx
mov dword [esp + 0x98], 0x6ece9c
mov dword [esp + 0x9c], 2
call fcn.004c3f00
jmp case.default.0x4e50ba
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xa4]
push ecx
push eax
push esi
mov dword [esp + 0xb0], str.stream_r_n
mov dword [esp + 0xb4], 8
call fcn.004e5050
add esp, 8
mov ecx, eax
call fcn.004c3f00
lea ecx, [esp + 0xc4]
call fcn.00498370
push edi
push edi
push 1
push ebp
lea ecx, [esp + 0xd4]
mov dword [esp + 0xf4], 7
call fcn.00498390
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
push edx
push eax
mov ecx, esi
call fcn.004c3e60
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb4], str._r_nendstream
push ecx
mov ecx, esi
mov dword [esp + 0xbc], 0xc
call fcn.004c3f00
lea ecx, [esp + 0xc4]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00498560
mov eax, esi
pop ebx
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xd8
ret