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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbd5d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e8
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x124], ecx
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x138], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x134], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
mov ecx, dword [ecx + 0xc]
push eax
call fcn.004afc20
mov byte [ebp - 4], 1
cmp byte [ebp - 0xe0], 0
je 0x4a7f50
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
test ecx, ecx
je 0x4a7f50
xor esi, esi
mov edx, edi
cmp word [edi], 0x2e
je 0x4a7cb3
cmp ecx, 1
je 0x4a7cb5
add edx, 2
dec ecx
cmp word [edx], 0x2e
jne 0x4a7ca4
mov esi, edx
test esi, esi
je 0x4a7f50
sub esi, edi
sar esi, 1
cmp esi, 0xffffffff
je 0x4a7f50
push dword [ebp - 0x104]
mov esi, dword [ebp - 0x12c]
push dword [ebp - 0x108]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.0043cbf0
add esp, 0x10
test al, al
je 0x4a7f50
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0043cbf0
add esp, 0x10
test al, al
je 0x4a7f50
push esi
lea ecx, [ebp - 0x180]
call fcn.004baa80
mov byte [ebp - 4], 2
push dword [ebp - 0x164]
push dword [ebp - 0x168]
call fcn.004a2c90
lea edx, [ebp - 0x180]
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0xd8]
call fcn.004a7900
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 3
call fcn.00428f30
mov edi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x9c]
mov esi, dword [edi]
cmp eax, 1
je 0x4a7d86
cmp eax, 2
je 0x4a7d86
cmp eax, 5
je 0x4a7d86
cmp eax, 4
je 0x4a7d86
cmp eax, 6
je 0x4a7d86
xor ecx, ecx
jmp 0x4a7dbc
lea eax, [ebp - 0xd8]
lea ecx, [esi + 0x498]
push eax
call fcn.004747f0
test al, al
je 0x4a7da3
mov ecx, 2
jmp 0x4a7dbc
lea eax, [ebp - 0xd8]
lea ecx, [esi + 0x488]
push eax
call fcn.004747f0
xor ecx, ecx
test al, al
setne cl
xor eax, eax
cmp byte [ebp - 0x98], al
push ecx
sete al
mov ecx, edi
lea eax, [eax*2 + 1]
push eax
push dword [ebp - 0x130]
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 0x134]
lea eax, [ebp - 0x1f8]
push eax
call fcn.004a7620
mov esi, eax
cmp byte [esi + 0x70], 0
je 0x4a7ef4
cmp byte [ebp - 0x20], 0
je 0x4a7ebc
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x4a7e43
mov ecx, eax
call fcn.00428f30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x80], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push dword [esi + 0x2c]
lea ecx, [ebp - 0x90]
push dword [esi + 0x24]
push dword [esi + 0x1c]
call fcn.004baf00
mov eax, dword [esi + 0x3c]
add esi, 0x40
mov dword [ebp - 0x54], eax
cmp byte [esi + 0x28], 0
je 0x4a7ea8
cmp byte [ebp - 0x28], 0
push esi
je 0x4a7e94
movsx ecx, byte [esi + 0x18]
lea eax, [ebp - 0x50]
inc ecx
mov dword [ebp - 0x128], eax
lea edx, [ebp - 0x128]
call fcn.004ac9f0
mov al, byte [esi + 0x20]
add esp, 4
mov byte [ebp - 0x30], al
jmp 0x4a7f17
lea ecx, [ebp - 0x50]
call fcn.004a0a80
mov al, byte [esi + 0x20]
mov byte [ebp - 0x30], al
mov byte [ebp - 0x28], 1
jmp 0x4a7f17
cmp byte [ebp - 0x28], 0
je 0x4a7f17
lea ecx, [ebp - 0x50]
call fcn.004a3370
mov byte [ebp - 0x28], 0
jmp 0x4a7f17
push esi
lea ecx, [ebp - 0x90]
call fcn.004bab20
mov eax, dword [esi + 0x3c]
add esi, 0x40
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x28], 0
cmp byte [esi + 0x28], 0
je 0x4a7eee
push esi
lea ecx, [ebp - 0x50]
call fcn.004a0a80
mov al, byte [esi + 0x20]
mov byte [ebp - 0x30], al
mov byte [ebp - 0x28], 1
mov byte [ebp - 0x20], 1
jmp 0x4a7f17
cmp byte [ebp - 0x20], 0
je 0x4a7f17
cmp byte [ebp - 0x28], 0
je 0x4a7f08
lea ecx, [ebp - 0x50]
call fcn.004a3370
lea ecx, [ebp - 0x90]
call fcn.00428f30
mov byte [ebp - 0x20], 0
cmp byte [ebp - 0x188], 0
je 0x4a7f3f
cmp byte [ebp - 0x190], 0
je 0x4a7f34
lea ecx, [ebp - 0x1b8]
call fcn.004a3370
lea ecx, [ebp - 0x1f8]
call fcn.00428f30
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.00428f30
jmp 0x4a7f56
mov edi, dword [ebp - 0x124]
mov esi, dword [edi]
lea ecx, [ebp - 0x180]
mov edi, dword [ebp - 0x12c]
push edi
call fcn.004baa80
mov byte [ebp - 4], 5
push dword [ebp - 0x164]
push dword [ebp - 0x168]
call fcn.004a2c90
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 6
cmp eax, 1
je 0x4a7fa6
cmp eax, 2
je 0x4a7fa6
cmp eax, 5
je 0x4a7fa6
cmp eax, 4
je 0x4a7fa6
cmp eax, 6
je 0x4a7fa6
xor esi, esi
jmp 0x4a7fe4
lea eax, [ebp - 0x180]
lea ecx, [esi + 0x498]
push eax
call fcn.004747f0
test al, al
je 0x4a7fc3
mov esi, 2
jmp 0x4a7fe4
lea eax, [ebp - 0x180]
lea ecx, [esi + 0x488]
push eax
call fcn.004747f0
xor ecx, ecx
test al, al
setne cl
mov dword [ebp - 0x128], ecx
mov esi, ecx
push edi
lea ecx, [ebp - 0xd8]
call fcn.004baa80
mov byte [ebp - 4], 7
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call fcn.004a2c90
mov dword [ebp - 0x9c], eax
mov edi, dword [ebp - 0x138]
lea eax, [ebp - 0xd8]
mov ecx, dword [ebp - 0x124]
push esi
push 2
push dword [ebp - 0x130]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x134]
push edi
call fcn.004a7620
cmp byte [ebp - 0x20], 0
mov byte [edi + 0xe8], 0
je 0x4a808f
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0x78]
call fcn.004bab20
cmp byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
mov dword [edi + 0xb4], eax
mov byte [edi + 0xe0], 0
je 0x4a8088
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0xb8]
call fcn.004a0a80
mov al, byte [ebp - 0x30]
mov byte [edi + 0xd8], al
mov byte [edi + 0xe0], 1
mov byte [edi + 0xe8], 1
lea ecx, [ebp - 0xd8]
call fcn.00428f30
lea ecx, [ebp - 0x180]
call fcn.00428f30
cmp byte [ebp - 0xe0], 0
je 0x4a80b9
lea ecx, [ebp - 0x120]
call fcn.00428f30
cmp byte [ebp - 0x20], 0
je 0x4a80d8
cmp byte [ebp - 0x28], 0
je 0x4a80cd
lea ecx, [ebp - 0x50]
call fcn.004a3370
lea ecx, [ebp - 0x90]
call fcn.00428f30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10