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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x653355
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 0x4d9f85
mov esi, dword [esp + 0xe8]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0x6dfbc0
mov dword [esp + 0x18], 5
call fcn.004bb0a0
mov eax, esi
jmp 0x4da490
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0xe8]
dec eax
push ebx
cmp eax, 8
ja case.default.0x4d9f9a
jmp dword [eax*4 + 0x4da4a8]
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], 0x6dfbc0
push ecx
mov ecx, esi
mov dword [esp + 0xb4], 5
call fcn.004bb0a0
jmp case.default.0x4d9f9a
lea edx, [esp + 0x44]
mov ecx, ebp
push edx
call fcn.0048ed80
mov ecx, dword [eax]
mov dword [esp + 0xe4], edi
cmp ecx, edi
je 0x4d9fed
add ecx, 0xc
mov dword [esp + 0x1c], ecx
jmp 0x4d9ff1
mov dword [esp + 0x1c], edi
mov eax, dword [eax]
cmp eax, edi
je 0x4da000
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
jmp 0x4da004
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x64], 0x6d3e1c
mov dword [esp + 0x68], 1
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb0a0
lea ecx, [esp + 0x44]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00490f90
jmp case.default.0x4d9f9a
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.0048ed80
lea ecx, [esp + 0x10]
lea edx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0xec], 1
call fcn.004b99f0
add esp, 8
mov ecx, dword [eax]
mov byte [esp + 0xe4], 2
cmp ecx, edi
je 0x4da085
add ecx, 0xc
mov dword [esp + 0x24], ecx
jmp 0x4da089
mov dword [esp + 0x24], edi
mov eax, dword [eax]
cmp eax, edi
je 0x4da098
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
jmp 0x4da09c
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004bb0a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xe4], 1
call fcn.00490f90
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00490f90
jmp case.default.0x4d9f9a
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.0048ed80
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
mov ebx, 3
push eax
push ecx
mov dword [esp + 0xec], ebx
call fcn.004d9db0
add esp, 8
mov ecx, dword [eax]
mov byte [esp + 0xe4], 4
cmp ecx, edi
je 0x4da113
add ecx, 0xc
mov dword [esp + 0x34], ecx
jmp 0x4da117
mov dword [esp + 0x34], edi
mov eax, dword [eax]
cmp eax, edi
je 0x4da126
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4da12a
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], 0x6d3e1c
mov dword [esp + 0x78], 0x6d3464
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb0a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe4], bl
call fcn.00490f90
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00490f90
jmp case.default.0x4d9f9a
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.004bb100
mov ecx, eax
call fcn.004bb0a0
jmp case.default.0x4d9f9a
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x6dfbb4
push ecx
mov ecx, esi
mov dword [esp + 0x84], 1
call fcn.004bb0a0
cmp dword [ebp + 0x10], edi
jbe 0x4da241
mov ebx, 5
push edi
mov ecx, ebp
call fcn.0048f990
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4da22f
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.004bb100
mov ecx, eax
call fcn.004bb0a0
jmp 0x4da239
push eax
push esi
call fcn.004d9f30
add esp, 8
mov eax, dword [ebp + 0x10]
inc edi
cmp edi, eax
jb 0x4da1f2
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
mov dword [esp + 0x90], 0x6dfbb0
mov dword [esp + 0x94], 1
call fcn.004bb0a0
jmp case.default.0x4d9f9a
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x6dfbac
push ecx
mov ecx, esi
mov dword [esp + 0x5c], 2
call fcn.004bb0a0
mov ecx, ebp
call fcn.0048fe60
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x4da3b6
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.0048fe70
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
mov edi, eax
call fcn.004d9db0
add esp, 8
mov ecx, dword [eax]
xor edx, edx
cmp ecx, edx
mov byte [esp + 0xe4], 6
je 0x4da2ec
add ecx, 0xc
mov dword [esp + 0x2c], ecx
jmp 0x4da2f0
mov dword [esp + 0x2c], edx
mov eax, dword [eax]
cmp eax, edx
je 0x4da2ff
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
jmp 0x4da303
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], 0x6d3e1c
mov dword [esp + 0x80], 0x6d3464
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb0a0
lea ecx, [esp + 0x40]
mov byte [esp + 0xe4], bl
call fcn.00490f90
mov eax, dword [edi + 8]
test eax, eax
je 0x4da38c
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.004bb100
mov ecx, eax
call fcn.004bb0a0
jmp 0x4da396
push edi
push esi
call fcn.004d9f30
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00490f90
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4da29f
lea edx, [esp + 0x94]
mov ecx, esi
push edx
mov dword [esp + 0x98], 0x6dfba8
mov dword [esp + 0x9c], 2
call fcn.004bb0a0
jmp case.default.0x4d9f9a
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.004d9f30
add esp, 8
mov ecx, eax
call fcn.004bb0a0
lea ecx, [esp + 0xc4]
call fcn.00490ae0
push edi
push edi
push 1
push ebp
lea ecx, [esp + 0xd4]
mov dword [esp + 0xf4], 7
call fcn.00490b00
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
push edx
push eax
mov ecx, esi
call fcn.004baff0
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb4], str._r_nendstream
push ecx
mov ecx, esi
mov dword [esp + 0xbc], 0xc
call fcn.004bb0a0
lea ecx, [esp + 0xc4]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00490c90
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