Function at 0x10046c00
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 0x10046c3e
jne 0x10046c3e
cmp eax, dword [ebp + 0xc]
jb 0x100470e1
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.10036f60
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 0x1004706e
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x1004709b
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 0x10046d40
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 0x10046d10
jmp 0x10046da0
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 0x100470b8
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 0x10046c5e
jmp 0x100471e4
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, [0x3e1af94]
lea eax, [0x3e1af93]
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 0x10046e15
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x100471cb
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 0x10046e36
shld dword [esp + 0x50], edi, 4
inc ecx
test eax, eax
mov edi, esi
jne 0x10046df0
cmp dword [esp + 0x8c], 0
jne 0x100470fa
movdqu xmm0, xmmword [esp + 0x1c]
pshufd xmm1, xmm0, 0x55
movd eax, xmm1
or eax, dword [esp + 0x1c]
jne 0x100470e1
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.10038800
add esp, 0x10
xor edx, edx
mov eax, 0xfffffff9
lea edi, [0x3e1af94]
lea ebx, [0x3e1af93]
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 0x10046ed5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x100471cb
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 0x10046ef6
shld dword [esp + 0x50], edx, 4
inc eax
test ebx, ebx
mov edx, esi
jne 0x10046eb0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10046f60
movsd xmm0, qword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [0x3e1e000]
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 0x3e1d260
lea ecx, [esp + 0x74]
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x68], 0
je 0x10046f70
lea ecx, [esp + 0x30]
call fcn.1004da70
xor eax, eax
jmp 0x10046f83
movzx ecx, byte [esp + 0x3c]
jmp 0x10046fa3
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 0x1004716f
test cl, cl
jne 0x10047145
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 0x100470e1
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 0x10046c20
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 0x10046dd1
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
jmp 0x10046dc9
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 0x10046dd1
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
jmp 0x100471c1
movsd xmm0, qword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [0x3e1e000]
xor esi, 0x5f
mov dword [esp + 0x68], ebx
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x6c], edi
push 4
push 8
push 0x3e1d260
lea ecx, [esp + 0x44]
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x38], 0
je 0x1004719e
lea ecx, [esp + 0x68]
call fcn.1004da70
xor eax, eax
jmp 0x100471a7
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 0x100471c1
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 0x100471bc
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, 0x3e1beb4
mov edx, 0xe
push 0x3e17700
call fcn.100194a0
add esp, 4
ud2
mov ecx, 0x3e1d3e4
mov edx, 0x2b
push 0x3e1aa3c
call fcn.100194a0
add esp, 4
ud2