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

Disassembly:
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, edx
mov edx, ecx
add ebx, edi
mov dword [esp + 0x6c], edi
mov ebp, edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], ebx
mov eax, dword [edx + 0x7368]
mov edi, dword [edx + 0x7378]
mov ecx, dword [edx + 0x72b0]
add edi, eax
cmp dword [esp + 0x12c], 0
mov edx, dword [edx + 0x72b4]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edi
mov edx, dword [edx + 0x72b8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], edx
je 0x4092cc
mov ebx, dword [esp + 0x54]
mov edi, 4
cmp dword [esp + 0x12c], edi
push dword [esp + 0x128]
cmovl edi, dword [esp + 0x130]
mov dword [ebx + 0x72fc], 1
mov eax, dword [ebx + 0x682c]
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 0x6830]
mov dword [esp + 0xbc], eax
mov eax, dword [ebx + 0x6834]
mov dword [esp + 0xc0], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
lea ecx, [esp + 0x8c]
mov edx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0xcc], eax
call fcn.00401090
add esp, 4
cmp eax, 0xffffff88
ja 0x408fde
push dword [ebx]
lea edx, [esp + 0x8c]
lea ecx, [esp + 0xa0]
call fcn.00407ba0
add esp, 4
lea edx, [esp + 0x88]
lea ecx, [esp + 0xa4]
push dword [ebx + 8]
call fcn.00407ba0
add esp, 4
lea edx, [esp + 0x88]
lea ecx, [esp + 0xac]
push dword [ebx + 4]
call fcn.00407ba0
add esp, 4
lea ecx, [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x28], ebx
call fcn.00401200
cmp eax, 2
jg 0x408934
lea eax, [esp + 0xd0]
mov dword [esp + 0x20], eax
nop dword [eax + eax]
cmp ebx, edi
jge 0x40893c
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
mov ebx, dword [ecx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
mov ecx, ebx
mov eax, edx
mov dword [esp + 0x38], ebx
shrd ecx, eax, 0x10
mov eax, dword [esp + 0xac]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x70], 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 + 0xa4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x14], edi
mov esi, dword [ecx + eax*8]
mov ebx, dword [ecx + eax*8 + 4]
mov ecx, esi
mov eax, ebx
mov dword [esp + 0x10], esi
shrd ecx, eax, 0x10
mov dword [esp + 0x68], ebx
mov dword [esp + 0x80], esi
cmp cl, 1
jbe 0x4086cf
cmp dword [esp + 0x130], 0
je 0x40866f
cmp cl, 0x19
jb 0x40866f
mov esi, dword [esp + 0x8c]
mov eax, 0x20
mov ebx, dword [esp + 0x88]
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 + 0x8c], esi
and ecx, 0x1f
shr ebx, cl
mov ecx, edi
shl ebx, cl
lea ecx, [esp + 0x88]
add ebx, dword [esp + 0x68]
call fcn.00401200
mov esi, dword [esp + 0x8c]
test edi, edi
je 0x408669
mov eax, dword [esp + 0x88]
mov ecx, esi
and ecx, 0x1f
add esi, edi
shl eax, cl
mov ecx, edi
neg ecx
mov dword [esp + 0x8c], esi
and ecx, 0x1f
shr eax, cl
add ebx, eax
mov edi, dword [esp + 0x14]
jmp 0x4086ae
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
movzx esi, cl
mov ecx, edx
and ecx, 0x1f
add edx, esi
shl eax, cl
mov ecx, esi
neg ecx
mov dword [esp + 0x8c], edx
and ecx, 0x1f
shr eax, cl
lea ecx, [esp + 0x88]
add ebx, eax
call fcn.00401200
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
jmp 0x40876d
mov esi, dword [esp + 0x8c]
xor ebx, ebx
test edx, edx
sete bl
test cl, cl
jne 0x408708
test edx, edx
je 0x4086f1
mov ebx, dword [esp + 0xb4]
jmp 0x408774
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
jmp 0x40876d
mov eax, dword [esp + 0x88]
mov ecx, esi
mov edx, dword [esp + 0xb4]
and ecx, 0x1f
shl eax, cl
inc esi
mov ecx, dword [esp + 0x68]
shr eax, 0x1f
add ecx, eax
mov dword [esp + 0x8c], esi
add ecx, ebx
cmp ecx, 3
jne 0x408743
lea eax, [edx - 1]
xor ebx, ebx
test eax, eax
sete bl
add ebx, eax
jmp 0x408758
mov eax, dword [esp + ecx*4 + 0xb4]
xor ebx, ebx
test eax, eax
sete bl
add ebx, eax
cmp ecx, 1
je 0x408766
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb4], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
test al, al
je 0x4087b5
movzx edx, al
mov ecx, esi
mov eax, dword [esp + 0x88]
add esi, edx
and ecx, 0x1f
mov dword [esp + 0x8c], esi
neg edx
shl eax, cl
and edx, 0x1f
mov ecx, edx
shr eax, cl
add edi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edi
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x34]
movzx edi, cl
movzx eax, al
add eax, edi
cmp eax, 0x14
jb 0x4087d9
lea ecx, [esp + 0x88]
call fcn.00401200
mov esi, dword [esp + 0x8c]
cmp byte [esp + 0x34], 0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], edx
jbe 0x408812
mov eax, dword [esp + 0x88]
mov ecx, esi
add esi, edi
and ecx, 0x1f
neg edi
shl eax, cl
and edi, 0x1f
mov dword [esp + 0x8c], esi
mov ecx, edi
shr eax, cl
add edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x88]
call fcn.00401200
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc0]
cmp ebx, ecx
mov edi, dword [esp + 0x8c]
cmova eax, dword [esp + 0xc4]
movzx esi, byte [esp + 0x73]
sub eax, ebx
mov ebx, dword [esp + 0x88]
add eax, ecx
mov dword [esp + 0x64], eax
add edi, esi
mov eax, dword [esp + 0x14]
mov edx, ebx
add eax, ecx
mov ecx, edi
neg ecx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x38]
and ecx, 0x1f
shr edx, cl
and edx, dword [esi*4 + 0x421ae0]
movzx eax, ax
add edx, eax
mov dword [esp + 0x9c], edx
movzx edx, byte [esp + 0x7b]
lea ecx, [edi + edx]
neg ecx
lea eax, [edi + edx]
and ecx, 0x1f
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x3c]
shr ebx, cl
lea ecx, [esp + 0x88]
and ebx, dword [edx*4 + 0x421ae0]
movzx eax, ax
add ebx, eax
mov dword [esp + 0xac], ebx
call fcn.00401200
movzx eax, byte [esp + 0x83]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
add ecx, eax
mov esi, dword [esp + 0x20]
movups xmm0, xmmword [esp + 0x58]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x8c], ecx
inc ebx
neg ecx
mov dword [esp + 0x28], ebx
and ecx, 0x1f
shr edx, cl
lea ecx, [esp + 0x88]
and edx, dword [eax*4 + 0x421ae0]
mov eax, dword [esp + 0x10]
movzx eax, ax
movups xmmword [esi], xmm0
add edx, eax
add esi, 0x10
mov dword [esp + 0xa4], edx
mov dword [esp + 0x20], esi
call fcn.00401200
mov edi, dword [esp + 0x30]
cmp eax, 2
jle 0x408540
cmp ebx, edi
jl 0x408fde
lea ecx, [esp + 0x88]
call fcn.00401200
cmp eax, 2
jg 0x408fd3
mov eax, dword [esp + 0x12c]
cmp ebx, eax
jge 0x408ff4
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
mov ebx, dword [ecx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
mov ecx, ebx
mov eax, edx
mov dword [esp + 0x10], ebx
shrd ecx, eax, 0x10
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x80], 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 + 0xa4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x14], edi
mov esi, dword [ecx + eax*8]
mov ebx, dword [ecx + eax*8 + 4]
mov ecx, esi
mov eax, ebx
mov dword [esp + 0x38], esi
shrd ecx, eax, 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], esi
cmp cl, 1
jbe 0x408ae7
cmp dword [esp + 0x130], 0
je 0x408a87
cmp cl, 0x19
jb 0x408a87
mov esi, dword [esp + 0x8c]
mov eax, 0x20
mov ebx, dword [esp + 0x88]
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 + 0x8c], esi
and ecx, 0x1f
shr ebx, cl
mov ecx, edi
shl ebx, cl
lea ecx, [esp + 0x88]
add ebx, dword [esp + 0x20]
call fcn.00401200
mov esi, dword [esp + 0x8c]
test edi, edi
je 0x408a81
mov eax, dword [esp + 0x88]
mov ecx, esi
and ecx, 0x1f
add esi, edi
shl eax, cl
mov ecx, edi
neg ecx
mov dword [esp + 0x8c], esi
and ecx, 0x1f
shr eax, cl
add ebx, eax
mov edi, dword [esp + 0x14]
jmp 0x408ac6
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
movzx esi, cl
mov ecx, edx
and ecx, 0x1f
add edx, esi
shl eax, cl
mov ecx, esi
neg ecx
mov dword [esp + 0x8c], edx
and ecx, 0x1f
shr eax, cl
lea ecx, [esp + 0x88]
add ebx, eax
call fcn.00401200
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
jmp 0x408b84
mov esi, dword [esp + 0x8c]
xor ebx, ebx
test edx, edx
sete bl
test cl, cl
jne 0x408b20
test edx, edx
je 0x408b09
mov ebx, dword [esp + 0xb4]
jmp 0x408b8b
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
jmp 0x408b84
mov eax, dword [esp + 0x88]
mov ecx, esi
mov edx, dword [esp + 0xb4]
and ecx, 0x1f
shl eax, cl
inc esi
shr eax, 0x1f
mov dword [esp + 0x8c], esi
lea ecx, [eax + ebx]
add ecx, dword [esp + 0x20]
cmp ecx, 3
jne 0x408b5a
lea eax, [edx - 1]
xor ebx, ebx
test eax, eax
sete bl
add ebx, eax
jmp 0x408b6f
mov eax, dword [esp + ecx*4 + 0xb4]
xor ebx, ebx
test eax, eax
sete bl
add ebx, eax
cmp ecx, 1
je 0x408b7d
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb4], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
test al, al
je 0x408bcc
movzx edx, al
mov ecx, esi
mov eax, dword [esp + 0x88]
add esi, edx
and ecx, 0x1f
mov dword [esp + 0x8c], esi
neg edx
shl eax, cl
and edx, 0x1f
mov ecx, edx
shr eax, cl
add edi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edi
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x44]
movzx edi, cl
movzx eax, al
add eax, edi
cmp eax, 0x14
jb 0x408bf0
lea ecx, [esp + 0x88]
call fcn.00401200
mov esi, dword [esp + 0x8c]
cmp byte [esp + 0x44], 0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], edx
jbe 0x408c29
mov eax, dword [esp + 0x88]
mov ecx, esi
add esi, edi
and ecx, 0x1f
neg edi
shl eax, cl
and edi, 0x1f
mov dword [esp + 0x8c], esi
mov ecx, edi
shr eax, cl
add edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x88]
call fcn.00401200
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc0]
cmp ebx, ecx
mov edi, dword [esp + 0x8c]
cmova eax, dword [esp + 0xc4]
movzx esi, byte [esp + 0x83]
sub eax, ebx
mov ebx, dword [esp + 0x88]
add eax, ecx
mov dword [esp + 0x64], eax
add edi, esi
mov eax, dword [esp + 0x14]
mov edx, ebx
add eax, ecx
mov ecx, edi
neg ecx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x10]
and ecx, 0x1f
shr edx, cl
and edx, dword [esi*4 + 0x421ae0]
movzx eax, ax
add edx, eax
mov dword [esp + 0x9c], edx
movzx edx, byte [esp + 0x7b]
lea ecx, [edx + edi]
neg ecx
lea eax, [edx + edi]
and ecx, 0x1f
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x3c]
shr ebx, cl
lea ecx, [esp + 0x88]
and ebx, dword [edx*4 + 0x421ae0]
movzx eax, ax
add ebx, eax
mov dword [esp + 0xac], ebx
call fcn.00401200
movzx eax, byte [esp + 0x73]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
add ecx, eax
mov dword [esp + 0x8c], ecx
neg ecx
and ecx, 0x1f
shr edx, cl
lea ecx, [esp + 0xd0]
and edx, dword [eax*4 + 0x421ae0]
mov eax, dword [esp + 0x38]
movzx eax, ax
add edx, eax
mov eax, dword [esp + 0x28]
and eax, 3
mov dword [esp + 0xa4], edx
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x18]
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 + 0x10], eax
mov dword [esp + 0x1c], edx
lea ebx, [eax + ebp]
mov dword [esp + 0x3c], ecx
mov edi, ebx
lea esi, [edx + eax]
movd eax, xmm1
mov dword [esp + 0x14], esi
sub edi, eax
mov dword [esp + 0x20], eax
cmp ecx, dword [esp + 0x40]
ja 0x408f5e
mov eax, dword [esp + 0x2c]
lea ecx, [esi + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x408f5e
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x408f5e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
movups xmm0, xmmword [eax]
movups xmmword [ebp], xmm0
cmp ecx, 0x10
jbe 0x408dfc
mov edx, dword [esp + 0x18]
lea eax, [ebp + 0x10]
add ecx, 0xfffffff0
movups xmm0, xmmword [edx + 0x10]
lea ebp, [eax + ecx]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x48]
movups xmmword [eax], xmm0
cmp ecx, 0x10
jle 0x408df8
mov ecx, dword [esp + 0x10]
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 0x408de0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, ebx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x408e66
mov eax, ebx
sub eax, dword [esp + 0x50]
cmp ecx, eax
ja 0x408fe8
mov ecx, dword [esp + 0x4c]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + edx]
cmp eax, ecx
ja 0x408e43
push edx
push edi
push ebx
call fcn.0040baf0
add esp, 0xc
jmp 0x408f92
mov esi, ecx
sub esi, edi
push esi
push edi
push ebx
call fcn.0040baf0
mov edx, dword [esp + 0x28]
add ebx, esi
mov edi, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x20]
sub edx, esi
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
jb 0x408ead
lea eax, [edx + ebx]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [edi]
movups xmmword [ebx], xmm0
cmp edx, 0x10
jle 0x408f92
mov edx, dword [esp + 0x10]
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 0x408e90
jmp 0x408f92
cmp ecx, 8
jae 0x408ee1
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 + 0x4223c0]
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 0x408eeb
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
cmp edx, 8
jbe 0x408f92
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 0x408f29
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 0x408f10
mov esi, dword [esp + 0x14]
jmp 0x408f92
movups xmm0, xmmword [edi]
movups xmmword [edx], xmm0
cmp ecx, 0x10
jle 0x408f58
add edx, 0x10
lea eax, [edi + 0x10]
nop word [eax + eax]
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 0x408f40
mov esi, dword [esp + 0x14]
jmp 0x408f92
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push dword [esp + 0x54]
mov edx, dword [esp + 0x34]
push dword [esp + 0x2c]
movups xmm0, xmmword [ecx]
mov ecx, ebp
push dword [esp + 0x4c]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00407aa0
add esp, 0x24
mov esi, eax
cmp esi, 0xffffff88
ja 0x408fed
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x88]
movups xmm0, xmmword [esp + 0x58]
mov eax, ebx
add ebp, esi
and eax, 3
mov dword [esp + 0x48], ebp
add eax, eax
inc ebx
mov dword [esp + 0x28], ebx
movups xmmword [esp + eax*8 + 0xd0], xmm0
call fcn.00401200
cmp eax, 2
jle 0x408951
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x12c]
cmp ebx, eax
jge 0x408ff8
mov eax, 0xffffffec
jmp 0x4092f2
mov esi, 0xffffffec
mov eax, esi
jmp 0x4092f2
mov edi, dword [esp + 0x30]
sub ebx, edi
mov dword [esp + 0x28], ebx
cmp ebx, eax
jge 0x409295
nop word [eax + eax]
mov eax, ebx
lea ecx, [esp + 0xd0]
and eax, 3
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], 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 + 0x10], eax
mov dword [esp + 0x30], edx
lea ebx, [eax + ebp]
mov dword [esp + 0x38], ecx
mov edi, ebx
mov dword [esp + 0x3c], ebx
lea esi, [edx + eax]
movd eax, xmm1
mov dword [esp + 0x20], esi
sub edi, eax
mov dword [esp + 0x48], eax
cmp ecx, dword [esp + 0x40]
ja 0x409240
mov eax, dword [esp + 0x2c]
lea ecx, [esi + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x409240
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x409240
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
movups xmm0, xmmword [eax]
movups xmmword [ebp], xmm0
cmp ecx, 0x10
jbe 0x4090f1
mov edx, dword [esp + 0x18]
lea eax, [ebp + 0x10]
add ecx, 0xfffffff0
movups xmm0, xmmword [edx + 0x10]
lea ebx, [eax + ecx]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
movups xmmword [eax], xmm0
cmp ecx, 0x10
jle 0x4090ed
mov ecx, dword [esp + 0x10]
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 0x4090d5
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, ebx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x40915b
mov eax, ebx
sub eax, dword [esp + 0x50]
cmp ecx, eax
ja 0x408fe8
mov ecx, dword [esp + 0x4c]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + edx]
cmp eax, ecx
ja 0x409138
push edx
push edi
push ebx
call fcn.0040baf0
add esp, 0xc
jmp 0x409274
mov esi, ecx
sub esi, edi
push esi
push edi
push ebx
call fcn.0040baf0
mov edx, dword [esp + 0x3c]
add ebx, esi
mov edi, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x48]
sub edx, esi
mov esi, dword [esp + 0x20]
cmp ecx, 0x10
jb 0x40919d
lea eax, [edx + ebx]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [edi]
movups xmmword [ebx], xmm0
cmp edx, 0x10
jle 0x409274
mov edx, dword [esp + 0x10]
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 0x409180
jmp 0x409274
cmp ecx, 8
jae 0x4091d1
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 + 0x4223c0]
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 0x4091db
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
cmp edx, 8
jbe 0x409274
lea eax, [ebx + 8]
add edx, 0xfffffff8
add edi, 8
mov ecx, eax
sub ecx, edi
lea ebx, [eax + edx]
cmp ecx, 0x10
jge 0x409215
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 0x409200
jmp 0x409274
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
cmp edx, 0x10
jle 0x409274
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 0x409226
jmp 0x409274
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push dword [esp + 0x54]
mov edx, dword [esp + 0x34]
push dword [esp + 0x2c]
movups xmm0, xmmword [ecx]
mov ecx, ebp
push dword [esp + 0x4c]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00407aa0
add esp, 0x24
mov esi, eax
cmp esi, 0xffffff88
ja 0x408fed
mov ebx, dword [esp + 0x28]
add ebp, esi
inc ebx
mov dword [esp + 0x28], ebx
cmp ebx, dword [esp + 0x12c]
jl 0x409010
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
mov dword [edx + 0x682c], eax
mov eax, dword [esp + 0xb8]
mov dword [edx + 0x6830], eax
mov eax, dword [esp + 0xbc]
mov dword [edx + 0x6834], eax
mov eax, dword [esp + 0x18]
sub edi, eax
sub ebx, ebp
cmp edi, ebx
jbe 0x4092db
mov eax, 0xffffffba
jmp 0x4092f2
test ebp, ebp
je 0x4092ec
push edi
push eax
push ebp
call fcn.0040baf0
add esp, 0xc
add ebp, edi
sub ebp, dword [esp + 0x6c]
mov eax, ebp
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a5d8
add esp, 0x10c
ret