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

Disassembly:
sub esp, 0x28c
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x288], eax
mov eax, dword [esp + 0x298]
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2a8]
mov ecx, dword [esp + 0x2a4]
mov dword [esp], eax
mov eax, dword [esp + 0x2b0]
push ebx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x2b8]
push ebp
mov ebp, dword [esp + 0x29c]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x2c4]
push esi
mov esi, dword [esp + 0x29c]
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x2bc]
lea eax, [esi + 0x3abf0]
mov dword [esp + 0x18], esi
mov dword [esp + 0x64], eax
mov eax, dword [eax + 0x3bb8]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edi
cmp byte [eax + 0x4d], dl
lea eax, [ebp + 0xe0]
mov dword [esp + 0x34], eax
movzx eax, byte [edi + 0x109bf494]
sete dl
mov dword [esp + 0x6c], eax
shr eax, 1
mov dword [esp + 0x30], eax
lea edx, [edx*2 + 1]
mov dword [esp + 0x50], edx
cmp edi, 3
jl 0x104564c1
movzx edx, byte [edi + 0x109bf464]
mov eax, ecx
and eax, 0x1f
dec edx
movsx ebx, dl
mov cl, bl
push edi
movsx eax, byte [eax + ebp + 0x115c]
push dword [esp + 0x14]
sar eax, cl
mov ecx, dword [esp + 0x18]
and eax, 1
push dword [esp + 0x28]
lea edx, [eax + edx*2]
mov eax, dword [ebp + 0x1158]
movsx eax, byte [eax + ecx]
mov cl, bl
sar eax, cl
and eax, 1
lea eax, [eax + edx*2]
mov dword [esp + 0x64], eax
lea eax, [esi + 0x3abf0]
push eax
call fcn.1045a0a0
add esp, 0x10
jmp 0x104564c7
xor eax, eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x28], al
push dword [esp + 0x28]
push edi
call fcn.1045a260
mov dword [esp + 0x34], eax
xor ebx, ebx
mov eax, dword [esp + 0x54]
add esp, 8
mov dword [esp + 0x70], ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x243d8], ebx
cmp dword [eax + 8], ebx
jne 0x10456536
lea eax, [ebp + 0x24994]
push eax
push edi
push esi
call fcn.10080be0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [ecx + 8], eax
test eax, eax
jne 0x10456534
push str.Failed_to_allocate_PICK_MODE_CONTEXT
push 2
push dword [ebp + 0x1ba4]
call fcn.1006e850
mov eax, dword [esp + 0x20]
add esp, 0xc
jmp 0x10456536
mov eax, ecx
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov dword [esp + 0x74], eax
cmp edx, dword [esi + 0x3add4]
jge 0x10457494
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x3add8]
jge 0x10457494
mov cl, byte [esp + 0x28]
or eax, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0xb4], eax
mov eax, closesocket
push dword [esp + 0x50]
mov dword [esp + 0x60], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xdc], htons
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0xe8], htons
mov byte [eax], cl
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x3ea14]
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0xf0], htons
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0xf4], 0xffffffff
mov dword [esp + 0xf8], htons
mov byte [esp + 0xfc], bl
mov dword [esp + 0xe0], ebx
mov dword [esp + 0x12c], htons
mov dword [esp + 0x134], 0xffffffff
mov dword [esp + 0x138], htons
mov dword [esp + 0x13c], 0xffffffff
mov dword [esp + 0x140], htons
mov dword [esp + 0x144], 0xffffffff
mov dword [esp + 0x148], htons
mov byte [esp + 0x14c], bl
mov dword [esp + 0x130], ebx
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
add eax, ecx
mov dword [ebp + 0x117c], eax
mov eax, edx
and eax, 0x1f
mov dword [esp + 0x3c], closesocket
add eax, 0x1184
mov dword [esp + 0x48], 0xffffffff
push edi
add eax, ebp
mov dword [esp + 0x50], closesocket
push ecx
mov dword [ebp + 0x1180], eax
lea eax, [esp + 0x15c]
push edx
push eax
push ebp
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0xac], 0xffffffff
mov byte [esp + 0xb4], bl
mov dword [esp + 0x98], ebx
call fcn.1009f980
add esp, 0x18
cmp edi, 6
jne 0x10456716
cmp dword [esi + 0x756c0], ebx
je 0x10456716
push edi
push dword [esp + 0x14]
push dword [esp + 0x28]
push ebp
push dword [esp + 0x34]
push esi
call fcn.10457520
push edi
push ebp
push esi
call fcn.1013c0e0
add esp, 0x24
mov dword [ebp + 0x31e0], eax
mov eax, dword [ebp + 0x31cc]
push 0
push 0
push edi
push dword [esp + 0x1c]
mov dword [esp + 0xe4], eax
push dword [esp + 0x30]
push ebp
push esi
call fcn.1045c9e0
movups xmm0, xmmword [esp + 0xa8]
add esp, 0x1c
movups xmm1, xmmword [esp + 0x7c]
cmp byte [esp + 0x28], bl
je 0x104568fc
cmp byte [esi + 0x5cd38], 2
jne 0x104568fc
mov eax, dword [esi + 0x5cd64]
test eax, eax
je 0x104568fc
cmp eax, 2
jg 0x104568fc
cmp edi, 9
jle 0x104567c0
cmp eax, 2
jne 0x104568fc
mov ecx, dword [esi + 0x3ac20]
lea edx, [esi + 0x3abf0]
cmp ecx, dword [edx + 0x34]
cmovge ecx, dword [edx + 0x34]
cmp ecx, 0x168
jl 0x104567b4
cmp dword [edx + 0x218], 0xbe
jle 0x104567b4
cmp edi, 0xc
jne 0x104567b4
lea eax, [edi - 0xb]
jmp 0x104567b6
xor eax, eax
test eax, eax
je 0x104568fc
jmp 0x104567c6
lea edx, [esi + 0x3abf0]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add eax, ecx
cmp eax, dword [edx + 0x1e4]
jge 0x104568fc
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
add eax, edx
cmp eax, dword [esi + 0x3add8]
jge 0x104568fc
mov eax, dword [esp + 0x4c]
sub esp, 0x28
mov eax, dword [eax]
mov dword [eax], edi
mov eax, dword [esp + 0x3c]
mov byte [eax], bl
mov eax, esp
push dword [esp + 0x9c]
mov dword [ebp + 0x243d8], 1
push edi
movups xmmword [eax], xmm1
push 0
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0xd0]
movq qword [eax + 0x20], xmm0
lea eax, [esp + 0x15c]
push eax
push edx
push ecx
push ebp
push dword [esp + 0x68]
push esi
call fcn.1045a8e0
mov edi, dword [esp + 0x174]
add esp, 0x4c
cmp edi, 0x7fffffff
jge 0x104568c5
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x134]
lea eax, [eax + eax*4]
add edi, dword [ebp + eax*8 + 0x31e8]
mov eax, edi
mov dword [esp + 0x128], edi
imul dword [ebp + 0x31cc]
mov esi, eax
mov eax, dword [esp + 0x130]
add esi, 0x100
adc edx, ebx
shld ecx, eax, 7
shrd esi, edx, 9
shl eax, 7
sar edx, 9
add esi, eax
mov dword [esp + 0x138], esi
adc edx, ecx
mov dword [esp + 0x13c], edx
cmp edi, 0x7fffffff
jge 0x104568c5
mov eax, 1
cmp byte [esp + 0x148], al
cmove ebx, eax
mov dword [esp + 0x70], ebx
push dword [esp + 0x50]
lea eax, [esp + 0x154]
push dword [esp + 0x20]
push dword [esp + 0x18]
push dword [esp + 0x2c]
push eax
push ebp
call fcn.1009f610
mov eax, dword [esp + 0x64]
add esp, 0x18
mov ecx, dword [esp + 0x78]
mov eax, dword [eax]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x28]
mov byte [eax], cl
mov eax, dword [esp + 0x14]
xor edi, edi
mov ebp, dword [esp + 0x2c]
add eax, 0x6c
mov ebx, dword [esp + 0x34]
mov esi, eax
mov dword [esp + 0x40], eax
push ebp
call fcn.10080bb0
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x10456937
push str.Failed_to_allocate_PC_TREE
push 2
push dword [ebx + 0x1ac4]
call fcn.1006e850
add esp, 0xc
mov eax, dword [esi]
add esi, 4
mov dword [eax + 0x7c], edi
inc edi
cmp edi, 4
jl 0x10456913
movzx ecx, byte [esp + 0x28]
mov ebp, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x3c], ecx
cmp ecx, 3
ja case.default.0x1045695f
jmp dword [ecx*4 + 0x104574b0]
movups xmm0, xmmword [esp + 0x7c]
mov edi, dword [esp + 0x1c]
sub esp, 0x28
mov eax, esp
mov ebx, dword [esp + 0x40]
push dword [esp + 0x9c]
movups xmmword [eax], xmm0
push edi
movups xmm0, xmmword [esp + 0xbc]
push 0
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0xd0]
movq qword [eax + 0x20], xmm0
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x48]
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x68]
push ebx
call fcn.1045a8e0
add esp, 0x4c
jmp 0x10456ec1
test ebx, ebx
jne 0x10456d32
mov esi, dword [esp + 0x14]
lea ebx, [ebp + 0x24994]
mov ebp, dword [esp + 0x18]
add esi, 0xc
mov edi, 2
push ebx
push dword [esp + 0x30]
push ebp
call fcn.10080be0
add esp, 0xc
mov dword [esi], eax
test eax, eax
jne 0x10456a0d
mov eax, dword [esp + 0x34]
push str.Failed_to_allocate_PICK_MODE_CONTEXT
push 2
push dword [eax + 0x1ac4]
call fcn.1006e850
add esp, 0xc
add esi, 4
sub edi, 1
jne 0x104569e0
movups xmm0, xmmword [esp + 0x7c]
sub esp, 0x28
mov ebp, dword [esp + 0x90]
mov eax, esp
mov ebx, dword [esp + 0x40]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 0x20], xmm0
mov eax, dword [esp + 0x3c]
push dword [eax + 0xc]
lea eax, [esp + 0x104]
push dword [esp + 0x58]
push 1
push eax
push dword [esp + 0x48]
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x68]
push ebx
call fcn.1045a8e0
mov edi, dword [esp + 0x68]
add esp, 0x4c
cmp dword [esp + 0xd8], 0x7fffffff
je 0x10456ec1
cmp edi, 3
jl 0x10456ec1
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add esi, ecx
cmp esi, dword [ebx + 0x3add4]
jge 0x10456ec1
lea eax, [esp + 0x100]
push eax
call fcn.10454770
mov eax, dword [esp + 0x18]
push 1
push dword [esp + 0x34]
push dword [esp + 0x1c]
push ecx
push dword [eax + 0xc]
push ebp
push ebx
call fcn.100a0bf0
push 0
push dword [esp + 0x50]
push 1
push dword [esp + 0x80]
push ebp
push dword [esp + 0x58]
push ebx
call fcn.10459180
movups xmm0, xmmword [esp + 0xb8]
add esp, 0x14
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 0x20], xmm0
mov eax, dword [esp + 0x3c]
push dword [eax + 0x10]
lea eax, [esp + 0x12c]
push dword [esp + 0x58]
push 1
push eax
push dword [esp + 0x48]
push esi
push ebp
push dword [esp + 0x68]
push ebx
call fcn.1045a8e0
mov edx, dword [esp + 0x14c]
add esp, 0x4c
cmp edx, 0x7fffffff
je 0x10456b97
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x10c]
cmp ecx, 0xffffffff
jne 0x10456b61
cmp eax, 0x7fffffff
je 0x10456b97
add dword [esp + 0xd8], edx
add dword [esp + 0xe0], ecx
adc dword [esp + 0xe4], eax
mov eax, dword [esp + 0x110]
add dword [esp + 0xe8], eax
mov eax, dword [esp + 0x114]
adc dword [esp + 0xec], eax
jmp 0x10456ec1
lea eax, [esp + 0xd8]
push eax
call fcn.10220540
add esp, 4
jmp 0x10456ec1
test ebx, ebx
jne 0x10456d32
mov esi, dword [esp + 0x14]
lea ebx, [ebp + 0x24994]
mov ebp, dword [esp + 0x18]
add esi, 0x14
mov edi, 2
nop word [eax + eax]
push ebx
push dword [esp + 0x30]
push ebp
call fcn.10080be0
add esp, 0xc
mov dword [esi], eax
test eax, eax
jne 0x10456bfd
mov eax, dword [esp + 0x34]
push str.Failed_to_allocate_PICK_MODE_CONTEXT
push 2
push dword [eax + 0x1ac4]
call fcn.1006e850
add esp, 0xc
add esi, 4
sub edi, 1
jne 0x10456bd0
movups xmm0, xmmword [esp + 0x7c]
sub esp, 0x28
mov ebp, dword [esp + 0x90]
mov eax, esp
mov ebx, dword [esp + 0x40]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 0x20], xmm0
mov eax, dword [esp + 0x3c]
push dword [eax + 0x14]
lea eax, [esp + 0x104]
push dword [esp + 0x58]
push 2
push eax
push dword [esp + 0x48]
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x68]
push ebx
call fcn.1045a8e0
mov edi, dword [esp + 0x68]
add esp, 0x4c
cmp dword [esp + 0xd8], 0x7fffffff
je 0x10456ec1
cmp edi, 3
jl 0x10456ec1
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
add esi, ecx
cmp esi, dword [ebx + 0x3add8]
jge 0x10456ec1
lea eax, [esp + 0x100]
push eax
call fcn.10454770
mov eax, dword [esp + 0x18]
push 1
push dword [esp + 0x34]
push ecx
push dword [esp + 0x30]
push dword [eax + 0x14]
push ebp
push ebx
call fcn.100a0bf0
push 0
push dword [esp + 0x50]
push 1
push dword [esp + 0x80]
push ebp
push dword [esp + 0x58]
push ebx
call fcn.10459180
movups xmm0, xmmword [esp + 0xb8]
mov ecx, dword [esp + 0x50]
add esp, 0x14
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 0x20], xmm0
xor eax, eax
cmp edi, 3
setg al
lea eax, [eax*4 + 0x14]
push dword [eax + ecx]
lea eax, [esp + 0x12c]
push dword [esp + 0x58]
push 2
push eax
push esi
push dword [esp + 0x5c]
jmp 0x10456b2a
test ebx, ebx
je 0x10456d4f
lea eax, [esp + 0xd8]
push eax
call fcn.10220540
add esp, 4
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x10456ec5
mov ecx, dword [esp + 0x40]
xorps xmm0, xmm0
mov edi, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0xd8], 0
movlpd qword [esp + 0xe0], xmm0
movlpd qword [esp + 0xe8], xmm0
mov dword [esp + 0x34], ecx
nop dword [eax]
mov ebx, dword [esp + 0x20]
mov edx, esi
sar edx, 1
mov ecx, esi
mov eax, edx
and ecx, 1
imul eax, edi
add ebx, eax
mov eax, dword [esp + 0x64]
cmp ebx, dword [eax + 0x1e4]
jge 0x10456e98
mov eax, ecx
imul eax, edi
mov edi, dword [esp + 0x10]
add edi, eax
mov eax, dword [esp + 0x64]
cmp edi, dword [eax + 0x1e8]
jge 0x10456e94
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
mov dword [esp + 0x100], 0
movlpd qword [esp + 0x108], xmm0
movlpd qword [esp + 0x110], xmm0
push dword [eax]
xor eax, eax
movlpd qword [esp + 0x11c], xmm0
cmp esi, 3
mov byte [esp + 0x124], 1
mov dword [esp + 0x108], 0
setne al
push eax
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x10c]
push eax
mov eax, dword [esp + 0x74]
push dword [esp + 0x3c]
push edi
mov eax, dword [eax + 0x204]
mov edi, dword [esp + 0x48]
imul eax, edx
push ebx
push dword [esp + 0x70]
mov ebx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x6c]
imul eax, edi
lea eax, [ecx + eax*4]
push eax
push dword [esp + 0x48]
push ebp
push ebx
call fcn.10456390
mov edx, dword [esp + 0x130]
add esp, 0x30
cmp edx, 0x7fffffff
je 0x10456ead
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x10c]
cmp ecx, 0xffffffff
jne 0x10456e7d
cmp eax, 0x7fffffff
je 0x10456ead
add dword [esp + 0xd8], edx
add dword [esp + 0xe0], ecx
adc dword [esp + 0xe4], eax
jmp 0x10456e9c
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
add dword [esp + 0x34], 4
inc esi
cmp esi, 4
jl 0x10456d80
jmp 0x10456ebd
lea eax, [esp + 0xd8]
push eax
call fcn.10220540
add esp, 4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0xd8], 0x7fffffff
jge 0x10456f30
mov eax, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0xd8]
add eax, dword [ebp + ecx*4 + 0x31e8]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xd8], eax
imul dword [ebp + 0x31cc]
mov esi, eax
mov eax, dword [esp + 0xe0]
add esi, 0x100
adc edx, 0
shld ecx, eax, 7
shrd esi, edx, 9
shl eax, 7
sar edx, 9
add esi, eax
mov dword [esp + 0xe8], esi
adc edx, ecx
mov dword [esp + 0xec], edx
cmp byte [ebx + 0x5cd38], 2
mov cl, byte [esp + 0x28]
jne 0x104572b1
cmp dword [ebx + 0x5cd64], 2
jle 0x104572b1
cmp cl, 3
je 0x104572b1
cmp edi, 3
jle 0x104572b1
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x20]
add eax, esi
mov ecx, dword [ebx + 0x3add4]
cmp eax, ecx
jl 0x10456f82
mov eax, dword [esp + 0x30]
add eax, esi
cmp eax, ecx
jne 0x104572ad
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
add eax, edx
mov ecx, dword [ebx + 0x3add8]
cmp eax, ecx
jl 0x10456fa4
mov eax, dword [esp + 0x30]
add eax, edx
cmp eax, ecx
jne 0x104572ad
push 3
push edi
call fcn.1045a260
push dword [esp + 0x58]
mov dword [esp + 0x40], eax
xorps xmm0, xmm0
push edi
push dword [esp + 0x20]
xor eax, eax
movlpd qword [esp + 0xc0], xmm0
mov dword [esp + 0x4c], eax
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x164]
push esi
push eax
push ebp
call fcn.1009f610
mov eax, dword [esp + 0x34]
add esp, 0x20
mov ecx, dword [esp + 0x20]
xor esi, esi
mov edx, dword [esp + 0x30]
mov byte [eax], 3
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x64]
mov ebx, esi
sar ebx, 1
imul ebx, edx
add ebx, ecx
cmp ebx, dword [eax + 0x1e4]
jge 0x104571d3
mov edi, esi
and edi, 1
imul edi, edx
mov edx, dword [esp + 0x10]
add edi, edx
cmp edi, dword [eax + 0x1e8]
jge 0x104571d9
push dword [esp + 0x50]
lea eax, [esp + 0x154]
push dword [esp + 0x20]
push edx
push ecx
push eax
push ebp
call fcn.1009f980
mov ecx, dword [esp + 0x58]
add esp, 0x18
mov eax, dword [ecx]
mov byte [eax], 0
mov eax, dword [ecx]
cmp dword [eax + 8], 0
jne 0x10457093
lea eax, [ebp + 0x24994]
push eax
push dword [esp + 0x38]
push dword [esp + 0x20]
call fcn.10080be0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [ecx]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
cmp dword [eax + 8], 0
jne 0x104570b4
push str.Failed_to_allocate_PICK_MODE_CONTEXT
push 2
push dword [ebp + 0x1ba4]
call fcn.1006e850
mov ecx, dword [esp + 0x4c]
add esp, 0xc
movups xmm0, xmmword [esp + 0x7c]
sub esp, 0x28
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 0x20], xmm0
mov eax, dword [ecx]
push dword [eax + 8]
lea eax, [esp + 0x12c]
push dword [esp + 0x60]
push 3
push eax
push edi
push ebx
push ebp
push dword [esp + 0x68]
push dword [esp + 0x60]
call fcn.1045a8e0
push dword [esp + 0x9c]
lea eax, [esp + 0x1a0]
push dword [esp + 0x6c]
push dword [esp + 0x64]
push dword [esp + 0x78]
push eax
push ebp
call fcn.1009f610
mov edx, dword [esp + 0x164]
add esp, 0x64
cmp edx, 0x7fffffff
je 0x10457253
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x10c]
cmp ecx, 0xffffffff
jne 0x10457153
cmp eax, 0x7fffffff
je 0x10457253
add edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
add ebp, ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x48]
adc ecx, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov dword [esp + 0xb0], ecx
cmp esi, 3
je 0x104571b2
mov ecx, dword [esp + 0x40]
push 0
push dword [ecx]
push dword [esp + 0x3c]
push 0
push edi
push ebx
push dword [esp + 0x6c]
push dword [esp + 0x40]
push ebp
push dword [esp + 0x3c]
call fcn.10458a90
mov edx, dword [esp + 0x94]
add esp, 0x28
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
mov ebx, dword [ebp + eax*8 + 0x31e8]
add ebx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0xa4], ebx
jmp 0x104571dd
mov ebx, dword [esp + 0x38]
jmp 0x104571e1
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add dword [esp + 0x40], 4
inc esi
cmp esi, 4
jl 0x10457010
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
cmp ebx, 0x7fffffff
jge 0x1045729f
mov eax, dword [esp + 0x58]
lea eax, [eax + eax*4]
add ebx, dword [ebp + eax*8 + 0x31f4]
mov eax, ebx
mov dword [esp + 0x38], ebx
imul dword [ebp + 0x31cc]
mov edi, eax
mov ebx, edx
add edi, 0x100
mov eax, ecx
mov ecx, esi
adc ebx, 0
shld ecx, eax, 7
shrd edi, ebx, 9
shl eax, 7
sar ebx, 9
add edi, eax
mov dword [esp + 0x60], edi
adc ebx, ecx
mov cl, byte [esp + 0x28]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x18]
jmp 0x104572b4
lea eax, [esp + 0xa4]
push eax
call fcn.10220540
mov eax, dword [esp + 0xbc]
add esp, 4
mov esi, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], ebx
jmp 0x104571f8
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x60]
mov cl, byte [esp + 0x28]
jmp 0x104572b4
mov cl, byte [esp + 0x28]
or edi, 0xffffffff
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0xec], eax
jg 0x1045735a
jl 0x104572d4
cmp dword [esp + 0xe8], edi
jae 0x1045735a
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 3
jl 0x104572ef
mov eax, dword [esp + 0x14]
mov byte [eax], cl
movups xmm0, xmmword [esp + 0xd8]
movups xmmword [esp + 0xa4], xmm0
movups xmm0, xmmword [esp + 0xe8]
movups xmmword [esp + 0xb4], xmm0
mov eax, dword [esp + 0xb8]
movq xmm0, qword [esp + 0xf8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa4]
movq qword [esp + 0xc4], xmm0
mov dword [esp + 0x38], eax
jmp 0x1045735e
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x13c]
cmp esi, 0x7fffffff
jg 0x10457407
mov edx, dword [esp + 0x138]
jl 0x10457383
cmp edx, 0xffffffff
jae 0x10457407
mov eax, edx
mov ecx, esi
shrd eax, ecx, 9
sar ecx, 9
sub edx, eax
sbb esi, ecx
cmp esi, dword [esp + 0x5c]
jg 0x10457407
jl 0x104573a0
cmp edx, dword [esp + 0x60]
jae 0x10457407
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [eax], edi
cmp edi, 3
jl 0x104573b4
mov eax, dword [esp + 0x14]
mov byte [eax], 0
movups xmm0, xmmword [esp + 0x128]
movups xmmword [esp + 0xa4], xmm0
mov eax, dword [esp + 0xb0]
movups xmm0, xmmword [esp + 0x138]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xac]
movups xmmword [esp + 0xb4], xmm0
mov dword [esp + 0x44], eax
movq xmm0, qword [esp + 0x148]
mov eax, dword [esp + 0xa4]
movq qword [esp + 0xc4], xmm0
mov dword [esp + 0x38], eax
push dword [esp + 0x50]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x154]
push edi
push dword [esp + 0x18]
push esi
push eax
push ebp
call fcn.1009f610
add esp, 0x18
cmp dword [esp + 0x2c8], 0
je 0x10457466
mov eax, dword [ebx + 0x3e7a8]
push 0
push dword [esp + 0x18]
push edi
cmp edi, dword [eax + 0x1c]
jne 0x1045744d
xor eax, eax
mov dword [ebp + 0x3184], eax
push eax
jmp 0x1045744f
push 1
push dword [esp + 0x20]
push esi
push dword [esp + 0x6c]
push dword [esp + 0x40]
push ebp
push ebx
call fcn.10458a90
add esp, 0x28
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [ebp + 0x31cc], eax
mov ecx, dword [esp + 0x298]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x28c
ret