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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cd5dd
sub esp, 0x5c
mov eax, dword [esp + 0x60]
cmp eax, 2
jne 0x4cd29b
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4cd28c
mov eax, dword [0x7cd278]
mov ecx, dword [0x7cd27c]
mov edx, dword [0x7cd280]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c8940
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4cd1ea
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], ecx
lea eax, [0x65b740]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 4
jge 0x4cd1e3
mov dword [esp + 0x4c], eax
lea edx, [eax + 4]
mov ebx, dword [esp + 0x54]
cmp edx, ebx
je 0x4cd1b4
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045d2c0
lea eax, [0x6cb1d0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov ecx, 4
jmp 0x4cd195
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004c8c90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x6534c0]
mov dword [esp], edx
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x67d62b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4cd27a
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6cae70]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045c920
mov eax, ecx
jmp 0x4cd24f
mov edx, dword [esp + 0x6c]
mov ecx, eax
mov eax, dword [esp + 0x64]
jmp 0x4cd144
cmp eax, 0x17
jne 0x4cd53b
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4cd4e7
mov eax, dword [0x61c790]
mov ecx, dword [0x61c794]
mov edx, dword [0x61c798]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], eax
cmp ecx, 4
jne 0x4cd4d5
movzx ebx, byte [eax]
movzx ebp, byte [eax + 1]
movzx esi, byte [eax + 2]
movzx edi, byte [eax + 3]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [0x61c7b0]
mov ecx, dword [0x61c7b4]
cmp ecx, 0x10
jge 0x4cd4cb
xchg ebp, eax
mov byte [esp + 0x1e], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x1c], al
xchg edi, eax
mov byte [esp + 0x1f], bl
lea eax, [esp + 0x34]
cmp eax, edx
je 0x4cd349
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0045d2c0
movzx eax, byte [esp + 0x1f]
mov byte [esp + 0x40], al
movzx eax, byte [esp + 0x1e]
mov byte [esp + 0x41], al
movzx eax, byte [esp + 0x1d]
mov byte [esp + 0x42], al
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x43], al
lea eax, [esp + 0x34]
mov ecx, 0x10
test eax, eax
je 0x4cd429
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], ecx
lea eax, [0x7cd6c0]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004c73d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [0x65e940]
mov dword [esp], ecx
call fcn.0040c800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jge 0x4cd422
mov dword [esp + 0x48], eax
lea edx, [eax + 8]
mov ebx, dword [esp + 0x50]
cmp ebx, edx
je 0x4cd3f3
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045d2c0
lea eax, [0x6cb1f0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov ecx, 0x10
jmp 0x4cd3d4
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.004c8c90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x6534c0]
mov dword [esp], edx
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x67d63b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4cd4b9
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6cae70]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045c920
mov eax, ecx
jmp 0x4cd48e
mov ecx, 0x10
jmp 0x4cd31b
cmp ecx, 0x10
je 0x4cd376
xor eax, eax
xor ecx, ecx
jmp 0x4cd376
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov ebx, dword [0x7cd278]
mov ebp, dword [0x7cd27c]
mov esi, dword [0x7cd280]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004c96a0
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4cd2b0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
jmp 0x4cd2c2
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004c8c90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x6534c0]
mov dword [esp], edx
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x67fe29]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4cd5cb
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6cae70]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045c920
mov eax, ecx
jmp 0x4cd5a0
call fcn.0045b380
jmp fcn.004cd100