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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x766851
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x9727c0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x9727c0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 0x14c]
mov dword [esp + 0x34], ebx
mov ecx, ebx
mov eax, dword [ebx]
mov byte [esp + 0x38], 0
call dword [eax]
mov byte [esp + 0x38], 1
and dword [esp + 0xd0], 0
mov cl, 4
call fcn.005d2240
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd0], 1
mov edi, dword [edi + 0x190]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp eax, edi
je 0x4d13c6
lea esi, [eax + 0x10]
push esi
lea ecx, [esp + 0x74]
call fcn.00482554
mov byte [esp + 0xd0], 2
lea eax, [esp + 0x78]
add esi, 8
mov dword [esp + 0x3c], eax
push esi
mov ecx, eax
call fcn.00482490
mov byte [esp + 0xd0], 3
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0x94]
call fcn.00482490
mov byte [esp + 0xd0], 6
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x74]
push eax
call fcn.00481095
mov byte [esp + 0xd0], 8
lea eax, [esp + 0x40]
push eax
call fcn.004d14d4
mov byte [esp + 0xd0], 9
lea ecx, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.005d52a0
mov byte [esp + 0xd0], 0xb
lea ecx, [esp + 0x40]
push 0
push 1
call fcn.00482a51
lea eax, [esp + 0xa8]
push eax
call fcn.004d1580
mov byte [esp + 0xd0], 0xc
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.005d52a0
mov byte [esp + 0xd0], 0xe
lea ecx, [esp + 0xa8]
push 0
push 1
call fcn.00482a51
mov cl, 5
call fcn.005d2240
mov dword [esp + 0x18], eax
mov byte [esp + 0xd0], 0xf
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x58]
push eax
call fcn.004d162c
mov esi, eax
mov byte [esp + 0xd0], 0x10
lea ecx, [esp + 0x18]
call fcn.0048fb9e
mov ecx, dword [esp + 0x18]
push esi
call fcn.00494511
mov byte [esp + 0xd0], 0xf
lea ecx, [esp + 0x58]
push 0
push 1
call fcn.00482a51
mov cl, 5
call fcn.005d2240
mov dword [esp + 0x14], eax
mov byte [esp + 0xd0], 0x11
lea ecx, [esp + 0x14]
call fcn.0048fb9e
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.005d1ea0
lea ecx, [esp + 0x14]
call fcn.0048fb9e
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.005d1ea0
lea ecx, [esp + 0x14]
call fcn.0048fb9e
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.005d1ea0
lea ecx, [esp + 0x1c]
call fcn.0048fb9e
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
call fcn.005d1ea0
mov byte [esp + 0xd0], 0xf
test esi, esi
je 0x4d1338
dec dword [esi + 0x48]
jne 0x4d1338
mov ecx, esi
call fcn.005d2200
mov byte [esp + 0xd0], 0xe
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d135a
dec dword [eax + 0x48]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x48], 0
jne 0x4d135a
call fcn.005d2200
mov byte [esp + 0xd0], 0xb
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4d1374
dec dword [ecx + 0x48]
jne 0x4d1374
call fcn.005d2200
mov byte [esp + 0xd0], 8
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4d138e
dec dword [ecx + 0x48]
jne 0x4d138e
call fcn.005d2200
mov byte [esp + 0xd0], 6
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d13a3
call fcn.0048103d
mov byte [esp + 0xd0], 1
lea ecx, [esp + 0x70]
call fcn.004d1786
lea ecx, [esp + 0x30]
call fcn.0048ba32
mov eax, dword [esp + 0x30]
jmp 0x4d116f
push 0x83e6d4
lea ecx, [esp + 0x44]
call fcn.004824e0
mov byte [esp + 0xd0], 0x13
lea eax, [esp + 0x58]
push eax
call fcn.004d16da
mov esi, eax
mov byte [esp + 0xd0], 0x14
lea ecx, [esp + 0x20]
call fcn.004bfe65
mov byte [esp + 0xd0], 0x15
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax]
push esi
call fcn.004d3e82
mov byte [esp + 0xd0], 0x14
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d1428
call fcn.0048103d
mov byte [esp + 0xd0], 0x13
lea ecx, [esp + 0x58]
push 0
push 1
call fcn.00482a51
mov byte [esp + 0xd0], 1
lea ecx, [esp + 0x40]
push 0
push 1
call fcn.00482a51
lea ecx, [esp + 0x20]
call fcn.004bfe65
mov byte [esp + 0xd0], 0x17
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
call fcn.004908fe
mov byte [esp + 0xd0], 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d1482
call fcn.0048103d
mov byte [esp + 0xd0], 0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4d149c
dec dword [ecx + 0x48]
jne 0x4d149c
call fcn.005d2200
or dword [esp + 0xd0], 0xffffffff
mov ecx, ebx
mov eax, dword [ebx]
mov byte [esp + 0x38], 0
call dword [eax + 8]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0073167f
mov esp, ebp
pop ebp
ret