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

Disassembly:
sub esp, 0x114
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
mov edi, edx
mov edx, ecx
add ebx, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x5c], edx
mov ebp, edi
mov dword [esp + 0x4c], edi
mov eax, dword [edx + 0x7368]
mov edi, dword [edx + 0x7378]
mov ecx, dword [edx + 0x72b0]
add edi, eax
cmp dword [esp + 0x134], 0
mov edx, dword [edx + 0x72b4]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], edi
mov edx, dword [edx + 0x72b8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], edx
je 0x4091ac
mov ebx, dword [esp + 0x5c]
mov edi, 4
cmp dword [esp + 0x134], edi
push dword [esp + 0x130]
cmovl edi, dword [esp + 0x138]
mov dword [ebx + 0x72fc], 1
mov eax, dword [ebx + 0x682c]
mov dword [esp + 0xc0], eax
mov eax, dword [ebx + 0x6830]
mov dword [esp + 0xc4], eax
mov eax, dword [ebx + 0x6834]
mov dword [esp + 0xc8], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
lea ecx, [esp + 0x94]
mov edx, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0xd4], eax
call fcn.00401090
add esp, 4
cmp eax, 0xffffff88
ja 0x408ec6
push dword [ebx]
lea edx, [esp + 0x94]
lea ecx, [esp + 0xa8]
call fcn.00407a90
add esp, 4
lea edx, [esp + 0x90]
lea ecx, [esp + 0xac]
push dword [ebx + 8]
call fcn.00407a90
add esp, 4
lea edx, [esp + 0x90]
lea ecx, [esp + 0xb4]
push dword [ebx + 4]
call fcn.00407a90
add esp, 4
lea ecx, [esp + 0x90]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
call fcn.004011f0
cmp eax, 2
jg 0x408818
lea eax, [esp + 0xd8]
mov dword [esp + 0x24], eax
nop dword [eax + eax]
cmp ebx, edi
jge 0x408820
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov ebx, dword [ecx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
mov ecx, ebx
mov eax, edx
mov dword [esp + 0x50], ebx
shrd ecx, eax, 0x10
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x1c], edx
mov ebx, dword [ecx + eax*8]
mov edi, dword [ecx + eax*8 + 4]
mov ecx, ebx
mov eax, edi
mov dword [esp + 0x3c], ebx
shrd ecx, eax, 0x10
mov eax, dword [esp + 0xac]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x18], edi
mov esi, dword [ecx + eax*8]
mov ebx, dword [ecx + eax*8 + 4]
mov ecx, esi
mov eax, ebx
mov dword [esp + 0x14], esi
shrd ecx, eax, 0x10
mov dword [esp + 0x40], ebx
mov dword [esp + 0x88], esi
cmp cl, 1
jbe 0x4085b2
cmp dword [esp + 0x138], 0
je 0x408552
cmp cl, 0x19
jb 0x408552
mov esi, dword [esp + 0x94]
mov eax, 0x20
mov ebx, dword [esp + 0x90]
sub eax, esi
movzx edi, cl
mov ecx, esi
cmp edi, eax
mov edx, edi
cmovae edx, eax
and ecx, 0x1f
shl ebx, cl
sub edi, edx
mov ecx, edx
add esi, edx
neg ecx
mov dword [esp + 0x94], esi
and ecx, 0x1f
shr ebx, cl
mov ecx, edi
shl ebx, cl
lea ecx, [esp + 0x90]
add ebx, dword [esp + 0x40]
call fcn.004011f0
mov esi, dword [esp + 0x94]
test edi, edi
je 0x40854c
mov eax, dword [esp + 0x90]
mov ecx, esi
and ecx, 0x1f
add esi, edi
shl eax, cl
mov ecx, edi
neg ecx
mov dword [esp + 0x94], esi
and ecx, 0x1f
shr eax, cl
add ebx, eax
mov edi, dword [esp + 0x18]
jmp 0x408591
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
movzx esi, cl
mov ecx, edx
and ecx, 0x1f
add edx, esi
shl eax, cl
mov ecx, esi
neg ecx
mov dword [esp + 0x94], edx
and ecx, 0x1f
shr eax, cl
lea ecx, [esp + 0x90]
add ebx, eax
call fcn.004011f0
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc0], eax
jmp 0x40864f
mov esi, dword [esp + 0x94]
xor ebx, ebx
test edx, edx
sete bl
test cl, cl
jne 0x4085eb
test edx, edx
je 0x4085d4
mov ebx, dword [esp + 0xbc]
jmp 0x408656
mov ebx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc0], eax
jmp 0x40864f
mov eax, dword [esp + 0x90]
mov ecx, esi
mov edx, dword [esp + 0xbc]
and ecx, 0x1f
shl eax, cl
inc esi
shr eax, 0x1f
mov dword [esp + 0x94], esi
lea ecx, [eax + ebx]
add ecx, dword [esp + 0x40]
cmp ecx, 3
jne 0x408625
lea eax, [edx - 1]
xor ebx, ebx
test eax, eax
sete bl
add ebx, eax
jmp 0x40863a
mov eax, dword [esp + ecx*4 + 0xbc]
xor ebx, ebx
test eax, eax
sete bl
add ebx, eax
cmp ecx, 1
je 0x408648
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
test al, al
je 0x408697
movzx edx, al
mov ecx, esi
mov eax, dword [esp + 0x90]
add esi, edx
and ecx, 0x1f
mov dword [esp + 0x94], esi
neg edx
shl eax, cl
and edx, 0x1f
mov ecx, edx
shr eax, cl
add edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edi
mov dword [esp + 0x64], edi
mov ecx, dword [esp + 0x38]
movzx edi, cl
movzx eax, al
add eax, edi
cmp eax, 0x14
jb 0x4086bb
lea ecx, [esp + 0x90]
call fcn.004011f0
mov esi, dword [esp + 0x94]
cmp byte [esp + 0x38], 0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], edx
jbe 0x4086f4
mov eax, dword [esp + 0x90]
mov ecx, esi
add esi, edi
and ecx, 0x1f
neg edi
shl eax, cl
and edi, 0x1f
mov dword [esp + 0x94], esi
mov ecx, edi
shr eax, cl
add edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x90]
call fcn.004011f0
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xc8]
cmp ebx, ecx
mov edi, dword [esp + 0x94]
cmova eax, dword [esp + 0xcc]
movzx esi, byte [esp + 0x7b]
sub eax, ebx
mov ebx, dword [esp + 0x90]
add eax, ecx
mov dword [esp + 0x6c], eax
add edi, esi
mov eax, dword [esp + 0x18]
mov edx, ebx
add eax, ecx
mov ecx, edi
neg ecx
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x50]
and ecx, 0x1f
shr edx, cl
and edx, dword [esi*4 + 0x421440]
movzx eax, ax
add edx, eax
movzx eax, byte [esp + 0x83]
mov dword [esp + 0xa4], edx
lea ecx, [eax + edi]
mov dword [esp + 0x94], ecx
neg ecx
and ecx, 0x1f
shr ebx, cl
lea ecx, [esp + 0x90]
and ebx, dword [eax*4 + 0x421440]
mov eax, dword [esp + 0x3c]
movzx eax, ax
add ebx, eax
mov dword [esp + 0xb4], ebx
call fcn.004011f0
movzx esi, byte [esp + 0x8b]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
add eax, esi
movups xmm0, xmmword [esp + 0x60]
mov ebx, dword [esp + 0x2c]
mov ecx, eax
neg ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x14]
and ecx, 0x1f
shr edx, cl
inc ebx
and edx, dword [esi*4 + 0x421440]
lea ecx, [esp + 0x90]
mov esi, dword [esp + 0x24]
movzx eax, ax
add eax, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xac], eax
movups xmmword [esi], xmm0
add esi, 0x10
mov dword [esp + 0x24], esi
call fcn.004011f0
mov edi, dword [esp + 0x34]
cmp eax, 2
jle 0x408420
cmp ebx, edi
jl 0x408ec6
lea ecx, [esp + 0x90]
call fcn.004011f0
cmp eax, 2
jg 0x408ebb
nop word [eax + eax]
mov eax, dword [esp + 0x134]
cmp ebx, eax
jge 0x408edc
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov ebx, dword [ecx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
mov ecx, ebx
mov eax, edx
mov dword [esp + 0x14], ebx
shrd ecx, eax, 0x10
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x1c], edx
mov ebx, dword [ecx + eax*8]
mov edi, dword [ecx + eax*8 + 4]
mov ecx, ebx
mov eax, edi
mov dword [esp + 0x3c], ebx
shrd ecx, eax, 0x10
mov eax, dword [esp + 0xac]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x18], edi
mov esi, dword [ecx + eax*8]
mov ebx, dword [ecx + eax*8 + 4]
mov ecx, esi
mov eax, ebx
mov dword [esp + 0x50], esi
shrd ecx, eax, 0x10
mov dword [esp + 0x24], ebx
mov dword [esp + 0x78], esi
cmp cl, 1
jbe 0x4089d9
cmp dword [esp + 0x138], 0
je 0x408979
cmp cl, 0x19
jb 0x408979
mov esi, dword [esp + 0x94]
mov eax, 0x20
mov ebx, dword [esp + 0x90]
sub eax, esi
movzx edi, cl
mov ecx, esi
cmp edi, eax
mov edx, edi
cmovae edx, eax
and ecx, 0x1f
shl ebx, cl
sub edi, edx
mov ecx, edx
add esi, edx
neg ecx
mov dword [esp + 0x94], esi
and ecx, 0x1f
shr ebx, cl
mov ecx, edi
shl ebx, cl
lea ecx, [esp + 0x90]
add ebx, dword [esp + 0x24]
call fcn.004011f0
mov esi, dword [esp + 0x94]
test edi, edi
je 0x408973
mov eax, dword [esp + 0x90]
mov ecx, esi
and ecx, 0x1f
add esi, edi
shl eax, cl
mov ecx, edi
neg ecx
mov dword [esp + 0x94], esi
and ecx, 0x1f
shr eax, cl
add ebx, eax
mov edi, dword [esp + 0x18]
jmp 0x4089b8
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
movzx esi, cl
mov ecx, edx
and ecx, 0x1f
add edx, esi
shl eax, cl
mov ecx, esi
neg ecx
mov dword [esp + 0x94], edx
and ecx, 0x1f
shr eax, cl
lea ecx, [esp + 0x90]
add ebx, eax
call fcn.004011f0
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc0], eax
jmp 0x408a76
mov esi, dword [esp + 0x94]
xor ebx, ebx
test edx, edx
sete bl
test cl, cl
jne 0x408a12
test edx, edx
je 0x4089fb
mov ebx, dword [esp + 0xbc]
jmp 0x408a7d
mov ebx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc0], eax
jmp 0x408a76
mov eax, dword [esp + 0x90]
mov ecx, esi
mov edx, dword [esp + 0xbc]
and ecx, 0x1f
shl eax, cl
inc esi
shr eax, 0x1f
mov dword [esp + 0x94], esi
lea ecx, [eax + ebx]
add ecx, dword [esp + 0x24]
cmp ecx, 3
jne 0x408a4c
lea eax, [edx - 1]
xor ebx, ebx
test eax, eax
sete bl
add ebx, eax
jmp 0x408a61
mov eax, dword [esp + ecx*4 + 0xbc]
xor ebx, ebx
test eax, eax
sete bl
add ebx, eax
cmp ecx, 1
je 0x408a6f
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
test al, al
je 0x408abe
movzx edx, al
mov ecx, esi
mov eax, dword [esp + 0x90]
add esi, edx
and ecx, 0x1f
mov dword [esp + 0x94], esi
neg edx
shl eax, cl
and edx, 0x1f
mov ecx, edx
shr eax, cl
add edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], edi
mov dword [esp + 0x64], edi
mov ecx, dword [esp + 0x48]
movzx edi, cl
movzx eax, al
add eax, edi
cmp eax, 0x14
jb 0x408ae2
lea ecx, [esp + 0x90]
call fcn.004011f0
mov esi, dword [esp + 0x94]
cmp byte [esp + 0x48], 0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], edx
jbe 0x408b1b
mov eax, dword [esp + 0x90]
mov ecx, esi
add esi, edi
and ecx, 0x1f
neg edi
shl eax, cl
and edi, 0x1f
mov dword [esp + 0x94], esi
mov ecx, edi
shr eax, cl
add edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x90]
call fcn.004011f0
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xc8]
cmp ebx, ecx
mov edi, dword [esp + 0x94]
cmova eax, dword [esp + 0xcc]
movzx esi, byte [esp + 0x8b]
sub eax, ebx
mov ebx, dword [esp + 0x90]
add eax, ecx
mov dword [esp + 0x6c], eax
add edi, esi
mov eax, dword [esp + 0x18]
mov edx, ebx
add eax, ecx
mov ecx, edi
neg ecx
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x14]
and ecx, 0x1f
shr edx, cl
and edx, dword [esi*4 + 0x421440]
movzx eax, ax
add edx, eax
movzx eax, byte [esp + 0x83]
mov dword [esp + 0xa4], edx
lea ecx, [eax + edi]
mov dword [esp + 0x94], ecx
neg ecx
and ecx, 0x1f
shr ebx, cl
lea ecx, [esp + 0x90]
and ebx, dword [eax*4 + 0x421440]
mov eax, dword [esp + 0x3c]
movzx eax, ax
add ebx, eax
mov dword [esp + 0xb4], ebx
call fcn.004011f0
movzx esi, byte [esp + 0x7b]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
add eax, esi
mov ecx, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x50]
neg ecx
and ecx, 0x1f
movzx eax, ax
shr edx, cl
lea ecx, [esp + 0xd8]
and edx, dword [esi*4 + 0x421440]
add eax, edx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x2c]
and eax, 3
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
movups xmm1, xmmword [eax]
movd eax, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
movd edx, xmm0
add ecx, eax
psrldq xmm1, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], edx
lea ebx, [eax + ebp]
mov dword [esp + 0x3c], ecx
mov edi, ebx
lea esi, [edx + eax]
movd eax, xmm1
mov dword [esp + 0x18], esi
sub edi, eax
mov dword [esp + 0x24], eax
cmp ecx, dword [esp + 0x44]
ja 0x408e52
mov eax, dword [esp + 0x30]
lea ecx, [esi + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x408e52
mov ecx, dword [esp + 0x30]
lea eax, [esi + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x408e52
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
movups xmm0, xmmword [eax]
movups xmmword [ebp], xmm0
cmp ecx, 0x10
jbe 0x408cec
mov edx, dword [esp + 0x20]
lea eax, [ebp + 0x10]
add ecx, 0xfffffff0
movups xmm0, xmmword [edx + 0x10]
lea ebp, [eax + ecx]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x4c]
movups xmmword [eax], xmm0
cmp ecx, 0x10
jle 0x408ce8
mov ecx, dword [esp + 0x14]
add eax, 0x10
add edx, 0x20
nop dword [eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, ecx
jb 0x408cd0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, ebx
sub eax, dword [esp + 0x28]
cmp ecx, eax
jbe 0x408d5a
mov eax, ebx
sub eax, dword [esp + 0x58]
cmp ecx, eax
ja 0x408ed0
mov ecx, dword [esp + 0x54]
mov eax, ecx
sub eax, dword [esp + 0x28]
add edi, eax
lea eax, [edi + edx]
cmp eax, ecx
ja 0x408d37
push edx
push edi
push ebx
call fcn.0040b7e0
mov edi, dword [esp + 0x28]
add esp, 0xc
jmp 0x408e86
mov esi, ecx
sub esi, edi
push esi
push edi
push ebx
call fcn.0040b7e0
mov edx, dword [esp + 0x4c]
add ebx, esi
mov edi, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x24]
sub edx, esi
mov esi, dword [esp + 0x18]
cmp ecx, 0x10
jb 0x408da1
lea eax, [edx + ebx]
mov dword [esp + 0x14], eax
movups xmm0, xmmword [edi]
movups xmmword [ebx], xmm0
cmp edx, 0x10
jle 0x408d98
mov edx, dword [esp + 0x14]
lea eax, [ebx + 0x10]
lea ecx, [edi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, edx
jb 0x408d80
mov edi, dword [esp + 0x1c]
jmp 0x408e86
cmp ecx, 8
jae 0x408dd5
movzx eax, byte [edi]
mov byte [ebx], al
movzx eax, byte [edi + 1]
mov byte [ebx + 1], al
movzx eax, byte [edi + 2]
mov byte [ebx + 2], al
movzx eax, byte [edi + 3]
add edi, dword [ecx*4 + 0x421a70]
mov byte [ebx + 3], al
mov eax, dword [edi]
sub edi, dword [ecx*4 + str._b_b_b_a_b_t_n_v]
mov dword [ebx + 4], eax
jmp 0x408ddf
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
cmp edx, 8
jbe 0x408e4c
lea ecx, [edx - 8]
add edi, 8
lea edx, [ebx + 8]
mov eax, edx
lea esi, [edx + ecx]
sub eax, edi
cmp eax, 0x10
jge 0x408e1d
sub edi, edx
nop dword [eax + eax]
mov eax, dword [edx + edi]
mov ecx, dword [edx + edi + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
cmp edx, esi
jb 0x408e00
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x408e86
movups xmm0, xmmword [edi]
movups xmmword [edx], xmm0
cmp ecx, 0x10
jle 0x408e48
add edx, 0x10
lea eax, [edi + 0x10]
nop
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmmword [edx], xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [edx + 0x10], xmm0
add edx, 0x20
cmp edx, esi
jb 0x408e30
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x408e86
push dword [esp + 0x54]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x24]
push dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
mov ecx, ebp
push dword [esp + 0x30]
movups xmm0, xmmword [edi]
push dword [esp + 0x50]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00407990
add esp, 0x24
mov esi, eax
cmp esi, 0xffffff88
ja 0x408ed5
movups xmm0, xmmword [esp + 0x60]
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x90]
add ebp, esi
inc ebx
movups xmmword [edi], xmm0
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], ebx
call fcn.004011f0
cmp eax, 2
jle 0x408840
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x134]
cmp ebx, eax
jge 0x408ee0
mov eax, 0xffffffec
jmp 0x4091d2
mov esi, 0xffffffec
mov eax, esi
jmp 0x4091d2
mov edi, dword [esp + 0x34]
sub ebx, edi
mov dword [esp + 0x2c], ebx
cmp ebx, eax
jge 0x409175
nop
mov eax, ebx
lea ecx, [esp + 0xd8]
and eax, 3
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
movups xmm1, xmmword [eax]
movd eax, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
movd edx, xmm0
add ecx, eax
psrldq xmm1, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
lea ebx, [eax + ebp]
mov dword [esp + 0x50], ecx
mov edi, ebx
mov dword [esp + 0x3c], ebx
lea esi, [edx + eax]
movd eax, xmm1
mov dword [esp + 0x24], esi
sub edi, eax
mov dword [esp + 0x4c], eax
cmp ecx, dword [esp + 0x44]
ja 0x409120
mov eax, dword [esp + 0x30]
lea ecx, [esi + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x409120
mov ecx, dword [esp + 0x30]
lea eax, [esi + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x409120
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
movups xmm0, xmmword [eax]
movups xmmword [ebp], xmm0
cmp ecx, 0x10
jbe 0x408fd1
mov edx, dword [esp + 0x20]
lea eax, [ebp + 0x10]
add ecx, 0xfffffff0
movups xmm0, xmmword [edx + 0x10]
lea ebx, [eax + ecx]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x3c]
movups xmmword [eax], xmm0
cmp ecx, 0x10
jle 0x408fcd
mov ecx, dword [esp + 0x14]
add eax, 0x10
add edx, 0x20
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, ecx
jb 0x408fb5
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, ebx
sub eax, dword [esp + 0x28]
cmp ecx, eax
jbe 0x40903b
mov eax, ebx
sub eax, dword [esp + 0x58]
cmp ecx, eax
ja 0x408ed0
mov ecx, dword [esp + 0x54]
mov eax, ecx
sub eax, dword [esp + 0x28]
add edi, eax
lea eax, [edi + edx]
cmp eax, ecx
ja 0x409018
push edx
push edi
push ebx
call fcn.0040b7e0
add esp, 0xc
jmp 0x409154
mov esi, ecx
sub esi, edi
push esi
push edi
push ebx
call fcn.0040b7e0
mov edx, dword [esp + 0x40]
add ebx, esi
mov edi, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x4c]
sub edx, esi
mov esi, dword [esp + 0x24]
cmp ecx, 0x10
jb 0x40907d
lea eax, [edx + ebx]
mov dword [esp + 0x14], eax
movups xmm0, xmmword [edi]
movups xmmword [ebx], xmm0
cmp edx, 0x10
jle 0x409154
mov edx, dword [esp + 0x14]
lea eax, [ebx + 0x10]
lea ecx, [edi + 0x10]
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, edx
jb 0x409060
jmp 0x409154
cmp ecx, 8
jae 0x4090b1
movzx eax, byte [edi]
mov byte [ebx], al
movzx eax, byte [edi + 1]
mov byte [ebx + 1], al
movzx eax, byte [edi + 2]
mov byte [ebx + 2], al
movzx eax, byte [edi + 3]
add edi, dword [ecx*4 + 0x421a70]
mov byte [ebx + 3], al
mov eax, dword [edi]
sub edi, dword [ecx*4 + str._b_b_b_a_b_t_n_v]
mov dword [ebx + 4], eax
jmp 0x4090bb
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
cmp edx, 8
jbe 0x409154
lea eax, [ebx + 8]
add edx, 0xfffffff8
add edi, 8
mov ecx, eax
sub ecx, edi
lea ebx, [eax + edx]
cmp ecx, 0x10
jge 0x4090f5
sub edi, eax
nop dword [eax + eax]
mov ecx, dword [eax + edi]
mov edx, dword [eax + edi + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
cmp eax, ebx
jb 0x4090e0
jmp 0x409154
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
cmp edx, 0x10
jle 0x409154
add eax, 0x10
lea ecx, [edi + 0x10]
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, ebx
jb 0x409106
jmp 0x409154
push dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
push dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
push dword [esp + 0x30]
movups xmm0, xmmword [ecx]
mov ecx, ebp
push dword [esp + 0x50]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00407990
add esp, 0x24
mov esi, eax
cmp esi, 0xffffff88
ja 0x408ed5
mov ebx, dword [esp + 0x2c]
add ebp, esi
inc ebx
mov dword [esp + 0x2c], ebx
cmp ebx, dword [esp + 0x134]
jl 0x408ef0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov dword [edx + 0x682c], eax
mov eax, dword [esp + 0xc0]
mov dword [edx + 0x6830], eax
mov eax, dword [esp + 0xc4]
mov dword [edx + 0x6834], eax
mov eax, dword [esp + 0x20]
sub edi, eax
sub ebx, ebp
cmp edi, ebx
jbe 0x4091bb
mov eax, 0xffffffba
jmp 0x4091d2
test ebp, ebp
je 0x4091cc
push edi
push eax
push ebp
call fcn.0040b7e0
add esp, 0xc
add ebp, edi
sub ebp, dword [esp + 0x74]
mov eax, ebp
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a2cd
add esp, 0x114
ret