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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x5153d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x6e84cc]
mov dword [ebp - 0x90], ecx
push ebx
push esi
push edi
test ax, ax
jns 0x434013
mov ecx, dword [0x6e85a4]
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x74]
call fcn.004232d0
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x8c]
mov edi, dword [ebp - 0x74]
sar ecx, 1
cmp eax, ecx
mov ecx, dword [0x6e85a4]
lea eax, [ebp - 0x60]
cmovg edi, dword [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], edi
call fcn.004232d0
mov dword [ebp - 0x64], eax
add esp, 8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x5c], eax
jmp 0x4340a6
mov edx, dword [0x6e84ec]
cwde
sub eax, 0
je 0x434068
sub eax, 1
je 0x434053
sub eax, 1
je 0x43403e
and edx, 0x400
neg edx
sbb edx, edx
and edx, 0xa8
sub edx, 0xffffff80
jmp 0x43407b
and edx, 0x400
neg edx
sbb edx, edx
and edx, 0xa7
add edx, 0x7e
jmp 0x43407b
and edx, 0x400
neg edx
sbb edx, edx
and edx, 0xa8
add edx, 0x7f
jmp 0x43407b
and edx, 0x400
neg edx
sbb edx, edx
and edx, 0xa9
add edx, 0x7d
mov ebx, dword [0x6e0d84]
movsx eax, word [0x6e84ca]
shl edx, 5
mov dword [ebp - 0x64], 0
movsx ecx, byte [edx + ebx + 5]
imul ecx, eax
mov eax, dword [edx + ebx]
lea edi, [eax + ecx*2]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x5c], edi
mov ecx, dword [0x6e85a4]
mov ebx, dword [0x54d9a8]
add ebx, 0x30
mov dword [ebp - 0x6c], ebx
mov dword [0x54d9a8], ebx
mov dword [ebx], 0x4000
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x4000
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0x4000
mov esi, dword [ecx + 0x48]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x40]
shl eax, 0xe
shl edx, 0xe
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x1c], edx
shl esi, 0xe
mov dword [ebx + 0x2c], esi
movzx eax, word [ecx + 0x50]
mov dx, word [ecx + 0x4c]
mov cx, word [ecx + 0x4e]
push eax
call fcn.00401420
mov ecx, dword [ebp - 0x64]
add esp, 4
test ecx, ecx
je 0x434852
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x60]
movups xmm0, xmmword [ebx]
mov dword [0x6e1b94], eax
mov eax, dword [ebp - 0x5c]
add eax, 0x12
mov dword [0x6e1b90], ecx
mov ecx, dword [0x6e0d90]
movups xmmword [0x6e0f90], xmm0
mov dword [ebp - 0x74], eax
lea eax, [edx + 0x12]
movups xmm0, xmmword [ebx + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [0x6e8c2c]
movups xmmword [0x6e0fa0], xmm0
mov dword [0x6e1b98], 0x6e0f90
movups xmm0, xmmword [ebx + 0x20]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
movups xmmword [0x6e0fb0], xmm0
movsx ebx, word [edx + 0x10]
movsx eax, word [ecx + 0x10]
movsx edi, word [edx + 0xe]
movsx esi, word [edx + 0xc]
movsx edx, word [ecx + 0xe]
movsx ecx, word [ecx + 0xc]
push eax
call fcn.00401870
push ebx
mov edx, edi
mov dword [0x54d9a8], 0x6e0f90
mov ecx, esi
call fcn.00401870
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x74]
xor edx, edx
mov dword [0x54d9a8], eax
call fcn.004230a0
mov ebx, dword [0x54d9a8]
lea ecx, [ebp - 0x70]
mov eax, dword [0x6e1b98]
xor edx, edx
mov dword [ebp - 0x64], ebx
mov dword [0x54d9a8], eax
call fcn.004230a0
movups xmm0, xmmword [ebx]
lea eax, [ebx + 0x30]
mov dword [0x54d9a8], eax
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [eax + 0x20], xmm0
mov eax, dword [0x6e1b98]
lea ecx, [eax + 0x30]
mov dword [ebp - 0x5c], ecx
mov dword [0x6e1b98], ecx
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x6e8506]
mov dword [ebp - 0x60], eax
movsx ebx, word [eax + 4]
movsx edi, word [eax + 2]
movsx esi, word [eax]
mov edx, edi
push ebx
mov ecx, esi
call fcn.00401870
mov ecx, dword [ebp - 0x5c]
mov edx, edi
mov dword [0x54d9a8], ecx
mov ecx, esi
push ebx
call fcn.00401870
mov ebx, dword [ebp - 0x64]
lea eax, [ebx + 0x30]
mov dword [0x54d9a8], eax
call fcn.00423130
mov eax, dword [ebx + 0x3c]
sar eax, 0xe
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x4c]
sar eax, 0xe
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x5c]
sar eax, 0xe
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [0x54d9a8], ebx
movsx eax, word [eax + 6]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
add eax, 0xffffffd0
mov dword [0x6e1b98], eax
mov eax, dword [ebp - 0x68]
mov esi, dword [eax + 0x6c]
mov edi, dword [eax + 0x68]
mov edx, edi
mov ebx, dword [eax + 0x64]
mov ecx, ebx
push esi
call fcn.00401870
mov eax, dword [ebp - 0x5c]
mov edx, edi
add eax, 0xffffffd0
mov ecx, ebx
push esi
mov dword [0x54d9a8], eax
call fcn.00401870
mov eax, dword [ebp - 0x64]
add esp, 0x18
mov dword [0x54d9a8], eax
mov ax, word [0x6e84e2]
cmp ax, 0xffff
je 0x434365
cmp word [0x6e84bc], 5
jne 0x434365
cwde
imul ecx, eax, 0x84
mov eax, dword [0x6e0d88]
movzx eax, word [ecx + eax + 0xe]
test ax, ax
je 0x434322
cmp ax, 2
je 0x434322
cmp ax, 4
jne 0x434365
movsx ecx, word [0x6e8572]
mov edx, 7
mov eax, dword [0x6e0d84]
shl ecx, 5
movsx ecx, byte [ecx + eax + 5]
movsx eax, word [0x6e8570]
imul ecx, eax
mov eax, dword [0x6e856c]
lea eax, [eax + ecx*2]
add eax, 0x12
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
call fcn.004230a0
mov edx, 7
jmp 0x434377
mov edx, 6
lea ecx, [ebp - 0x74]
call fcn.004230a0
mov edx, 6
mov esi, dword [0x54d9a8]
lea ecx, [ebp - 0x70]
mov eax, dword [0x6e1b98]
mov dword [0x54d9a8], eax
mov dword [ebp - 0x58], esi
call fcn.004230a0
movzx edi, word [0x6e8556]
movzx ebx, word [0x6e8554]
mov edx, edi
mov dword [0x54d9a8], esi
mov ecx, ebx
movzx esi, word [0x6e8558]
push esi
call fcn.00401420
mov eax, dword [0x6e1b98]
mov edx, edi
push esi
mov ecx, ebx
mov dword [0x54d9a8], eax
call fcn.00401420
mov ecx, dword [ebp - 0x58]
lea eax, [ecx + 0x30]
mov dword [0x54d9a8], eax
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
mov eax, dword [0x6e1b98]
lea ecx, [eax + 0x30]
mov dword [ebp - 0x5c], ecx
mov dword [0x6e1b98], ecx
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x6e8522]
mov dword [ebp - 0x60], eax
movsx ebx, word [eax + 4]
movsx edi, word [eax + 2]
movsx esi, word [eax]
mov edx, edi
push ebx
mov ecx, esi
call fcn.00401870
mov ecx, dword [ebp - 0x5c]
mov edx, edi
mov dword [0x54d9a8], ecx
mov ecx, esi
push ebx
call fcn.00401870
mov ebx, dword [ebp - 0x58]
lea eax, [ebx + 0x30]
mov dword [0x54d9a8], eax
call fcn.00423130
mov eax, dword [ebx + 0x3c]
movups xmm0, xmmword [ebx]
sar eax, 0xe
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0x5c]
sar eax, 0xe
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x5c]
sar eax, 0xe
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
movsx eax, word [eax + 6]
movups xmmword [ebx + 0x30], xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebx + 0x30]
movups xmm0, xmmword [ebx + 0x10]
mov dword [0x54d9a8], eax
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [eax + 0x20], xmm0
mov eax, ecx
movups xmm0, xmmword [ecx - 0x30]
movups xmmword [eax], xmm0
mov dword [0x6e1b98], eax
movups xmm0, xmmword [ecx - 0x20]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx - 0x10]
movups xmmword [eax + 0x20], xmm0
mov eax, dword [ebp - 0x68]
mov esi, dword [eax + 0x7c]
mov edi, dword [eax + 0x78]
mov edx, edi
mov ebx, dword [eax + 0x74]
mov ecx, ebx
push esi
call fcn.00401870
mov eax, dword [ebp - 0x5c]
mov edx, edi
push esi
mov ecx, ebx
mov dword [0x54d9a8], eax
call fcn.00401870
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x74]
add eax, 0x30
xor edx, edx
mov dword [0x54d9a8], eax
call fcn.004230a0
mov esi, dword [0x54d9a8]
lea ecx, [ebp - 0x70]
mov eax, dword [0x6e1b98]
xor edx, edx
mov dword [ebp - 0x64], esi
mov dword [0x54d9a8], eax
call fcn.004230a0
mov eax, dword [0x6e8526]
mov dword [0x54d9a8], esi
mov dword [ebp - 0x60], eax
movsx ebx, word [eax + 4]
movsx edi, word [eax + 2]
movsx esi, word [eax]
mov edx, edi
push ebx
mov ecx, esi
call fcn.00401870
mov ecx, dword [0x6e1b98]
mov edx, edi
mov dword [ebp - 0x5c], ecx
mov dword [0x54d9a8], ecx
mov ecx, esi
push ebx
call fcn.00401870
mov ebx, dword [ebp - 0x64]
mov dword [0x54d9a8], ebx
call fcn.00423130
mov eax, dword [ebx + 0xc]
sar eax, 0xe
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x1c]
sar eax, 0xe
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x2c]
movups xmm0, xmmword [ebx - 0x30]
sar eax, 0xe
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
movsx eax, word [eax + 6]
lea eax, [eax + eax*2]
cdq
sub eax, edx
sar eax, 1
sub ecx, 0x30
mov dword [ebp - 0x18], eax
mov eax, ebx
mov dword [0x54d9a8], eax
mov dword [ebp - 0x5c], ecx
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebx - 0x20]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebx - 0x10]
movups xmmword [eax + 0x20], xmm0
lea eax, [ecx + 0x30]
movups xmm0, xmmword [ecx]
mov dword [0x6e1b98], eax
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
mov eax, dword [ebp - 0x68]
mov esi, dword [eax + 0xac]
mov edi, dword [eax + 0xa8]
mov edx, edi
mov ebx, dword [eax + 0xa4]
mov ecx, ebx
push esi
call fcn.00401870
mov eax, dword [ebp - 0x5c]
mov edx, edi
add eax, 0x30
mov ecx, ebx
push esi
mov dword [0x54d9a8], eax
call fcn.00401870
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x74]
mov edx, 2
mov dword [0x54d9a8], eax
call fcn.004230a0
mov esi, dword [0x54d9a8]
lea ecx, [ebp - 0x70]
mov eax, dword [0x6e1b98]
mov edx, 2
mov dword [ebp - 0x64], esi
mov dword [0x54d9a8], eax
call fcn.004230a0
mov eax, dword [0x6e8532]
mov dword [0x54d9a8], esi
mov dword [ebp - 0x60], eax
movsx ebx, word [eax + 4]
movsx edi, word [eax + 2]
movsx esi, word [eax]
mov edx, edi
push ebx
mov ecx, esi
call fcn.00401870
mov eax, dword [0x6e1b98]
mov edx, edi
push ebx
mov ecx, esi
mov dword [0x54d9a8], eax
call fcn.00401870
mov ebx, dword [ebp - 0x64]
mov dword [0x54d9a8], ebx
call fcn.00423130
mov eax, dword [ebx + 0xc]
sar eax, 0xe
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1c]
sar eax, 0xe
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
sar eax, 0xe
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
sub dword [0x6e1b98], 0x30
movsx eax, word [eax + 6]
lea eax, [eax + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
lea eax, [ebx - 0x30]
mov dword [0x54d9a8], eax
mov eax, dword [ebp - 0x68]
mov esi, dword [eax + 0xdc]
mov edi, dword [eax + 0xd8]
mov edx, edi
mov ebx, dword [eax + 0xd4]
mov ecx, ebx
push esi
call fcn.00401870
mov eax, dword [0x6e1b98]
push esi
mov edx, edi
mov dword [0x54d9a8], eax
mov ecx, ebx
call fcn.00401870
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x74]
add eax, 0xffffffd0
mov edx, 2
mov dword [0x54d9a8], eax
call fcn.004230a0
mov esi, dword [0x54d9a8]
lea ecx, [ebp - 0x70]
mov eax, dword [0x6e1b98]
mov edx, 2
mov dword [ebp - 0x64], esi
mov dword [0x54d9a8], eax
call fcn.004230a0
movzx edi, word [0x6e8550]
movzx ebx, word [0x6e854e]
mov edx, edi
mov dword [0x54d9a8], esi
mov ecx, ebx
movzx esi, word [0x6e8552]
push esi
call fcn.00401420
mov eax, dword [0x6e1b98]
mov edx, edi
push esi
mov ecx, ebx
mov dword [0x54d9a8], eax
call fcn.00401420
mov ecx, dword [ebp - 0x64]
add esp, 0x40
lea eax, [ecx + 0x30]
mov dword [0x54d9a8], eax
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
mov eax, dword [0x6e1b98]
lea ecx, [eax + 0x30]
mov dword [ebp - 0x78], ecx
mov dword [0x6e1b98], ecx
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x6e853e]
mov dword [ebp - 0x60], eax
movsx ebx, word [eax + 4]
movsx edi, word [eax + 2]
movsx esi, word [eax]
mov edx, edi
push ebx
mov ecx, esi
call fcn.00401870
mov eax, dword [ebp - 0x78]
mov edx, edi
push ebx
mov ecx, esi
mov dword [0x54d9a8], eax
call fcn.00401870
mov ebx, dword [ebp - 0x64]
lea eax, [ebx + 0x30]
mov dword [0x54d9a8], eax
call fcn.00423130
mov eax, dword [ebx + 0x3c]
sar eax, 0xe
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x4c]
sar eax, 0xe
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x5c]
sar eax, 0xe
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x78]
mov edx, 0xffffffe9
movsx eax, word [eax + 6]
add esi, 0xffffffd0
push 0xffffffffffffffc9
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [0x54d9a8], ebx
mov dword [0x6e1b98], esi
call fcn.00401870
push 0xffffffffffffffc9
mov edx, 0xffffffe9
mov dword [0x54d9a8], esi
xor ecx, ecx
call fcn.00401870
add esp, 0x10
mov dword [0x54d9a8], ebx
call fcn.00423130
jmp 0x434c32
mov ecx, dword [0x6e0d90]
lea esi, [edi + 0x12]
mov eax, dword [0x6e8c2c]
movsx edx, word [edi + 0xe]
lea eax, [ecx + eax*4]
movsx ecx, word [edi + 0xc]
mov dword [ebp - 0x60], eax
movsx eax, word [edi + 0x10]
push eax
call fcn.00401870
movzx ecx, word [esi]
add esp, 4
mov edx, ecx
mov eax, ecx
shr eax, 0xe
sub eax, 0
je 0x4348b2
sub eax, 1
je 0x4348a8
sub eax, 1
je 0x43489e
shl ecx, 6
call fcn.00401360
jmp 0x4348c3
shl ecx, 6
call fcn.004012a0
jmp 0x4348c3
shl ecx, 6
call fcn.004011e0
jmp 0x4348c3
movzx ecx, word [esi + 2]
add esi, 2
shl edx, 0x10
add ecx, edx
call fcn.00401640
movups xmm0, xmmword [ebx]
lea edi, [ebx + 0x30]
lea eax, [esi + 2]
mov dword [0x54d9a8], edi
movups xmmword [edi], xmm0
mov dword [ebp - 0x58], eax
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [edi + 0x20], xmm0
mov esi, dword [0x6e8506]
movsx eax, word [esi + 4]
movsx edx, word [esi + 2]
movsx ecx, word [esi]
push eax
call fcn.00401870
mov eax, dword [edi + 0xc]
sar eax, 0xe
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x1c]
sar eax, 0xe
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x2c]
mov dword [0x54d9a8], ebx
mov ebx, dword [ebp - 0x60]
sar eax, 0xe
mov dword [ebp - 0x4c], eax
movsx eax, word [esi + 6]
push dword [ebx + 0x6c]
mov edx, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
mov dword [ebp - 0x48], eax
call fcn.00401870
mov ax, word [0x6e84e2]
add esp, 8
cmp ax, 0xffff
je 0x4349a7
cmp word [0x6e84bc], 5
jne 0x4349a7
cwde
imul ecx, eax, 0x84
mov eax, dword [0x6e0d88]
movzx eax, word [ecx + eax + 0xe]
test ax, ax
je 0x434973
cmp ax, 2
je 0x434973
cmp ax, 4
jne 0x4349a7
movsx eax, word [0x6e8572]
mov edx, 7
mov ecx, dword [0x6e0d84]
shl eax, 5
movsx ecx, byte [eax + ecx + 5]
movsx eax, word [0x6e8570]
imul ecx, eax
mov eax, dword [0x6e856c]
lea eax, [eax + ecx*2]
add eax, 0x12
mov dword [ebp - 0x58], eax
jmp 0x4349ac
mov edx, 6
lea ecx, [ebp - 0x58]
call fcn.004230a0
movzx eax, word [0x6e8558]
mov dx, word [0x6e8556]
mov ecx, dword [0x6e8554]
push eax
call fcn.00401420
mov eax, dword [0x54d9a8]
lea edi, [eax + 0x30]
mov dword [0x54d9a8], edi
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x20], xmm0
mov esi, dword [0x6e8522]
movsx eax, word [esi + 4]
movsx edx, word [esi + 2]
movsx ecx, word [esi]
push eax
call fcn.00401870
mov eax, dword [edi + 0xc]
movups xmm0, xmmword [edi - 0x30]
sar eax, 0xe
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x1c]
sar eax, 0xe
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x2c]
sar eax, 0xe
mov dword [ebp - 0x3c], eax
movsx eax, word [esi + 6]
movups xmmword [edi], xmm0
mov dword [ebp - 0x38], eax
movups xmm0, xmmword [edi - 0x20]
mov dword [0x54d9a8], edi
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [edi - 0x10]
movups xmmword [edi + 0x20], xmm0
mov edx, dword [ebx + 0x78]
push dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x74]
call fcn.00401870
mov esi, dword [ebp - 0x58]
add esp, 0xc
movzx ecx, word [esi]
mov edx, ecx
mov eax, ecx
shr eax, 0xe
sub eax, 0
je 0x434a93
sub eax, 1
je 0x434a89
sub eax, 1
je 0x434a7f
shl ecx, 6
call fcn.00401360
jmp 0x434aa4
shl ecx, 6
call fcn.004012a0
jmp 0x434aa4
shl ecx, 6
call fcn.004011e0
jmp 0x434aa4
movzx ecx, word [esi + 2]
add esi, 2
shl edx, 0x10
add ecx, edx
call fcn.00401640
lea eax, [esi + 2]
mov esi, dword [0x6e8526]
mov dword [ebp - 0x58], eax
movsx eax, word [esi + 4]
movsx edx, word [esi + 2]
movsx ecx, word [esi]
push eax
call fcn.00401870
mov eax, dword [edi + 0xc]
sar eax, 0xe
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x1c]
movups xmm0, xmmword [edi - 0x30]
sar eax, 0xe
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x2c]
sar eax, 0xe
mov dword [ebp - 0x1c], eax
movsx eax, word [esi + 6]
lea eax, [eax + eax*2]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x18], eax
mov eax, edi
mov dword [0x54d9a8], eax
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi - 0x20]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi - 0x10]
movups xmmword [eax + 0x20], xmm0
mov edx, dword [ebx + 0xa8]
push dword [ebx + 0xac]
mov ecx, dword [ebx + 0xa4]
call fcn.00401870
mov edx, 2
lea ecx, [ebp - 0x58]
call fcn.004230a0
mov esi, dword [0x6e8532]
movsx eax, word [esi + 4]
movsx edx, word [esi + 2]
movsx ecx, word [esi]
push eax
call fcn.00401870
mov edi, dword [0x54d9a8]
push dword [ebx + 0xdc]
mov ecx, dword [ebx + 0xd4]
mov eax, dword [edi + 0xc]
sar eax, 0xe
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x1c]
sar eax, 0xe
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x2c]
sub edi, 0x30
sar eax, 0xe
mov dword [ebp - 0xc], eax
movsx eax, word [esi + 6]
mov dword [0x54d9a8], edi
lea eax, [eax + eax*2]
cdq
sub eax, edx
mov edx, dword [ebx + 0xd8]
sar eax, 1
mov dword [ebp - 8], eax
call fcn.00401870
mov edx, 2
lea ecx, [ebp - 0x58]
call fcn.004230a0
movzx eax, word [0x6e8552]
mov edx, dword [0x6e8550]
mov cx, word [0x6e854e]
push eax
call fcn.00401420
mov eax, dword [0x54d9a8]
lea edi, [eax + 0x30]
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x20], xmm0
mov esi, dword [0x6e853e]
mov dword [0x54d9a8], edi
movsx eax, word [esi + 4]
movsx edx, word [esi + 2]
movsx ecx, word [esi]
push eax
call fcn.00401870
mov eax, dword [edi + 0xc]
lea ebx, [edi - 0x30]
sar eax, 0xe
mov edx, 0xffffffe9
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov eax, dword [edi + 0x1c]
sar eax, 0xe
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x2c]
sar eax, 0xe
mov dword [ebp - 0x2c], eax
movsx eax, word [esi + 6]
push 0xffffffffffffffc9
mov dword [ebp - 0x28], eax
mov dword [0x54d9a8], ebx
call fcn.00401870
add esp, 0x1c
mov eax, dword [ebx + 0x2c]
lea esi, [ebx - 0x30]
mov edi, dword [ebx + 0xc]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [0x6e0d90]
sar eax, 0xe
mov dword [ebp - 0x84], eax
mov eax, dword [0x6e8c90]
sar edi, 0xe
sar edx, 0xe
cmp dword [0x7b78c0], 0
lea ebx, [ecx + eax*4]
mov dword [ebp - 0xa0], edi
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], esi
mov dword [0x54d9a8], esi
mov dword [0x7b77e8], edi
mov dword [0x7b77ec], edx
mov dword [0x7b77f0], eax
je 0x434d94
mov dword [0x7b78c0], 0
mov edi, 0x7b77ec
nop dword [eax]
mov dword [esi + 0x30], 0x4000
lea eax, [esi + 0x30]
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0x4000
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0x4000
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [0x54d9a8], eax
mov eax, dword [edi - 4]
shl ecx, 0xe
shl edx, 0xe
shl eax, 0xe
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x5c], edx
mov dx, word [edi + 8]
mov cx, word [edi + 0xa]
push 0
call fcn.00401420
push dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
call fcn.00401870
mov eax, dword [esi + 0x3c]
add esp, 8
sar eax, 0xe
mov dword [edi + 0xe], eax
mov eax, dword [esi + 0x4c]
sar eax, 0xe
mov dword [edi + 0x12], eax
mov eax, dword [esi + 0x5c]
sar eax, 0xe
mov dword [edi + 0x16], eax
add edi, 0x12
mov dword [0x54d9a8], esi
cmp edi, 0x7b7858
jl 0x434ca0
pop edi
pop esi
mov dword [0x6e4a8c], 0
mov dword [0x6e4a88], 0
mov dword [0x7b78bc], 0
mov dword [0x516e98], 0x800
mov dword [0x516e9c], 0x800
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b557b
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x90], 0
mov edi, dword [0x6e85a4]
movzx eax, word [edi + 0x18]
mov dword [ebp - 0x94], eax
je 0x434db9
mov dword [ebp - 0x9c], 0xffff8100
jmp 0x434df1
mov esi, dword [ebp - 0x7c]
push eax
movsx ecx, word [esi + 8]
movsx eax, word [esi + 0xa]
add eax, ecx
movsx ecx, word [esi]
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 0x48]
push eax
movsx eax, word [esi + 2]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 0x40]
mov ecx, eax
call fcn.0041e2b0
add esp, 8
mov dword [ebp - 0x9c], eax
imul edx, dword [0x517424], 0x41c64e6d
mov esi, dword [0x7b78bc]
add esi, 0xfffffffd
add edx, 0x3039
mov ecx, edx
sar ecx, 0xa
and ecx, 7
add esi, ecx
mov dword [0x7b78bc], esi
cmp esi, 0xfffffffe
jg 0x434e22
inc esi
jmp 0x434e28
cmp esi, 9
jl 0x434e2e
dec esi
mov dword [0x7b78bc], esi
imul ecx, edx, 0x41c64e6d
mov edx, dword [0x516e9c]
add edx, 0xffffffc0
add ecx, 0x3039
mov dword [0x517424], ecx
sar ecx, 9
and ecx, 0x7e
add edx, ecx
and edx, 0x1ffe
mov dword [0x516e9c], edx
cmp edx, 0x400
jae 0x434e6e
mov ecx, 0x800
sub ecx, edx
jmp 0x434e83
mov ecx, edx
cmp edx, 0xc00
jbe 0x434e89
lea eax, [edx + edx]
sub edx, eax
lea ecx, [edx + 0x1800]
mov dword [0x516e9c], ecx
sub ecx, dword [0x516e98]
sar ecx, 3
add ecx, dword [0x516e98]
and ecx, 0x1ffe
mov dword [0x516e98], ecx
movsx eax, word [ecx*2 + 0x4cd7a0]
imul eax, esi
sar eax, 0xc
mov dword [ebp - 0x7c], eax
mov dword [0x6e4a8c], eax
movsx eax, word [ecx*2 + 0x4cd7a2]
imul eax, esi
mov esi, 1
mov dword [ebp - 0x64], esi
sar eax, 0xc
mov dword [ebp - 0x98], eax
mov dword [0x6e4a88], eax
lea eax, [ebx - 8]
mov dword [ebp - 0x5c], eax
lea ebx, [esi + esi*8]
add ebx, ebx
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0x60], ebx
mov edi, dword [ebx + 0x7b77e8]
mov eax, dword [ebx + 0x7b77ec]
mov ecx, dword [ebx + 0x7b77f0]
mov dword [0x7b7868], edi
mov dword [0x7b786c], eax
mov dword [0x7b7870], ecx
je 0x434f1f
mov eax, 0x7fff
mov dword [ebp - 0x80], eax
jmp 0x434f66
lea edx, [ebp - 0x94]
push edx
push ecx
mov edx, eax
mov ecx, edi
call fcn.0041e0e0
push dword [ebx + 0x7b77f0]
mov edx, edi
mov ecx, eax
push dword [ebx + 0x7b77ec]
call fcn.0041e450
mov dword [ebp - 0x80], eax
add esp, 0x10
mov eax, dword [0x54d9a8]
mov dword [ebp - 0x78], eax
mov eax, dword [0x6e4a8c]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x6e4a88]
mov dword [ebp - 0x98], eax
lea edx, [esi + esi*2]
shl edx, 2
mov dword [ebp - 0x70], edx
mov eax, dword [edx + 0x7b7868]
lea eax, [eax + eax*2]
mov ecx, eax
test ecx, ecx
jns 0x434f81
add ecx, 3
sar ecx, 2
mov esi, dword [ebx + 0x7b77e8]
mov eax, dword [edx + 0x7b786c]
add esi, ecx
mov dword [ebp - 0x58], esi
mov dword [ebx + 0x7b77e8], esi
lea eax, [eax + eax*2]
mov ecx, eax
test ecx, ecx
jns 0x434fa7
add ecx, 3
sar ecx, 2
mov edi, dword [ebx + 0x7b77ec]
mov eax, dword [edx + 0x7b7870]
add edi, ecx
mov dword [ebx + 0x7b77ec], edi
lea eax, [eax + eax*2]
mov ecx, eax
test ecx, ecx
jns 0x434fca
add ecx, 3
sar ecx, 2
add ecx, dword [ebx + 0x7b77f0]
cmp word [0x6e84c4], 0
mov dword [ebp - 0x68], ecx
mov dword [ebx + 0x7b77f0], ecx
jne 0x43501c
mov eax, dword [ebp - 0x94]
cwde
lea ecx, [eax + eax*4]
mov eax, dword [0x6e0d8c]
add ecx, ecx
test byte [eax + ecx*8 + 0x4e], 0x20
mov ecx, dword [ebp - 0x68]
je 0x43501c
add esi, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x58], esi
mov dword [ebx + 0x7b77e8], esi
mov dword [ebp - 0x68], ecx
mov dword [ebx + 0x7b77f0], ecx
mov eax, dword [ebp - 0x9c]
cmp eax, 0xffff8100
je 0x43502d
cmp edi, eax
jge 0x43503e
add edi, 0xa
mov edx, edi
cmp eax, 0xffff8100
je 0x43503e
cmp edx, eax
cmovg edi, eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebx + 0x7b77ec], edi
cmp edi, edx
jle 0x435085
mov eax, dword [ebp - 0xa0]
mov esi, eax
mov dword [ebx + 0x7b77e8], eax
mov eax, edi
sub eax, edx
mov dword [ebp - 0x58], esi
cmp eax, 0x100
mov edi, edx
mov eax, dword [ebp - 0x84]
mov ecx, eax
cmovg edi, dword [ebp - 0x6c]
mov dword [ebx + 0x7b77ec], edi
mov dword [ebp - 0x68], ecx
mov dword [ebx + 0x7b77f0], eax
lea edx, [ebp - 0x50]
mov dword [ebp - 0x6c], 5
mov dword [ebp - 0xac], edx
mov eax, dword [edx - 4]
sub esi, eax
mov dword [ebp - 0x80], esi
mov esi, dword [edx]
mov dword [ebp - 0xb0], eax
mov eax, edi
sub eax, esi
mov dword [ebp - 0xb4], esi
mov esi, dword [edx + 4]
sub ecx, esi
mov dword [ebp - 0x88], esi
mov esi, ecx
imul esi, ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0x80]
imul eax, eax
imul ecx, ecx
add esi, eax
add esi, ecx
mov ecx, dword [edx + 8]
mov eax, ecx
mov dword [ebp - 0xa8], ecx
imul eax, ecx
cmp esi, eax
jge 0x435182
mov edi, 0x40000000
xor ecx, ecx
lea edx, [ecx + edi]
shr ecx, 1
mov eax, ecx
or eax, edi
cmp edx, esi
cmovbe ecx, eax
mov eax, esi
sub eax, edx
shr edi, 2
cmp edx, esi
cmovbe esi, eax
test edi, edi
jne 0x4350f5
test ecx, ecx
mov esi, dword [ebp - 0xb0]
mov eax, 1
mov edi, dword [ebp - 0xb4]
cmove ecx, eax
mov eax, dword [ebp - 0xa8]
imul eax, dword [ebp - 0x80]
cdq
idiv ecx
add esi, eax
mov eax, dword [ebp - 0xa8]
imul eax, dword [ebp - 0xa4]
mov dword [ebp - 0x58], esi
mov dword [ebx + 0x7b77e8], esi
cdq
idiv ecx
add edi, eax
mov eax, dword [ebp - 0xa8]
imul eax, dword [ebp - 0xb8]
mov dword [ebx + 0x7b77ec], edi
cdq
idiv ecx
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0xac]
add ecx, eax
mov dword [ebp - 0x68], ecx
mov dword [ebx + 0x7b77f0], ecx
jmp 0x435188
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x68]
add edx, 0x10
sub dword [ebp - 0x6c], 1
mov dword [ebp - 0xac], edx
jne 0x435095
sub ecx, dword [ebx + 0x7b77de]
sub esi, dword [ebx + 0x7b77d6]
mov eax, ecx
mov edx, esi
imul eax, ecx
imul edx, esi
mov ebx, 0x40000000
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], ecx
add edx, eax
xor esi, esi
lea ecx, [esi + ebx]
shr esi, 1
mov eax, esi
or eax, ebx
cmp ecx, edx
cmovbe esi, eax
mov eax, edx
sub eax, ecx
shr ebx, 2
cmp ecx, edx
cmovbe edx, eax
test ebx, ebx
jne 0x4351c0
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov edx, dword [ebp - 0x58]
mov ebx, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x88], edx
test ebx, ebx
jne 0x4351fb
test edx, edx
je 0x43524d
jmp 0x4351ff
jns 0x4351ff
neg ebx
sar eax, 0x1f
and eax, 4
test edx, edx
jns 0x43520e
neg edx
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x88], ecx
lea esi, [eax + 2]
mov ecx, edx
cmovge esi, eax
cmp edx, ebx
mov eax, ebx
cmovle eax, edx
shl eax, 0xb
cmp edx, ebx
cdq
cmovle ecx, ebx
idiv ecx
cmp dword [ebp - 0x58], ebx
movsx ecx, word [eax*2 + 0x4b8588]
lea eax, [esi + 1]
cmovle eax, esi
mov esi, dword [ebp - 0x6c]
add ecx, dword [eax*4 + 0x4b958c]
jns 0x43524d
neg ecx
mov ebx, dword [ebp - 0x60]
xor eax, eax
sub edi, dword [ebx + 0x7b77da]
mov word [ebx + 0x7b77e4], cx
mov edx, edi
mov dword [ebp - 0x6c], edi
test esi, esi
jne 0x43526c
test edx, edx
je 0x4352ad
test edx, edx
jns 0x435277
mov edx, edi
neg edx
mov dword [ebp - 0x6c], edx
sar edi, 0x1f
mov eax, edx
and edi, 2
mov ecx, edx
cmp edx, esi
cmovg eax, esi
cmovle ecx, esi
shl eax, 0xb
cdq
idiv ecx
cmp dword [ebp - 0x6c], esi
movsx ecx, word [eax*2 + 0x4b8588]
lea eax, [edi + 1]
cmovle eax, edi
mov eax, dword [eax*4 + 0x4b958c]
add eax, ecx
jns 0x4352ad
neg eax
mov esi, dword [ebp - 0x78]
neg eax
add esi, 0x30
mov word [ebx + 0x7b77e2], ax
push 0
mov dword [0x54d9a8], esi
mov dword [esi], 0x4000
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x4000
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0x4000
mov edx, dword [ebx + 0x7b77de]
mov ecx, dword [ebx + 0x7b77da]
mov eax, dword [ebx + 0x7b77d6]
shl ecx, 0xe
shl edx, 0xe
shl eax, 0xe
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x2c], edx
mov dx, word [ebx + 0x7b77e2]
mov cx, word [ebx + 0x7b77e4]
call fcn.00401420
mov edi, dword [ebp - 0x5c]
add esp, 4
cmp dword [ebp - 0x64], 6
jne 0x435355
mov ecx, dword [edi - 4]
mov edx, dword [edi]
mov eax, dword [edi + 4]
add edi, 0x10
mov dword [ebp - 0x5c], edi
jmp 0x435372
mov ebx, dword [edi + 0x14]
lea eax, [edi + 0x10]
mov edx, dword [eax]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x88], ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x88]
push eax
call fcn.00401870
mov eax, dword [esi + 0xc]
add esp, 4
mov edi, dword [ebp - 0x70]
sar eax, 0xe
mov dword [ebx + 0x7b77e8], eax
mov ecx, dword [esi + 0x1c]
sub eax, dword [0x7b7868]
sar ecx, 0xe
mov dword [ebx + 0x7b77ec], ecx
mov edx, dword [esi + 0x2c]
sar edx, 0xe
mov dword [edi + 0x7b7868], eax
sub ecx, dword [0x7b786c]
mov dword [ebx + 0x7b77f0], edx
mov dword [edi + 0x7b786c], ecx
sub edx, dword [0x7b7870]
mov dword [edi + 0x7b7870], edx
lea edx, [esi - 0x30]
mov esi, dword [ebp - 0x64]
inc esi
mov dword [ebp - 0x78], edx
mov dword [0x54d9a8], edx
mov dword [ebp - 0x64], esi
cmp esi, 7
jl 0x434ee1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b557b
mov esp, ebp
pop ebp
ret