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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8b8
mov eax, dword [esp + 0x8cc]
xorps xmm0, xmm0
movups xmmword [esp + 0xdc], xmm0
movups xmmword [esp + 0xcc], xmm0
movups xmmword [esp + 0xbc], xmm0
movups xmmword [esp + 0xac], xmm0
mov dword [esp + 0xec], 0
pxor xmm1, xmm1
movq qword [esp + 0xa4], xmm1
movups xmmword [esp + 0x94], xmm0
movups xmmword [esp + 0x84], xmm0
movups xmmword [esp + 0x74], xmm0
movups xmmword [esp + 0x64], xmm0
mov eax, dword [eax]
movzx ebx, al
mov esi, 0xffffffd4
cmp ebx, 0x10
ja 0x4e6082
mov dword [esp + 0x44], eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0xac]
lea edi, [esp + 0x7b8]
push dword [esp + 0x8d4]
push dword [esp + 0x8d4]
push eax
push ecx
push edx
push 0x100
push edi
call fcn.004e35b0
add esp, 0x1c
cmp eax, 0xffffff88
ja 0x4e592b
mov ebp, dword [esp + 0x60]
mov ecx, ebx
sub ecx, ebp
jb 0x4e6082
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
shr eax, 0x18
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8cc]
add eax, 4
mov dword [esp + 0x48], eax
lea edi, [ebp + 1]
lea eax, [esp + 0x1bc]
mov dword [esp + 4], eax
xor edx, edx
mov esi, ebx
mov dword [esp + 0xc], 0x44
lea eax, [esp + 0x1c4]
mov dword [esp], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], ebp
nop word [eax + eax]
mov eax, ebp
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ecx
cmp dword [esp + ebp*4 + 0xac], 0
mov ecx, dword [esp]
lea ebp, [ebp - 1]
mov dword [esp + 8], edi
lea edi, [edi - 1]
mov dword [esp + 0x40], esi
lea esi, [esi - 1]
mov dword [esp + 0x1c], edx
lea edx, [edx + 1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x20]
lea edx, [edx + 0x44]
mov dword [esp + 4], edx
lea edx, [ecx + 0x44]
mov dword [esp], edx
mov edx, dword [esp + 0x14]
je 0x4e58a0
mov dword [esp + 0xc], ecx
mov dword [esp], eax
inc eax
xor edx, edx
mov dword [esp + 0x14], eax
cmp eax, 2
mov ebp, dword [esp + 0x3c]
jb 0x4e59af
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
cmp eax, 0xfffffffc
jbe 0x4e5932
xor edi, edi
mov ecx, 1
mov ebx, dword [esp]
jmp 0x4e597c
mov esi, eax
jmp 0x4e6082
mov ebx, dword [esp]
mov eax, ebx
and eax, 0xfffffffc
xor edi, edi
xor ecx, ecx
nop
mov esi, dword [esp + ecx*4 + 0xb0]
add esi, edi
mov dword [esp + ecx*4 + 0x6c], edi
mov edx, dword [esp + ecx*4 + 0xb4]
add edx, esi
mov dword [esp + ecx*4 + 0x70], esi
mov esi, dword [esp + ecx*4 + 0xb8]
add esi, edx
mov dword [esp + ecx*4 + 0x74], edx
mov edi, dword [esp + ecx*4 + 0xbc]
add edi, esi
mov dword [esp + ecx*4 + 0x78], esi
add ecx, 4
cmp eax, ecx
jne 0x4e5940
inc ecx
mov edx, edi
test bl, 3
je 0x4e59af
lea eax, [esp + ecx*4]
add eax, 0x68
lea ecx, [esp + ecx*4]
add ecx, 0xac
mov ebx, dword [esp]
and ebx, 3
xor esi, esi
nop word [eax + eax]
mov edx, dword [ecx + esi*4]
add edx, edi
mov dword [eax + esi*4], edi
inc esi
mov edi, edx
cmp ebx, esi
jne 0x4e59a0
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x5c]
test eax, eax
mov edi, edx
mov dword [esp + 0x10], edx
je 0x4e5a5a
xor edx, edx
cmp eax, 1
je 0x4e5a35
mov dword [esp + 4], eax
and eax, 0xfffffffe
xor edx, edx
nop word cs:[eax + eax]
movzx ebx, byte [esp + edx + 0x7b8]
mov esi, dword [esp + ebx*4 + 0x68]
lea edi, [esi + 1]
mov dword [esp + ebx*4 + 0x68], edi
mov byte [esp + esi*2 + 0x5b8], dl
mov byte [esp + esi*2 + 0x5b9], bl
movzx ebx, byte [esp + edx + 0x7b9]
mov esi, dword [esp + ebx*4 + 0x68]
lea edi, [esi + 1]
mov dword [esp + ebx*4 + 0x68], edi
mov ecx, edx
inc cl
mov byte [esp + esi*2 + 0x5b8], cl
mov byte [esp + esi*2 + 0x5b9], bl
add edx, 2
cmp edx, eax
jne 0x4e59e0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 4]
test al, 1
je 0x4e5a5a
movzx eax, byte [esp + edx + 0x7b8]
mov ecx, dword [esp + eax*4 + 0x68]
lea esi, [ecx + 1]
mov dword [esp + eax*4 + 0x68], esi
mov byte [esp + ecx*2 + 0x5b8], dl
mov byte [esp + ecx*2 + 0x5b9], al
mov dword [esp + 0x68], 0
cmp dword [esp + 0x14], 2
jae 0x4e5a73
mov edx, ebp
sub edx, dword [esp]
jmp 0x4e5c97
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x24]
jne 0x4e5a87
xor eax, eax
mov ebx, 1
jmp 0x4e5ae5
mov eax, dword [esp]
and eax, 0xfffffffe
neg eax
mov dword [esp + 4], eax
xor edx, edx
mov ebx, 1
nop word [eax + eax]
mov eax, dword [esp + 0x18]
add eax, ebx
mov ecx, eax
mov edi, eax
dec cl
mov esi, dword [esp + ebx*4 + 0xac]
mov eax, dword [esp + ebx*4 + 0xb0]
shl esi, cl
mov ecx, edi
shl eax, cl
add esi, edx
mov dword [esp + ebx*4 + 0x178], edx
add eax, esi
mov dword [esp + ebx*4 + 0x17c], esi
mov ecx, dword [esp + 4]
add ecx, ebx
add ecx, 2
add ebx, 2
mov edx, eax
cmp ecx, 1
jne 0x4e5aa0
test byte [esp], 1
je 0x4e5af2
mov dword [esp + ebx*4 + 0x178], eax
cmp dword [esp + 0x14], 2
setb al
mov edx, ebp
mov esi, dword [esp]
sub edx, esi
mov ecx, dword [esp + 0x34]
sub ecx, edx
inc ecx
cmp edx, ecx
setae cl
or cl, al
je 0x4e5b1a
mov edi, dword [esp + 0x10]
jmp 0x4e5c97
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shl eax, 6
lea eax, [eax + ecx*4]
add eax, 0x44
mov dword [esp + 0x14], eax
mov eax, esi
and eax, 0xfffffff8
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x28], edx
mov ecx, edx
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
jmp 0x4e5b72
inc ecx
mov ebx, dword [esp + 4]
inc ebx
add dword [esp + 0x2c], 0x44
mov eax, dword [esp + 0x20]
add eax, 0x44
add edi, 0x44
cmp dword [esp + 0x40], ecx
mov esi, dword [esp]
je 0x4e5c8f
mov dword [esp + 0x20], eax
mov edx, 1
cmp esi, 8
mov dword [esp + 4], ebx
jae 0x4e5b90
mov eax, dword [esp + 8]
jmp 0x4e5c00
mov eax, ebx
shl eax, 6
lea eax, [eax + ebx*4]
add eax, dword [esp + 0x14]
cmp eax, 0x20
mov eax, dword [esp + 8]
jb 0x4e5c00
movd xmm1, ecx
xorps xmm0, xmm0
movss xmm0, xmm1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18c]
mov esi, dword [esp + 0x2c]
nop
movdqu xmm1, xmmword [edx - 0x10]
movdqu xmm2, xmmword [edx]
psrld xmm1, xmm0
psrld xmm2, xmm0
movdqu xmmword [edx + esi - 0x10], xmm1
movdqu xmmword [edx + esi], xmm2
add edx, 0x20
add eax, 0xfffffff8
jne 0x4e5bc0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp dword [esp], eax
mov eax, dword [esp + 8]
je 0x4e5b50
nop dword [eax]
mov dword [esp + 0xc], edi
sub eax, edx
mov ebx, edx
test al, 3
mov edi, dword [esp + 0x20]
je 0x4e5c30
mov eax, dword [esp + 8]
sub al, dl
movzx eax, al
and eax, 3
mov ebx, edx
nop
mov esi, dword [esp + ebx*4 + 0x178]
shr esi, cl
mov dword [edi + ebx*4], esi
inc ebx
dec eax
jne 0x4e5c20
mov eax, dword [esp]
sub eax, edx
cmp eax, 3
mov edx, dword [esp + 8]
mov edi, dword [esp + 0xc]
jb 0x4e5b50
nop word cs:[eax + eax]
mov eax, dword [esp + ebx*4 + 0x178]
shr eax, cl
mov dword [edi + ebx*4 - 8], eax
mov eax, dword [esp + ebx*4 + 0x17c]
shr eax, cl
mov dword [edi + ebx*4 - 4], eax
mov eax, dword [esp + ebx*4 + 0x180]
shr eax, cl
mov dword [edi + ebx*4], eax
mov eax, dword [esp + ebx*4 + 0x184]
shr eax, cl
mov dword [edi + ebx*4 + 4], eax
add ebx, 4
cmp edx, ebx
jne 0x4e5c50
jmp 0x4e5b50
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x174], eax
movups xmm0, xmmword [esp + 0x1a8]
movups xmmword [esp + 0x164], xmm0
movups xmm0, xmmword [esp + 0x198]
movups xmmword [esp + 0x154], xmm0
movdqu xmm0, xmmword [esp + 0x178]
movdqu xmm1, xmmword [esp + 0x188]
movdqu xmmword [esp + 0x144], xmm1
movdqu xmmword [esp + 0x134], xmm0
test edi, edi
je 0x4e6063
mov eax, ebp
sub eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x8cc]
add eax, 0x14
mov dword [esp + 0x30], eax
xor esi, esi
mov dword [esp + 0x28], edx
jmp 0x4e5d48
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x134], eax
inc esi
cmp esi, edi
je 0x4e6063
movzx eax, byte [esp + esi*2 + 0x5b8]
mov dword [esp + 4], eax
movzx eax, byte [esp + esi*2 + 0x5b9]
mov ebx, ebp
sub ebp, eax
mov dword [esp + 0x18], eax
mov edi, dword [esp + eax*4 + 0x134]
mov ecx, dword [esp + 0x34]
sub ecx, ebp
mov eax, 1
shl eax, cl
mov dword [esp + 0x14], ecx
cmp ecx, edx
mov dword [esp + 0xc], ebp
jae 0x4e5df0
mov ecx, edi
mov edi, eax
add eax, ecx
cmp ecx, eax
jae 0x4e6010
mov ebp, ecx
movzx ecx, byte [esp + 0xc]
shl ecx, 0x10
mov edx, dword [esp + 4]
add ecx, edx
add ecx, 0x1000000
cmp dword [esp + 0x14], 2
ja 0x4e601f
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x48]
lea edx, [edx + ebp*4]
xor esi, esi
mov ebp, ebx
nop word cs:[eax + eax]
mov dword [edx + esi*4], ecx
inc esi
cmp edi, esi
jne 0x4e5dd0
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
jmp 0x4e6056
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x54]
lea edx, [eax + ebp]
cmp edx, 2
mov ecx, 1
cmovge ecx, edx
mov eax, ebp
shl eax, 6
lea esi, [eax + ebp*4]
mov eax, dword [esp + esi + 0x1b8]
mov dword [esp + 0x130], eax
mov eax, dword [esp + ecx*4 + 0x64]
movups xmm0, xmmword [esp + esi + 0x1a8]
movups xmmword [esp + 0x120], xmm0
movups xmm0, xmmword [esp + esi + 0x198]
movups xmmword [esp + 0x110], xmm0
movdqu xmm0, xmmword [esp + esi + 0x178]
movdqu xmm1, xmmword [esp + esi + 0x188]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], edi
lea esi, [esi + edi*4]
mov dword [esp + 8], esi
movdqu xmmword [esp + 0x100], xmm1
movdqu xmmword [esp + 0xf0], xmm0
cmp edx, 2
mov ebp, ebx
jl 0x4e5ef8
mov ecx, dword [esp + ecx*4 + 0xf0]
test ecx, ecx
je 0x4e5ef8
movzx edx, byte [esp + 0xc]
shl edx, 0x10
mov esi, dword [esp + 4]
add edx, esi
add edx, 0x1000000
mov esi, dword [esp + 8]
xor edi, edi
cmp ecx, 8
jb 0x4e5ef0
mov edi, ecx
and edi, 0xfffffff8
movd xmm0, edx
pshufd xmm0, xmm0, 0
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
lea ebx, [esi + ebx*4]
xor ebp, ebp
nop word cs:[eax + eax]
movdqu xmmword [ebx + ebp*4 - 0x10], xmm0
movdqu xmmword [ebx + ebp*4], xmm0
add ebp, 8
cmp edi, ebp
jne 0x4e5ed0
cmp ecx, edi
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 8]
je 0x4e5ef8
nop
mov dword [esi + edi*4], edx
inc edi
cmp ecx, edi
jne 0x4e5ef0
cmp dword [esp + 0x10], eax
je 0x4e5d20
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x2c], ecx
lea eax, [esp + eax*2]
add eax, 0x5b8
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
lea eax, [eax + ecx*4]
mov dword [esp + 0x1c], eax
xor edx, edx
jmp 0x4e5f49
mov eax, dword [esp]
mov dword [esp + eax*4 + 0xf0], ebx
mov edx, dword [esp + 0x20]
inc edx
cmp edx, dword [esp + 0x2c]
je 0x4e5d20
mov ecx, dword [esp + 0x40]
movzx eax, byte [ecx + edx*2]
mov dword [esp + 0x20], edx
movzx esi, byte [ecx + edx*2 + 1]
mov edx, ebp
sub edx, esi
mov ecx, dword [esp + 0x14]
sub ecx, edx
mov ebx, 1
shl ebx, cl
mov dword [esp], esi
mov ecx, dword [esp + esi*4 + 0xf0]
add ebx, ecx
shl eax, 8
add edx, dword [esp + 0xc]
movzx esi, dl
shl esi, 0x10
or esi, eax
lea edx, [ecx + 1]
cmp ebx, edx
cmova edx, ebx
mov eax, dword [esp + 4]
lea edi, [eax + esi]
add edi, 0x2000000
sub edx, ecx
cmp edx, 8
jae 0x4e5fb0
mov eax, dword [esp + 8]
jmp 0x4e6000
mov eax, edx
and eax, 0xfffffff8
movd xmm0, edi
pshufd xmm0, xmm0, 0
mov esi, dword [esp + 0x1c]
lea ebp, [esi + ecx*4]
add ecx, eax
xor esi, esi
nop dword [eax]
movdqu xmmword [ebp + esi*4 - 0x10], xmm0
movdqu xmmword [ebp + esi*4], xmm0
add esi, 8
cmp eax, esi
jne 0x4e5fd0
cmp edx, eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 8]
je 0x4e5f30
nop word cs:[eax + eax]
mov dword [eax + ecx*4], edi
inc ecx
cmp ecx, ebx
jb 0x4e6000
jmp 0x4e5f30
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ebp, ebx
jmp 0x4e5d38
and edi, 0xfffffff8
movd xmm0, ecx
pshufd xmm0, xmm0, 0
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + ebp*4]
xor edx, edx
mov ebp, ebx
nop word cs:[eax + eax]
movdqu xmmword [ecx + edx*4 - 0x10], xmm0
movdqu xmmword [ecx + edx*4], xmm0
add edx, 8
cmp edi, edx
jne 0x4e6040
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
jmp 0x4e5d38
mov eax, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x44]
mov byte [eax], cl
mov byte [eax + 1], 1
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x4c]
mov byte [eax + 3], cl
mov esi, dword [esp + 0x50]
mov eax, esi
add esp, 0x8b8
pop esi
pop edi
pop ebx
pop ebp
ret