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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x18
push esi
mov esi, dword [esp + 0x28]
cmp ecx, 0x190
jg 0x4d89dc
je 0x4d8998
lea eax, [ecx - 0xa]
cmp eax, 0xc0
ja case.default.0x4d8ad1
movzx eax, byte [eax + 0x4d8d7c]
jmp dword [eax*4 + 0x4d8d34]
push esi
push 0xa
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.004da560
add esp, 8
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
movq qword [esp + 4], xmm0
mov eax, dword [esp + 4]
cmp eax, 0xffffff88
ja 0x4d8d2c
cmp esi, dword [esp + 8]
mov eax, dword [esp + 0x20]
cmovl esi, dword [esp + 8]
cmp esi, ecx
cmovg esi, ecx
test esi, esi
jne 0x4d8787
mov esi, 3
mov dword [eax + 0x2c], esi
mov eax, esi
pop esi
add esp, 0x18
ret
mov dword [eax + 0x2c], esi
test esi, esi
jns 0x4d8733
xor eax, eax
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d87ac
push esi
push 0x65
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 4], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d87d1
push esi
push 0x66
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d87f6
push esi
push 0x67
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 8], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d881b
push esi
push 0x68
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d8840
push esi
push 0x69
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x14], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x6a
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x18], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d8886
push esi
push 0x6b
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x1c], esi
mov eax, esi
pop esi
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
xor eax, eax
test esi, esi
pop esi
setne al
mov dword [ecx + 0x20], eax
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
xor eax, eax
test esi, esi
pop esi
setne al
mov dword [ecx + 0x24], eax
add esp, 0x18
ret
mov eax, dword [esp + 0x20]
xor ecx, ecx
test esi, esi
sete cl
mov dword [eax + 0x28], ecx
xor eax, eax
test esi, esi
pop esi
setne al
add esp, 0x18
ret
push esi
push 0xa0
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x54], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d8912
push esi
push 0xa1
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x58], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d893a
push esi
push 0xa2
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x60], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d8962
push esi
push 0xa3
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x5c], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d898a
push esi
push 0xa4
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x64], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.004da560
add esp, 8
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
movq qword [esp + 4], xmm0
mov eax, dword [esp + 4]
cmp eax, 0xffffff88
ja 0x4d8d2c
cmp esi, dword [esp + 8]
mov eax, dword [esp + 0x20]
cmovl esi, dword [esp + 8]
cmp esi, ecx
cmovg esi, ecx
mov dword [eax + 0x44], esi
mov eax, esi
pop esi
add esp, 0x18
ret
cmp ecx, 0x3e8
jg 0x4d8ac2
je 0x4d8aaf
mov eax, ecx
sub eax, 0x191
je 0x4d8a5d
sub eax, 1
je 0x4d8a31
sub eax, 0x62
jne case.default.0x4d8ad1
test esi, esi
jns 0x4d8a19
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [eax + 0x50], esi
mov eax, esi
pop esi
add esp, 0x18
ret
mov eax, 9
cmp esi, eax
cmovg esi, eax
mov eax, dword [esp + 0x20]
mov dword [eax + 0x50], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
jns 0x4d8a45
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [eax + 0x4c], esi
mov eax, esi
pop esi
add esp, 0x18
ret
cmp esi, 9
jle 0x4d8a4f
mov esi, 9
mov eax, dword [esp + 0x20]
mov dword [eax + 0x4c], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d8a6b
mov eax, 0x80000
cmp esi, eax
cmovl esi, eax
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.004da560
add esp, 8
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
movq qword [esp + 4], xmm0
mov eax, dword [esp + 4]
cmp eax, 0xffffff88
ja 0x4d8d2c
cmp esi, dword [esp + 8]
cmovl esi, dword [esp + 8]
cmp esi, ecx
cmovg esi, ecx
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword [ecx + 0x48], esi
pop esi
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
xor eax, eax
test esi, esi
pop esi
setne al
mov dword [ecx + 0x30], eax
add esp, 0x18
ret
add ecx, 0xfffffc17
cmp ecx, 0xf
ja case.default.0x4d8ad1
jmp dword [ecx*4 + 0x4d8e40]
push esi
push 0x3e9
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x3c], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3ea
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x40], esi
mov eax, esi
pop esi
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
xor eax, eax
test esi, esi
pop esi
setne al
mov dword [ecx + 0x6c], eax
add esp, 0x18
ret
test esi, esi
je 0x4d8b4d
push esi
push 0x3eb
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x34], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d8b75
push esi
push 0x3ec
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x38], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3ee
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x70], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3ef
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x74], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3f0
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x78], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3f1
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x7c], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3f2
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x80], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3f3
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x84], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3f4
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov ecx, dword [esp + 0x20]
xor eax, eax
test esi, esi
pop esi
setne al
mov dword [ecx + 0x88], eax
add esp, 0x18
ret
push esi
push 0x3f5
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x98], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3f6
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0x9c], esi
mov eax, esi
pop esi
add esp, 0x18
ret
test esi, esi
je 0x4d8ce9
push esi
push 0x3f7
call fcn.004da810
add esp, 8
test eax, eax
je 0x4d8d0c
mov eax, dword [esp + 0x20]
mov dword [eax + 0xa4], esi
mov eax, esi
pop esi
add esp, 0x18
ret
push esi
push 0x3f8
call fcn.004da810
add esp, 8
test eax, eax
jne 0x4d8d16
mov eax, 0xffffffd6
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x20]
mov dword [eax + 0xa8], esi
mov eax, esi
pop esi
add esp, 0x18
ret
mov eax, 0xffffffd8
pop esi
add esp, 0x18
ret