Function at 0x4c98c0
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 0x4c9bb8
je 0x4c9b75
lea eax, [edx - 0xa]
cmp eax, 0xc0
ja case.default.0x4c9c9b
movzx eax, byte [eax + 0x4c9f28]
jmp dword [eax*4 + 0x4c9ee0]
mov edi, dword [ebp + 8]
mov ecx, 0xa
mov edx, edi
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c9390
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 0x4c9ed7
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 0x4c9966
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 0x4c9bb0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c9994
mov edx, edi
mov ecx, 0x65
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c99ba
mov edx, edi
mov ecx, 0x66
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c99e0
mov edx, edi
mov ecx, 0x67
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9a06
mov edx, edi
mov ecx, 0x68
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9a2c
mov edx, edi
mov ecx, 0x69
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9a74
mov edx, edi
mov ecx, 0x6b
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9af8
mov edx, edi
mov ecx, 0xa1
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9b1e
mov edx, edi
mov ecx, 0xa2
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9b44
mov edx, edi
mov ecx, 0xa3
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9b6a
mov edx, edi
mov ecx, 0xa4
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c9390
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 0x4c9ed7
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 0x4c9c8c
je 0x4c9c7b
sub edx, 0x191
je 0x4c9c2a
sub edx, 1
je 0x4c9c05
sub edx, 0x62
jne case.default.0x4c9c9b
mov eax, dword [ebp + 8]
test eax, eax
jns 0x4c9bf2
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 0x4c9c17
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 0x4c9c3b
mov eax, 0x80000
cmp edi, eax
cmovl edi, eax
lea eax, [ebp - 0x18]
mov ecx, 0x191
push eax
call fcn.004c9390
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 0x4c9ed7
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.0x4c9c9b
jmp dword [edx*4 + 0x4c9fec]
mov edi, dword [ebp + 8]
mov ecx, 0x3e9
mov edx, edi
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9d12
mov edx, edi
mov ecx, 0x3eb
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9d38
mov edx, edi
mov ecx, 0x3ec
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
je 0x4c9eb9
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 0x4c9e98
mov edx, edi
mov ecx, 0x3f7
call fcn.004c8ef0
test eax, eax
je 0x4c9eb9
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.004c8ef0
test eax, eax
jne 0x4c9ec4
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