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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
lea eax, [edx + 0x11]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
nop
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
sub eax, dword [edx]
sbb ecx, dword [edx + 4]
add eax, 1
adc ecx, 0
jb 0x10049dee
jne 0x10049dee
cmp eax, dword [ebp + 0xc]
jb 0x1004a291
movdqu xmm0, xmmword [edx]
pshufd xmm1, xmm0, 0xff
pshufd xmm2, xmm0, 0xee
movd dword [esp + 0x84], xmm1
movd dword [esp + 0x80], xmm2
pshufd xmm3, xmm0, 0xee
pshufd xmm1, xmm0, 0x55
pshufd xmm2, xmm0, 0xff
movd esi, xmm0
movd ebx, xmm3
movd ecx, xmm2
movd edi, xmm1
mov eax, ebx
mov dword [esp + 0x88], ecx
sub eax, esi
sbb ecx, edi
add eax, 1
adc ecx, 0
setb dl
neg ecx
mov ecx, 0
sbb ecx, ecx
or ecx, eax
mov eax, 0xffffffff
test dl, dl
cmovne ecx, eax
sub esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x44]
movd dword [esp + 4], xmm1
movd dword [esp], xmm0
call fcn.100230a0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x8c], eax
jne 0x1004a21e
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x1004a24b
mov eax, ecx
mov esi, 0xffffffff
mov dword [esp + 0x64], edi
neg eax
mov dword [esp + 0x50], eax
nop word cs:[eax + eax]
nop
mov eax, dword [esp + 0x50]
lea edi, [eax + esi]
cmp edi, 0xffffffff
je 0x10049ef0
mov edi, dword [ebp + 8]
mov edx, ecx
mov ecx, ebx
mov eax, dword [esp + 0xc]
movzx ebx, byte [edi]
lea edi, [esi + 1]
cmp bl, byte [eax + esi + 1]
mov ebx, ecx
mov ecx, edx
mov esi, edi
jne 0x10049ec0
jmp 0x10049f50
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 1]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x88]
add eax, esi
mov edx, edi
adc edx, 0
xor eax, ebx
xor edx, ecx
or edx, eax
je 0x1004a268
add esi, dword [esp + 0x50]
mov eax, ecx
adc edi, 0
mov dword [esp + 0x38], esi
cmp ebx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ecx
sbb eax, edi
movdqu xmm0, xmmword [esp + 0x38]
jae 0x10049e0e
jmp 0x1004a394
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
add eax, edi
adc ecx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], 0
xor edi, edi
mov ecx, 0xfffffff9
lea ebx, [0x310deae]
lea eax, [0x310dead]
mov dword [esp + 0x50], 0
nop dword [eax]
movzx edx, byte [eax]
mov eax, ebx
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x10049fc5
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x1004a37b
add dl, 0xa9
mov dh, dl
mov ebx, edi
movzx esi, dh
shl ebx, 4
or esi, ebx
lea ebx, [eax + 1]
test ecx, ecx
cmove ebx, eax
je 0x10049fe6
shld dword [esp + 0x50], edi, 4
inc ecx
test eax, eax
mov edi, esi
jne 0x10049fa0
cmp dword [esp + 0x8c], 0
jne 0x1004a2aa
movdqu xmm0, xmmword [esp + 0x1c]
pshufd xmm1, xmm0, 0x55
movd eax, xmm1
or eax, dword [esp + 0x1c]
jne 0x1004a291
mov edx, dword [ebp + 0x10]
pshufd xmm1, xmm0, 0xff
pshufd xmm0, xmm0, 0xee
lea ecx, [esp + 0x38]
movd eax, xmm1
movd esi, xmm0
push dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [esp + 0x14], eax
push eax
mov dword [esp + 0x1c], esi
push esi
call fcn.10024e30
add esp, 0x10
xor edx, edx
mov eax, 0xfffffff9
lea edi, [0x310deae]
lea ebx, [0x310dead]
mov dword [esp + 0x50], 0
nop dword [eax]
movzx ecx, byte [ebx]
mov ebx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1004a085
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1004a37b
add cl, 0xa9
mov ch, cl
mov edi, edx
movzx esi, ch
shl edi, 4
or esi, edi
lea edi, [ebx + 1]
test eax, eax
cmove edi, ebx
je 0x1004a0a6
shld dword [esp + 0x50], edx, 4
inc eax
test ebx, ebx
mov edx, esi
jne 0x1004a060
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004a110
movsd xmm0, qword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [0x3111000]
movsd qword [esp + 0x1c], xmm0
shufps xmm0, xmm0, 0x55
movss dword [esp + 0x30], xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x34], edi
push 4
push 8
push 0x310fe14
lea ecx, [esp + 0x74]
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x68], 0
je 0x1004a120
lea ecx, [esp + 0x30]
call fcn.10053410
xor eax, eax
jmp 0x1004a133
movzx ecx, byte [esp + 0x3c]
jmp 0x1004a153
movdqa xmm0, xmmword [esp + 0x50]
mov eax, dword [esp + 0x6c]
movd ecx, xmm0
mov dword [eax], ecx
mov dword [eax + 4], edi
movq xmm0, qword [esp + 0x18]
movd edx, xmm0
pextrw ecx, xmm0, 2
movq qword [esp + 0x90], xmm0
test edx, edx
jne 0x1004a31f
test cl, cl
jne 0x1004a2f5
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x84]
mov ecx, 1
mov byte [esp + 0x48], 2
add edx, 1
mov eax, edi
adc ebx, 0
or eax, esi
mov eax, 0
cmove edx, ecx
cmove ebx, eax
sub edi, 1
lea ecx, [esp + 0x38]
sbb esi, 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
cmovb esi, eax
cmovb edi, eax
cmp edi, edx
mov eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov byte [esp + 0x28], 0
sbb eax, ebx
lea eax, [esp + 0x18]
cmovb eax, ecx
mov ecx, dword [eax + 0x11]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x33], eax
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x70], xmm1
jb 0x1004a291
movq xmm0, qword [esp + 0x68]
mov edx, dword [esp + 0x7c]
movq xmm1, qword [esp + 0x70]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x33]
mov esi, dword [esp + 0x78]
movq qword [edx + 8], xmm1
movq qword [edx], xmm0
mov byte [edx + 0x10], 0
mov dword [esi + 3], ecx
mov dword [esi], eax
jmp 0x10049dd0
movsd xmm0, qword [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
movsd qword [esp + 0x20], xmm0
movss dword [esp + 0xc], xmm0
shufps xmm0, xmm0, 0x55
movss dword [esp + 0x10], xmm0
jmp 0x10049f81
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
jmp 0x10049f79
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
jmp 0x10049f81
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
jmp 0x1004a371
movsd xmm0, qword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [0x3111000]
xor esi, 0x5f
mov dword [esp + 0x68], ebx
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x6c], edi
push 4
push 8
push 0x310fe14
lea ecx, [esp + 0x44]
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x38], 0
je 0x1004a34e
lea ecx, [esp + 0x68]
call fcn.10053410
xor eax, eax
jmp 0x1004a357
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 1
adc eax, 0
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
xor eax, eax
jmp 0x1004a371
movzx edi, word [esp + 0x95]
mov ebx, dword [esp + 0x14]
xor esi, 0x61
mov word [ebx + 9], di
mov edi, ebx
mov bh, byte [esp + 0x97]
mov byte [edi + 0xb], bh
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], eax
mov dword [edi + 4], edx
mov byte [edi + 8], cl
mov ecx, edi
jmp 0x1004a36c
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov dword [eax + 4], edi
mov ecx, dword [esp + 0x14]
movdqa xmm0, xmmword [esp + 0x50]
movq qword [ecx + 4], xmm0
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], eax
mov eax, 1
mov dword [ecx], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x310ed88
mov edx, 0xe
push 0x31099dc
call fcn.10009910
add esp, 4
ud2
mov ecx, 0x310ff98
mov edx, 0x2b
push 0x310d568
call fcn.10009910
add esp, 4
ud2