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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4dc517
sub esp, 0x88
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax]
test cl, cl
je 0x4dc229
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 0x4dc20d
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
jg 0x4dc48f
mov ebx, ecx
xor ebp, ebp
xor esi, esi
cmp ebx, ecx
jge 0x4dc488
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ebp
cmp edx, ebp
je 0x4dc1e7
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045eba0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x94]
movzx eax, byte [eax]
mov byte [esp + 0x58], al
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x4dc481
movzx eax, byte [esp + 0x58]
xor eax, 1
mov byte [esp + 0x58], al
lea eax, [esp + 0x58]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x90]
movzx edx, byte [ecx]
test dl, dl
jne 0x4dc440
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 ebx, [esp + 0x48]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004da710
mov eax, dword [0x6fc8b8]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
jne 0x4dc42e
movzx ecx, byte [esp + 0x48]
test cl, cl
jne 0x4dc400
nop
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x48]
cmp ecx, edx
je 0x4dc3f9
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
cmp edx, ebp
jl 0x4dc371
mov eax, ebp
cmp ebp, eax
jle 0x4dc36d
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], ebx
cmp esi, ebx
je 0x4dc324
mov dword [esp], ebx
mov dword [esp + 4], esi
shl eax, 2
mov dword [esp + 8], eax
call fcn.0045eba0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x8c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4dc35f
mov eax, dword [esp + 0x38]
mov dword [edx + 4], eax
movzx eax, byte [esp + 0x48]
mov byte [edx], al
mov dword [esp + 0x98], edx
add esp, 0x88
ret
lea edi, [edx + 4]
mov eax, dword [esp + 0x38]
call fcn.0045e220
jmp 0x4dc34a
mov eax, ebp
jmp 0x4dc301
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], ebp
cmp ebp, 1
jne 0x4dc3be
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x44]
mov ebp, 1
mov edx, 1
jmp 0x4dc2fd
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 8], eax
call fcn.004451f0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x44]
mov ebp, eax
mov edx, dword [esp + 0x34]
jmp 0x4dc2fd
mov edx, ecx
jmp 0x4dc351
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
call fcn.004d9800
mov edx, dword [esp + 0x8c]
jmp 0x4dc351
mov dword [esp + 0x98], 0
add esp, 0x88
ret
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], ecx
mov dword [esp + 8], eax
call fcn.004da000
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x94]
jmp 0x4dc242
xor eax, eax
jmp 0x4dc221
mov ebx, ecx
jmp 0x4dc1c4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], edx
cmp ecx, 1
jne 0x4dc4dc
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov ecx, 1
mov esi, 1
jmp 0x4dc1bc
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 8], edx
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov ecx, ebx
mov esi, dword [esp + 0x28]
jmp 0x4dc1bc
call fcn.0045ccc0
jmp fcn.004dc150