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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
cmp edx, 0x190
jg 0x4c8518
je 0x4c84d5
lea eax, [edx - 0xa]
cmp eax, 0xc0
ja case.default.0x4c85fb
movzx eax, byte [eax + 0x4c8888]
jmp dword [eax*4 + 0x4c8840]
mov edi, dword [ebp + 8]
mov ecx, 0xa
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov ecx, edx
push eax
call fcn.004c7cf0
add esp, 4
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffff88
ja 0x4c8837
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 8]
cmovl ecx, dword [ebp - 8]
cmp ecx, edx
cmovg ecx, edx
test ecx, ecx
jne 0x4c82c6
mov ecx, 3
mov dword [esi + 0x2c], 3
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x2c], ecx
test ecx, ecx
jns 0x4c8510
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c82f4
mov edx, edi
mov ecx, 0x65
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c831a
mov edx, edi
mov ecx, 0x66
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c8340
mov edx, edi
mov ecx, 0x67
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 8], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c8366
mov edx, edi
mov ecx, 0x68
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x10], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c838c
mov edx, edi
mov ecx, 0x69
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x14], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x6a
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x18], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c83d4
mov edx, edi
mov ecx, 0x6b
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x1c], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp + 8], eax
pop edi
setne al
mov dword [esi + 0x20], eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp + 8], eax
pop edi
setne al
mov dword [esi + 0x24], eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
pop edi
sete al
mov dword [esi + 0x28], eax
xor eax, eax
test ecx, ecx
pop esi
setne al
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0xa0
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x54], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c8458
mov edx, edi
mov ecx, 0xa1
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x58], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c847e
mov edx, edi
mov ecx, 0xa2
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x60], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c84a4
mov edx, edi
mov ecx, 0xa3
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x5c], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c84ca
mov edx, edi
mov ecx, 0xa4
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x64], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov ecx, 0x190
push eax
call fcn.004c7cf0
add esp, 4
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffff88
ja 0x4c8837
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 8]
cmovl ecx, dword [ebp - 8]
cmp ecx, edx
cmovg ecx, edx
mov dword [esi + 0x44], ecx
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 0x3e8
jg 0x4c85ec
je 0x4c85db
sub edx, 0x191
je 0x4c858a
sub edx, 1
je 0x4c8565
sub edx, 0x62
jne case.default.0x4c85fb
mov eax, dword [ebp + 8]
test eax, eax
jns 0x4c8552
xor eax, eax
pop edi
mov dword [esi + 0x50], eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 9
cmp eax, ecx
pop edi
cmovg eax, ecx
mov dword [esi + 0x50], eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
jns 0x4c8577
xor eax, eax
pop edi
mov dword [esi + 0x4c], eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 9
cmp eax, ecx
pop edi
cmovg eax, ecx
mov dword [esi + 0x4c], eax
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c859b
mov eax, 0x80000
cmp edi, eax
cmovl edi, eax
lea eax, [ebp - 0x18]
mov ecx, 0x191
push eax
call fcn.004c7cf0
add esp, 4
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffff88
ja 0x4c8837
cmp edi, dword [ebp - 8]
cmovl edi, dword [ebp - 8]
cmp edi, ecx
cmovg edi, ecx
mov dword [esi + 0x48], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp + 8], eax
pop edi
setne al
mov dword [esi + 0x30], eax
pop esi
mov esp, ebp
pop ebp
ret
add edx, 0xfffffc17
cmp edx, 0xf
ja case.default.0x4c85fb
jmp dword [edx*4 + 0x4c894c]
mov edi, dword [ebp + 8]
mov ecx, 0x3e9
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x3c], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3ea
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x40], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp + 8], eax
pop edi
setne al
mov dword [esi + 0x6c], eax
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c8672
mov edx, edi
mov ecx, 0x3eb
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x34], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c8698
mov edx, edi
mov ecx, 0x3ec
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x38], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3ee
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x70], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3ef
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x74], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3f0
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x78], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3f1
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x7c], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3f2
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x80], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3f3
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x84], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3f4
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
xor eax, eax
test edi, edi
pop edi
setne al
mov dword [esi + 0x88], eax
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3f5
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x98], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3f6
mov edx, edi
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0x9c], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c87f8
mov edx, edi
mov ecx, 0x3f7
call fcn.004c7850
test eax, eax
je 0x4c8819
mov dword [esi + 0xa4], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, 0x3f8
mov edx, edi
call fcn.004c7850
test eax, eax
jne 0x4c8824
pop edi
mov eax, 0xffffffd6
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xa8], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffd8
pop edi
pop esi
mov esp, ebp
pop ebp
ret