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

Disassembly:
push 0xffffffffffffffff
push 0x52f942
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x164]
mov edi, dword [esp + 0x170]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x14c], edi
call fcn.004ab3a0
test al, al
je 0x4a8f2b
cmp byte [esp + 0x178], 0
mov ecx, 0x58
mov eax, 0xb0
cmove eax, ecx
mov ecx, dword [esp + 0x84]
push eax
push ecx
mov ecx, esi
call fcn.004aa510
test al, al
je 0x4a8f2b
push 4
push edi
mov ecx, esi
call fcn.004aa510
test al, al
je 0x4a8f2b
mov edx, dword [esp + 0x168]
mov ecx, edx
and ecx, 0xf
mov dword [esp + 0x140], ecx
cmp ecx, 9
ja case.default.0x4a8600
movzx eax, byte [ecx + 0x4a8f60]
jmp dword [eax*4 + 0x4a8f58]
mov ecx, dword [esp + 0x178]
push ecx
push dword [esp + 0x178]
mov ecx, esi
push edi
push dword [esp + 0x90]
push edx
push dword [esp + 0xa0]
call fcn.004a0400
jmp 0x4a8f2d
shr edx, 8
and edx, 0xffffff01
mov dword [esp + 0x144], 0x20
mov dword [esp + 0x7c], edx
cmp ecx, 3
je 0x4a866b
test dl, dl
mov eax, 0x10
cmovne eax, dword [esp + 0x144]
cmp dword [esp + 0x174], eax
jb case.default.0x4a8600
mov eax, dword [esp + 0x174]
test eax, eax
je case.default.0x4a8600
test dl, dl
je 0x4a8687
cmp ecx, 3
je case.default.0x4a8600
cmp byte [esp + 0x178], 0
mov dword [esp + 0x80], edi
mov dword [esp + 0x14c], eax
jne 0x4a8ae6
mov eax, dword [esp + 0x84]
test dword [eax + 0xc], 0x20000
je 0x4a86f1
lea eax, [esp + 0x148]
push eax
call fcn.0046bbb0
push dword [esp + 0x150]
lea eax, [esp + 0x150]
push edi
push eax
call fcn.0046bbc0
lea eax, [esp + 0x158]
push eax
call fcn.0046bb90
mov ecx, dword [esp + 0x98]
add esp, 0x14
mov dword [ecx + 0x20], eax
mov eax, ecx
movdqu xmm0, xmmword [eax + 0x10]
mov dword [esp + 0x50], 0
movdqu xmm1, xmmword [eax]
movdqu xmmword [esp + 0xf8], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [esp + 0xe8], xmm1
movdqu xmmword [esp + 0x108], xmm0
movdqu xmm0, xmmword [eax + 0x30]
psrldq xmm1, 0xc
movdqu xmmword [esp + 0x118], xmm0
movdqu xmm0, xmmword [eax + 0x40]
movdqu xmmword [esp + 0x128], xmm0
movq xmm0, qword [eax + 0x50]
movq qword [esp + 0x138], xmm0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], 0x408318
movd eax, xmm1
movdqu xmmword [esp + 0x40], xmm0
mov dword [esp + 0x34], 0
movdqa xmm0, xmmword [0x411800]
and eax, 0xfffcffff
mov dword [esp + 0x78], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 1
movdqu xmmword [esp + 0x44], xmm0
push 0x30
mov dword [esp + 0x160], 0
call fcn.004f8876
mov ecx, 0x30
mov dword [esp + 0x40], 0x30
add esp, 4
mov dword [esp + 0x144], ecx
cmp dword [esp + 0x44], 1
mov edx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
jne 0x4a87fc
push ecx
push 0
push edx
call fcn.004fa8e0
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [esp + 0x34]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x30], 0x408354
mov eax, dword [esp + 0x78]
and eax, 0xff000000
mov dword [esp + 0x15c], 1
cmp eax, 0x4000000
sete byte [esp + 0x8b]
cmp byte [esp + 0x7c], 0
je 0x4a89ce
mov eax, dword [esp + 0x140]
add eax, 0xfffffffc
mov dword [esp + 0x148], 0
cmp eax, 5
ja case.default.0x4a884a
jmp dword [eax*4 + 0x4a8f6c]
movdqu xmm0, xmmword [edi]
xor eax, eax
mov dword [esp + 0x148], 0
test ecx, ecx
cmovne eax, edx
movdqu xmmword [eax], xmm0
jmp case.default.0x4a884a
movdqu xmm0, xmmword [edi]
xor eax, eax
mov dword [esp + 0x148], 1
test ecx, ecx
cmovne eax, edx
movdqu xmmword [eax + 0x10], xmm0
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
push 0
push 0x20
lea ecx, [esp + 0x14]
movdqu xmmword [esp + 0x14], xmm0
movdqu xmmword [esp + 0x24], xmm0
call fcn.004486b0
movdqu xmm0, xmmword [edi]
xor eax, eax
mov byte [esp + 0x15c], 2
cmp dword [esp + 0x14], eax
mov edx, 0x20
push 0
cmovne eax, dword [esp + 0x14]
mov ecx, 0x10
movdqu xmmword [eax], xmm0
xor eax, eax
cmp dword [esp + 0x18], eax
cmovne eax, dword [esp + 0x14]
cmp byte [esp + 0x8f], 0
cmovne ecx, edx
push ecx
push eax
lea eax, [esp + 0xf4]
mov ecx, esi
push eax
push dword [esp + 0x158]
push dword [esp + 0xa0]
call fcn.004a0400
test eax, eax
jne 0x4a893e
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 1
call fcn.00423560
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x408354
mov dword [esp + 0x15c], 0xffffffff
call fcn.00423560
jmp 0x4a8f2b
xor eax, eax
cmp dword [esp + 0x14], eax
cmovne eax, dword [esp + 0x10]
movdqu xmm0, xmmword [eax]
xor eax, eax
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [edi]
cmp dword [esp + 0x148], eax
jne 0x4a8970
cmp dword [esp + 0x38], eax
cmovne eax, dword [esp + 0x34]
movdqu xmmword [eax + 0x10], xmm0
jmp 0x4a897d
cmp dword [esp + 0x38], eax
cmovne eax, dword [esp + 0x34]
movdqu xmmword [eax], xmm0
mov ecx, dword [esp + 0x84]
xor eax, eax
cmp dword [esp + 0x38], eax
mov byte [esp + 0x15c], 1
cmovne eax, dword [esp + 0x34]
movdqu xmm0, xmmword [ecx + 0x24]
lea ecx, [esp + 0xc]
movdqu xmmword [eax + 0x20], xmm0
lea eax, [edi + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x174]
add eax, 0xfffffff0
mov dword [esp + 0x14c], eax
call fcn.00423560
mov ecx, dword [esp + 0x144]
jmp 0x4a8a2e
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x84]
cmovne eax, edx
mov edx, 0x20
push 0
movdqu xmm0, xmmword [ecx + 0x24]
mov ecx, 0x10
movdqu xmmword [eax], xmm0
xor eax, eax
cmp dword [esp + 0x3c], eax
cmovne eax, dword [esp + 0x38]
cmp byte [esp + 0x8f], 0
cmovne ecx, edx
push ecx
push eax
lea eax, [esp + 0xf4]
mov ecx, esi
push eax
push 0
push dword [esp + 0xa0]
call fcn.004a0400
test eax, eax
je 0x4a891d
mov ecx, 0x10
xor eax, eax
lea edx, [esp + 0x14c]
cmp dword [esp + 0x38], eax
push edx
push dword [esp + 0x84]
cmovne eax, dword [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0x178]
mov ecx, esi
push eax
call fcn.004a9550
test al, al
je 0x4a891d
cmp byte [esp + 0x7c], 0
je 0x4a8a77
add dword [esp + 0x14c], 0x10
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x84]
test dword [edi + 0xc], 0x10000
je 0x4a8ad5
lea eax, [esp + 0x144]
push eax
call fcn.0046bbb0
push dword [esp + 0x150]
lea eax, [esp + 0x14c]
push dword [esp + 0x88]
push eax
call fcn.0046bbc0
lea eax, [esp + 0x154]
push eax
call fcn.0046bb90
add esp, 0x14
cmp dword [edi + 0x20], eax
je 0x4a8ad5
mov eax, dword [esi]
mov ecx, esi
push 0xcb
call dword [eax + 4]
jmp 0x4a891d
mov dword [esp + 0x30], 0x408354
lea ecx, [esp + 0x30]
jmp 0x4a8efb
mov esi, dword [esp + 0x84]
test dword [esi + 0xc], 0x20000
je 0x4a8b2b
lea eax, [esp + 0x144]
push eax
call fcn.0046bbb0
push dword [esp + 0x150]
lea eax, [esp + 0x14c]
push edi
push eax
call fcn.0046bbc0
lea eax, [esp + 0x154]
push eax
call fcn.0046bb90
add esp, 0x14
mov dword [esi + 0x30], eax
mov ecx, 0x2c
mov dword [esp + 0x74], 0
lea edi, [esp + 0x90]
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x9c]
movdqu xmmword [esp + 0x54], xmm0
and esi, 0xfffcffff
mov dword [esp + 0x54], 0x408318
movdqu xmmword [esp + 0x64], xmm0
mov dword [esp + 0x9c], esi
movdqa xmm0, xmmword [0x411800]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x64], 1
movdqu xmmword [esp + 0x68], xmm0
push 0x30
mov dword [esp + 0x160], 3
call fcn.004f8876
mov ecx, 0x30
mov dword [esp + 0x64], 0x30
add esp, 4
mov dword [esp + 0x144], ecx
cmp dword [esp + 0x68], 1
mov edx, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
jne 0x4a8bec
push ecx
push 0
push edx
call fcn.004fa8e0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, dword [esp + 0x58]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x54], 0x408354
and esi, 0xff000000
mov dword [esp + 0x15c], 4
cmp esi, 0x4000000
sete byte [esp + 0x8b]
cmp byte [esp + 0x7c], 0
je 0x4a8dd7
mov eax, dword [esp + 0x140]
xor esi, esi
add eax, 0xfffffffc
mov dword [esp + 0x80], esi
cmp eax, 5
ja case.default.0x4a8c36
jmp dword [eax*4 + 0x4a8f84]
mov edi, dword [esp + 0x148]
xor esi, esi
xor eax, eax
mov dword [esp + 0x80], esi
test ecx, ecx
movdqu xmm0, xmmword [edi]
cmovne eax, edx
movdqu xmmword [eax], xmm0
jmp 0x4a8c8a
mov edi, dword [esp + 0x148]
xor eax, eax
test ecx, ecx
mov esi, 1
mov dword [esp + 0x80], esi
cmovne eax, edx
movdqu xmm0, xmmword [edi]
movdqu xmmword [eax + 0x10], xmm0
jmp 0x4a8c8a
mov edi, dword [esp + 0x148]
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
push 0
push 0x20
lea ecx, [esp + 0x14]
movdqu xmmword [esp + 0x14], xmm0
movdqu xmmword [esp + 0x24], xmm0
call fcn.004486b0
movdqu xmm0, xmmword [edi]
mov ecx, dword [esp + 0x178]
xor eax, eax
cmp dword [esp + 0x14], eax
mov edx, 0x20
push ecx
cmovne eax, dword [esp + 0x14]
mov ecx, 0x10
mov byte [esp + 0x160], 5
movdqu xmmword [eax], xmm0
xor eax, eax
cmp dword [esp + 0x18], eax
cmovne eax, dword [esp + 0x14]
cmp byte [esp + 0x8f], 0
cmovne ecx, edx
push ecx
push eax
lea eax, [esp + 0x9c]
push eax
push esi
push dword [esp + 0xa0]
mov esi, dword [esp + 0x90]
mov ecx, esi
call fcn.004a0400
test eax, eax
jne 0x4a8d47
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 4
call fcn.00423560
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x408354
mov dword [esp + 0x15c], 0xffffffff
call fcn.00423560
jmp 0x4a8f2b
xor eax, eax
cmp dword [esp + 0x14], eax
cmovne eax, dword [esp + 0x10]
movdqu xmm0, xmmword [eax]
xor eax, eax
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [edi]
cmp dword [esp + 0x80], eax
jne 0x4a8d79
cmp dword [esp + 0x5c], eax
cmovne eax, dword [esp + 0x58]
movdqu xmmword [eax + 0x10], xmm0
jmp 0x4a8d86
cmp dword [esp + 0x5c], eax
cmovne eax, dword [esp + 0x58]
movdqu xmmword [eax], xmm0
mov ecx, dword [esp + 0x84]
xor eax, eax
cmp dword [esp + 0x5c], eax
mov byte [esp + 0x15c], 4
cmovne eax, dword [esp + 0x58]
movdqu xmm0, xmmword [ecx + 0x5c]
lea ecx, [esp + 0xc]
movdqu xmmword [eax + 0x20], xmm0
lea eax, [edi + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x174]
add eax, 0xfffffff0
mov dword [esp + 0x14c], eax
call fcn.00423560
mov ecx, dword [esp + 0x144]
jmp 0x4a8e48
xor eax, eax
mov esi, dword [esp + 0x78]
test ecx, ecx
mov ecx, dword [esp + 0x84]
cmovne eax, edx
mov edx, 0x20
movdqu xmm0, xmmword [ecx + 0x5c]
mov ecx, dword [esp + 0x178]
push ecx
movdqu xmmword [eax], xmm0
xor eax, eax
mov ecx, 0x10
cmp dword [esp + 0x60], eax
cmovne eax, dword [esp + 0x5c]
cmp byte [esp + 0x8f], 0
cmovne ecx, edx
push ecx
push eax
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
push 0
push dword [esp + 0xa0]
call fcn.004a0400
test eax, eax
je 0x4a8d26
mov edi, dword [esp + 0x148]
mov ecx, 0x10
xor eax, eax
lea edx, [esp + 0x14c]
cmp dword [esp + 0x5c], eax
push edx
push dword [esp + 0x84]
cmovne eax, dword [esp + 0x60]
push ecx
push eax
mov eax, dword [esp + 0x178]
mov ecx, esi
push eax
call fcn.004a9550
test al, al
je 0x4a8d26
cmp byte [esp + 0x7c], 0
je 0x4a8e91
add dword [esp + 0x14c], 0x10
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x84]
test dword [edi + 0xc], 0x10000
je 0x4a8eef
lea eax, [esp + 0x140]
push eax
call fcn.0046bbb0
push dword [esp + 0x150]
lea eax, [esp + 0x148]
push dword [esp + 0x88]
push eax
call fcn.0046bbc0
lea eax, [esp + 0x150]
push eax
call fcn.0046bb90
add esp, 0x14
cmp dword [edi + 0x30], eax
je 0x4a8eef
mov eax, dword [esi]
mov ecx, esi
push 0xcb
call dword [eax + 4]
jmp 0x4a8d26
mov dword [esp + 0x54], 0x408354
lea ecx, [esp + 0x54]
mov dword [esp + 0x15c], 0xffffffff
call fcn.00423560
mov eax, dword [esp + 0x14c]
cmp eax, dword [esp + 0x174]
je 0x4a8f2d
push 0xca
jmp 0x4a8f24
push 0x69
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.004f9e32
add esp, 0x154
ret 0x18