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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x4d6f69
sub esp, 0x8c
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax]
test cl, cl
je 0x4d6d28
mov byte [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
nop
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x4d6d0e
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
test edx, edx
jg 0x4d6c2f
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x4d6cbb
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], ebx
cmp edx, 1
jne 0x4d6c7f
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046c5c0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x58]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
mov edx, 1
mov esi, eax
mov edi, 1
mov eax, dword [esp + 0x98]
jmp 0x4d6cbb
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], ecx
call fcn.0046c5c0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x58]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
mov edx, ebp
mov esi, eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x98]
cmp edx, ebp
jg 0x4d6cc1
mov ebp, edx
cmp esi, ebx
je 0x4d6cfb
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.004721c0
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x58]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], esi
movzx eax, byte [eax]
mov byte [esp + 0x58], al
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4d6d20
movzx eax, byte [esp + 0x58]
xor eax, 1
jmp 0x4d6d22
xor eax, eax
mov byte [esp + 0x58], al
jmp 0x4d6d2a
mov ecx, eax
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x94]
movzx edx, byte [eax]
test dl, dl
je 0x4d6d7b
mov byte [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea edx, [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004d4c40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x88]
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea edx, [esp + 0x78]
mov dword [esp], edx
lea edx, [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004d51d0
mov eax, dword [0x9134f4]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004d4e50
mov eax, dword [esp + 8]
test eax, eax
jne 0x4d6f57
movzx eax, byte [esp + 0x48]
test al, al
jne 0x4d6f20
nop
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x4d6f49
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
cmp edx, ecx
jg 0x4d6e3b
mov ebp, dword [eax + 4]
mov esi, edx
jmp 0x4d6ebb
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], edx
cmp edx, 1
jne 0x4d6e85
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046c5c0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edx, 1
mov ecx, 1
jmp 0x4d6ebb
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [edx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
call fcn.0046c5c0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edx, esi
mov ecx, dword [esp + 0x18]
cmp edx, esi
jg 0x4d6ec1
mov esi, edx
cmp ebp, ebx
je 0x4d6ef7
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
shl esi, 2
mov dword [esp + 8], esi
call fcn.004721c0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x4d6f14
call fcn.00471840
mov dword [edi], ebp
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [eax + 4], ebp
movzx ecx, byte [esp + 0x48]
mov byte [eax], cl
jmp 0x4d6f49
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.004d4440
mov eax, dword [esp + 0x90]
mov dword [esp + 0x9c], eax
add esp, 0x8c
ret
mov dword [esp + 0x9c], 0
add esp, 0x8c
ret
call fcn.00470430
jmp fcn.004d6bc0