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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov edi, dword [edx + 0xb0]
cmp edi, 0x7ffffffe
jbe 0x1004629d
mov dword [esp + 0x18], ecx
mov ecx, 0x3e1ae20
mov edx, 6
call fcn.1001cfa0
test eax, eax
mov esi, 1
mov ecx, 0x3e1ae26
mov edx, 0x12
cmove eax, esi
mov dword [esp + 0xb0], eax
call fcn.1001cfa0
test eax, eax
lea edi, [0x3e1ade5]
mov ecx, 0xfffffff9
cmove eax, esi
lea esi, [0x3e1ade6]
xor ebx, ebx
mov dword [esp + 0x1c], eax
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [edi]
mov edi, esi
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x10046255
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x10046b8d
add dl, 0xa9
mov dh, dl
mov esi, eax
movzx edx, dh
shl esi, 4
or edx, esi
lea esi, [edi + 1]
test ecx, ecx
cmove esi, edi
je 0x10046274
shld ebx, eax, 4
inc ecx
test edi, edi
mov eax, edx
jne 0x10046230
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0x1c]
xor edx, 0xa8
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x10046ab0
lea ebx, [edi + 1]
lea esi, [edx + 0xb4]
lea eax, [edx + 0xb0]
mov dword [esp + 0xb0], edx
mov dword [edx + 0xb0], ebx
mov dword [esp + 0x64], esi
lea esi, [0x3e1ade5]
lea ebx, [0x3e1ade6]
mov edx, 0xfffffff9
mov dword [esp + 0x1c], eax
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, byte [esi]
mov esi, ebx
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x100462fb
or al, 0x20
add al, 0x9f
cmp al, 6
jae 0x10046b8d
lea ebx, [esi + 1]
test edx, edx
cmove ebx, esi
je 0x1004630a
inc edx
test esi, esi
jne 0x100462e0
mov eax, dword [esp + 0xb0]
cmp byte [eax + 0xdd], 2
jne 0x10046518
mov dword [eax + 0xb0], edi
mov dword [esp + 0x18], ecx
mov edx, dword [eax]
mov ecx, dword [edx + 0x14c]
test ecx, ecx
je 0x10046ba6
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 8]
lea eax, [ecx - 1]
add eax, esi
mov ebx, edi
adc ebx, 0
jb 0x10046ba6
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
sub eax, esi
sbb ebx, edi
mov dword [esp + 0x118], ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], edi
lea esi, [esp + 0x84]
mov edi, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 4
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov word [esp + 0x9c], 0
mov dword [esp + 0x74], 0xff
mov dword [esp + 0x78], 0x400
test edi, edi
je 0x1004652b
mov ecx, dword [esp + 0xc]
sub ecx, edi
jbe 0x1004657e
cmp eax, ecx
ja 0x1004657e
lea ecx, [esp + 0x34]
mov edx, 3
mov dword [esp + 0x7c], edi
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], 0
call fcn.1002d820
mov ebx, dword [esp + 0x34]
cmp al, 8
jne 0x100467bb
mov eax, dword [esp + 0x39]
movzx edx, byte [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test ebx, ebx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc3], ecx
je 0x100467f2
mov ecx, dword [esp + 0xc3]
mov eax, dword [esp + 0xc0]
lea edi, [esp + 0x108]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6d], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x6c], dl
lea ecx, [esp + 0x34]
lea edx, [esp + 0x74]
push eax
push dword [esp + 0x10]
push edi
call fcn.10041ac0
add esp, 0xc
cmp dword [esp + 0x34], 0
je 0x10046ab8
movzx eax, byte [esp + 0x3c]
movzx ecx, word [esp + 0x3d]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov edx, 4
mov dword [esp + 0xa0], eax
movzx eax, byte [esp + 0x3f]
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov ecx, 0x18
mov dword [esp + 0x14], eax
push dword [esp + 0x70]
call fcn.1001b720
add esp, 4
test eax, eax
je 0x100467fb
mov ecx, dword [0x3e1e000]
push edx
push eax
push dword [esp + 0x70]
push 0x3e1d260
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x100467fb
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x10046aaa
mov byte [esp + 0x9c], 1
mov dword [esp + 0x14], eax
mov ecx, 4
xor edx, edx
xor edi, edi
movsd xmm1, qword [esi + 8]
movsd xmm0, qword [esi]
movzx eax, byte [esi + 0x18]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esi + 0x10]
mov byte [esp + 0x60], al
movsd qword [esp + 0x48], xmm0
mov esi, 0xff
xor eax, eax
movsd qword [esp + 0x58], xmm1
cmp dl, 2
mov dword [esp + 0xc], edi
jne 0x10046883
jmp 0x100465c5
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
movq xmm2, qword [esi]
movsd xmm1, qword [esi + 8]
mov ecx, 4
mov esi, 0xff
xor edx, edx
mov byte [esp + 0x60], al
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm1
movq qword [esp + 0x48], xmm2
xor eax, eax
cmp dl, 2
mov dword [esp + 0xc], edi
jne 0x10046883
mov dword [esp + 0xa0], eax
movzx eax, al
shl ecx, 8
mov dword [esp + 0x2c], esi
xor ebx, ebx
lea edx, [0x3e1ade5]
lea edi, [0x3e1ade6]
xor esi, esi
or ecx, eax
mov eax, 0xfffffff9
mov dword [esp + 0x10], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ecx, byte [edx]
mov edx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x10046625
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x10046b8d
add cl, 0xa9
mov ch, cl
mov edi, ebx
movzx ecx, ch
shl edi, 4
or ecx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10046644
shld esi, ebx, 4
inc eax
test edx, edx
mov ebx, ecx
jne 0x10046600
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x10046656
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x10046673
mov eax, dword [esp + 0xa0]
xor ecx, 0xb9
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ecx
mov byte [esp + 0x24], al
mov dword [esp + 0x20], edx
xor edi, edi
lea edx, [0x3e1ade5]
lea ebx, [0x3e1ade6]
mov eax, 0xfffffff9
mov dword [esp + 0xb0], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x100466c5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x10046b8d
add cl, 0xa9
mov ch, cl
mov ebx, edi
movzx esi, ch
shl ebx, 4
or esi, ebx
lea ebx, [edx + 1]
test eax, eax
cmove ebx, edx
je 0x100466e9
shld dword [esp + 0xb0], edi, 4
inc eax
test edx, edx
mov edi, esi
jne 0x100466a0
xor esi, 0xba
xor ebx, ebx
cmp dword [esp + 0x20], 0
mov eax, 0x3e1aa8c
mov edi, 0x3e1aa96
mov ecx, 0x3e1aa9f
mov edx, 0xa
sete bl
cmove edi, eax
add ebx, 9
call fcn.1001cfa0
mov ecx, edi
mov edx, ebx
mov dword [esp + 0xb0], eax
call fcn.1001cfa0
movd xmm1, dword [esp + 0xb0]
movd xmm0, eax
pxor xmm2, xmm2
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov eax, dword [0x3e1e000]
lea ecx, [esp + 0x74]
punpckldq xmm1, xmm0
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
pcmpeqd xmm2, xmm1
movdqa xmm0, xmm2
psrld xmm2, 0x1f
pandn xmm0, xmm1
por xmm2, xmm0
movdqa xmmword [esp + 0xb0], xmm2
push 4
push 8
push 0x3e1d260
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x74], 0
je 0x10046798
lea ecx, [esp + 0x48]
call fcn.1004da70
xor eax, eax
jmp 0x100467a1
mov eax, dword [esp + 0x78]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x18]
movaps xmm0, xmmword [esp + 0xb0]
movlps qword [ecx], xmm0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
jmp 0x10046ab0
mov edx, 4
mov dword [esp + 0xa0], eax
mov ecx, 0x18
push dword [esp + 0x3c]
call fcn.1001b720
add esp, 4
test eax, eax
je 0x100467f9
mov ecx, dword [0x3e1e000]
push edx
push eax
push ebx
push 0x3e1d260
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x100467f9
mov dword [esp + 0xa0], edx
xor esi, esi
mov edx, 1
mov ecx, 1
push dword [esp + 0x8c]
call fcn.1001b720
add esp, 4
test eax, eax
je 0x10046832
mov ecx, dword [0x3e1e000]
push edx
push eax
push dword [esp + 0x8c]
push 0x3e1d260
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esp + 0x98]
call fcn.1001b720
add esp, 4
test eax, eax
je 0x10046869
mov ecx, dword [0x3e1e000]
push edx
push eax
push dword [esp + 0x98]
push 0x3e1d260
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x10]
mov dl, 2
cmp dl, 2
mov dword [esp + 0xc], edi
je 0x100465c5
movsd xmm1, qword [esp + 0x50]
mov dword [esp + 0x20], esi
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x60]
movsd xmm0, qword [esp + 0x48]
mov word [esp + 0x25], cx
shr ecx, 0x10
mov dword [esp + 0x28], edx
lea edx, [0x3e1ade6]
mov byte [esp + 0x27], cl
lea ecx, [0x3e1ade5]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [esp + 0x58]
mov byte [esp + 0xe0], al
mov eax, 0xfffffff9
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0xd8], xmm1
nop word cs:[eax + eax]
nop
movzx ebx, byte [ecx]
mov ecx, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1004690e
or bl, 0x20
add bl, 0x9f
cmp bl, 6
jae 0x10046b8d
lea edx, [ecx + 1]
test eax, eax
cmove edx, ecx
je 0x1004691d
inc eax
test ecx, ecx
jne 0x100468f0
movzx eax, byte [esp + 0xe0]
movsd xmm0, qword [esp + 0xd8]
movq xmm1, qword [esp + 0xc8]
movq xmm2, qword [esp + 0xd0]
mov ebx, dword [esp + 0x1c]
movsd xmm3, qword [esp + 0x20]
movq qword [esp + 0xe8], xmm1
movq qword [esp + 0xf0], xmm2
movsd qword [esp + 0xf8], xmm0
mov byte [esp + 0x100], al
cmp dword [ebx], 0
jne 0x10046bbf
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xc]
mov eax, 0xffffffff
mov dword [esi + 0xb0], 0xffffffff
cmp byte [esi + 0xdd], 2
je 0x10046a14
mov edx, 1
movaps xmmword [esp + 0xa0], xmm3
mov ecx, 1
push dword [esi + 0xcc]
call fcn.1001b720
add esp, 4
test eax, eax
je 0x100469d5
mov ecx, dword [0x3e1e000]
push edx
push eax
push dword [esi + 0xc4]
push 0x3e1d260
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esi + 0xd8]
call fcn.1001b720
add esp, 4
test eax, eax
je 0x10046a0a
mov ecx, dword [0x3e1e000]
push edx
push eax
push dword [esi + 0xd0]
push 0x3e1d260
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [ebx]
movaps xmm3, xmmword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
movlps qword [esi + 0xb4], xmm3
mov dword [esi + 0xbc], edi
movzx edi, word [esp + 0x32]
lea edx, [eax + 1]
cmp edx, 0x7fffffff
mov dword [esi + 0xc0], ecx
movsd xmm0, qword [esp + 0xe8]
movq xmm1, qword [esp + 0xf0]
movsd qword [esi + 0xc4], xmm0
movq qword [esi + 0xcc], xmm1
movsd xmm0, qword [esp + 0xf8]
movsd qword [esi + 0xd4], xmm0
movzx ecx, byte [esp + 0x100]
mov byte [esi + 0xdc], cl
mov ecx, dword [esp + 0x28]
mov byte [esi + 0xdd], cl
mov word [esi + 0xde], di
mov dword [esi + 0xb0], edx
jae 0x10046bd9
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
add eax, 2
mov dword [ebx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x9c], 1
mov edx, 4
mov ecx, 0x18
mov eax, dword [esp + 0x74]
movsd xmm0, qword [esi]
movzx ebx, byte [esp + 0x7b]
movsd xmm1, qword [esi + 8]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x78]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [esi + 0x10]
shl ebx, 0x10
movsd qword [esp + 0x50], xmm1
mov dword [esp + 0xa0], eax
movzx eax, word [esp + 0x79]
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x10], eax
movzx eax, byte [esi + 0x18]
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x9d]
mov dword [esp + 0x28], eax
movzx eax, word [esp + 0x9e]
mov word [esp + 0x32], ax
push dword [esp + 0x70]
call fcn.1001b720
add esp, 4
test eax, eax
je 0x10046b66
mov ecx, dword [0x3e1e000]
push edx
push eax
push dword [esp + 0x70]
push 0x3e1d260
call dword [ecx + 0x10]
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
or ecx, ebx
cmp dl, 2
mov dword [esp + 0xc], edi
je 0x100465c5
jmp 0x10046883
mov ecx, 0x3e1beb4
mov edx, 0xe
push 0x3e17700
call fcn.100194a0
add esp, 4
ud2
mov ecx, 0x3e1d3e4
mov edx, 0x2b
push 0x3e1ae7c
call fcn.100194a0
add esp, 4
ud2
lea eax, [esp + 0x74]
mov ecx, 0x3e1d334
mov edx, 0x10
push 0x3e1ae8c
push 0x3e1aeac
jmp 0x10046bf1
lea eax, [esp + 0x74]
mov ecx, 0x3e1ba43
mov edx, 0x18
push 0x3e1ae9c
push 0x3e1aebc
push eax
call fcn.10019cf0
add esp, 0xc
ud2