Function at 0x4a7230
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 0x5da3ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e8
mov eax, dword [0x689140]
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.004af3f0
mov byte [ebp - 4], 1
cmp byte [ebp - 0xe0], 0
je 0x4a7590
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
test ecx, ecx
je 0x4a7590
xor esi, esi
mov edx, edi
cmp word [edi], 0x2e
je 0x4a72f3
cmp ecx, 1
je 0x4a72f5
add edx, 2
dec ecx
cmp word [edx], 0x2e
jne 0x4a72e4
mov esi, edx
test esi, esi
je 0x4a7590
sub esi, edi
sar esi, 1
cmp esi, 0xffffffff
je 0x4a7590
push dword [ebp - 0x104]
mov esi, dword [ebp - 0x12c]
push dword [ebp - 0x108]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.0043caf0
add esp, 0x10
test al, al
je 0x4a7590
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0043caf0
add esp, 0x10
test al, al
je 0x4a7590
push esi
lea ecx, [ebp - 0x180]
call fcn.004ba3f0
mov byte [ebp - 4], 2
push dword [ebp - 0x164]
push dword [ebp - 0x168]
call fcn.004a22b0
lea edx, [ebp - 0x180]
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0xd8]
call fcn.004a6f40
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 3
call fcn.00428f60
mov edi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x9c]
mov esi, dword [edi]
cmp eax, 1
je 0x4a73c6
cmp eax, 2
je 0x4a73c6
cmp eax, 5
je 0x4a73c6
cmp eax, 4
je 0x4a73c6
cmp eax, 6
je 0x4a73c6
xor ecx, ecx
jmp 0x4a73fc
lea eax, [ebp - 0xd8]
lea ecx, [esi + 0x498]
push eax
call fcn.00473d30
test al, al
je 0x4a73e3
mov ecx, 2
jmp 0x4a73fc
lea eax, [ebp - 0xd8]
lea ecx, [esi + 0x488]
push eax
call fcn.00473d30
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.004a6c60
mov esi, eax
cmp byte [esi + 0x70], 0
je 0x4a7534
cmp byte [ebp - 0x20], 0
je 0x4a74fc
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x4a7483
mov ecx, eax
call fcn.00428f60
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.004ba870
mov eax, dword [esi + 0x3c]
add esi, 0x40
mov dword [ebp - 0x54], eax
cmp byte [esi + 0x28], 0
je 0x4a74e8
cmp byte [ebp - 0x28], 0
push esi
je 0x4a74d4
movsx ecx, byte [esi + 0x18]
lea eax, [ebp - 0x50]
inc ecx
mov dword [ebp - 0x128], eax
lea edx, [ebp - 0x128]
call fcn.004ac060
mov al, byte [esi + 0x20]
add esp, 4
mov byte [ebp - 0x30], al
jmp 0x4a7557
lea ecx, [ebp - 0x50]
call fcn.004a00b0
mov al, byte [esi + 0x20]
mov byte [ebp - 0x30], al
mov byte [ebp - 0x28], 1
jmp 0x4a7557
cmp byte [ebp - 0x28], 0
je 0x4a7557
lea ecx, [ebp - 0x50]
call int.004a29b0
mov byte [ebp - 0x28], 0
jmp 0x4a7557
push esi
lea ecx, [ebp - 0x90]
call fcn.004ba490
mov eax, dword [esi + 0x3c]
add esi, 0x40
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x28], 0
cmp byte [esi + 0x28], 0
je 0x4a752e
push esi
lea ecx, [ebp - 0x50]
call fcn.004a00b0
mov al, byte [esi + 0x20]
mov byte [ebp - 0x30], al
mov byte [ebp - 0x28], 1
mov byte [ebp - 0x20], 1
jmp 0x4a7557
cmp byte [ebp - 0x20], 0
je 0x4a7557
cmp byte [ebp - 0x28], 0
je 0x4a7548
lea ecx, [ebp - 0x50]
call int.004a29b0
lea ecx, [ebp - 0x90]
call fcn.00428f60
mov byte [ebp - 0x20], 0
cmp byte [ebp - 0x188], 0
je 0x4a757f
cmp byte [ebp - 0x190], 0
je 0x4a7574
lea ecx, [ebp - 0x1b8]
call int.004a29b0
lea ecx, [ebp - 0x1f8]
call fcn.00428f60
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.00428f60
jmp 0x4a7596
mov edi, dword [ebp - 0x124]
mov esi, dword [edi]
lea ecx, [ebp - 0x180]
mov edi, dword [ebp - 0x12c]
push edi
call fcn.004ba3f0
mov byte [ebp - 4], 5
push dword [ebp - 0x164]
push dword [ebp - 0x168]
call fcn.004a22b0
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 6
cmp eax, 1
je 0x4a75e6
cmp eax, 2
je 0x4a75e6
cmp eax, 5
je 0x4a75e6
cmp eax, 4
je 0x4a75e6
cmp eax, 6
je 0x4a75e6
xor esi, esi
jmp 0x4a7624
lea eax, [ebp - 0x180]
lea ecx, [esi + 0x498]
push eax
call fcn.00473d30
test al, al
je 0x4a7603
mov esi, 2
jmp 0x4a7624
lea eax, [ebp - 0x180]
lea ecx, [esi + 0x488]
push eax
call fcn.00473d30
xor ecx, ecx
test al, al
setne cl
mov dword [ebp - 0x128], ecx
mov esi, ecx
push edi
lea ecx, [ebp - 0xd8]
call fcn.004ba3f0
mov byte [ebp - 4], 7
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call fcn.004a22b0
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.004a6c60
cmp byte [ebp - 0x20], 0
mov byte [edi + 0xe8], 0
je 0x4a76cf
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0x78]
call fcn.004ba490
cmp byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
mov dword [edi + 0xb4], eax
mov byte [edi + 0xe0], 0
je 0x4a76c8
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0xb8]
call fcn.004a00b0
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.00428f60
lea ecx, [ebp - 0x180]
call fcn.00428f60
cmp byte [ebp - 0xe0], 0
je 0x4a76f9
lea ecx, [ebp - 0x120]
call fcn.00428f60
cmp byte [ebp - 0x20], 0
je 0x4a7718
cmp byte [ebp - 0x28], 0
je 0x4a770d
lea ecx, [ebp - 0x50]
call int.004a29b0
lea ecx, [ebp - 0x90]
call fcn.00428f60
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.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10