Function at 0x41a990
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x5887f0]
mov eax, esi
push edi
mov edi, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], esi
mov eax, dword [eax + 0x1be0]
and byte [edi + 0x95], 0xfd
cmp dword [edi + 0x10], 0
mov dword [edi + 0x78], eax
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
jne 0x41aae1
call fcn.0041a690
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp dword [edi + 0x1c], ecx
jle 0x41aa10
mov edx, edi
mov ecx, 1
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [edi + 8]
shr eax, 0xb
test al, 1
cmovne esi, edi
mov dword [ebp - 0x24], esi
cmp ecx, 1
jle 0x41aa27
test esi, esi
jne 0x41aa5b
mov eax, dword [edi + 0x14]
test eax, eax
je 0x41aa41
lea edx, [ebp - 0x24]
mov ecx, eax
call fcn.0041a630
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41aa5b
lea edx, [ebp - 0x24]
mov ecx, eax
call fcn.0041a630
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
xor eax, eax
mov dword [edi + 0x70], esi
cmp ecx, 1
cmove eax, edx
cmp dword [edi + 0x84], 0
mov dword [edi + 0x74], eax
jne 0x41aa7e
test edx, edx
je 0x41aad8
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test edx, edx
je 0x41aad8
mov eax, dword [edx + 0x24]
mov ecx, 1
mov eax, dword [eax]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x48], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x58], xmm0
mov esi, dword [edx + 0x1c]
cmp esi, ecx
jle 0x41aad8
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x3c], eax
lea edx, [eax + 4]
nop dword [eax]
mov eax, dword [edx]
cmp byte [eax + 0x2d], 0
je 0x41aac2
inc ecx
add edx, 4
cmp ecx, esi
jl 0x41aab0
jmp 0x41aad8
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x48], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x58], xmm0
mov esi, dword [0x5887f0]
mov dword [ebp - 0x30], esi
cmp dword [edi + 0x28], 0
je 0x41ab01
mov eax, dword [edi + 8]
shr eax, 0xc
test al, 1
je 0x41ab01
mov ecx, edi
call fcn.0041c8d0
mov esi, dword [0x5887f0]
mov dword [ebp - 0x30], esi
mov ecx, dword [edi + 0x1c]
cmp ecx, 1
jg 0x41ad4f
cmp dword [edi + 0x10], 0
jne 0x41ad4f
test dword [edi + 8], 0x400
jne 0x41ad4f
cmp dword [edi + 0x14], 0
jne 0x41ad4f
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0xb1], 0
jne 0x41ad4f
test ecx, ecx
je 0x41abee
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x41ad4f
cmp ecx, 1
jne 0x41abee
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x90]
and eax, 0xfffffebf
mov dword [edi + 0x38], ecx
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x68]
test eax, eax
je 0x41abc2
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x1e18], eax
jne 0x41abc2
mov ecx, edx
call fcn.004109e0
mov esi, dword [0x5887f0]
mov edx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x68]
test eax, eax
je 0x41abee
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 0x34]
mov dword [edx + 0x34], eax
mov eax, dword [edi + 0x68]
cmp byte [eax + 0xc2], 0
je 0x41abee
mov dword [ecx + 0x6c], edx
mov byte [edx + 0xc2], 1
mov eax, dword [edi + 0x68]
test eax, eax
je 0x41ac0e
cmp dword [eax + 0x3c4], edi
jne 0x41ac07
mov dword [eax + 0x3c4], 0
mov dword [edi + 0x68], 0
cmp dword [edi + 0x1c], 1
jne 0x41ac25
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov dword [edi + 0x6c], eax
mov eax, dword [ecx]
and byte [eax + 0x3a5], 0xfe
cmp dword [edi + 0x28], 0
je 0x41ac38
mov ecx, edi
call fcn.0041c8d0
mov esi, dword [0x5887f0]
mov cl, byte [edi + 0x94]
mov eax, dword [ebp - 0x4c]
and cl, 0xef
and cl, 0xf3
mov dword [edi + 0xc], 1
mov dword [edi + 0x8c], 0
mov byte [edi + 0x94], cl
mov eax, dword [eax + 0x1be0]
mov dword [edi + 0x7c], eax
test cl, 0x40
je 0x41b6c8
cmp dword [edi + 0x1c], 1
jne 0x41b6c8
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
call fcn.004109e0
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + 0x88]
call fcn.00405db0
mov byte [esi + 0x1e6a], 1
mov cl, 1
mov byte [esi + 0x1c92], 1
mov eax, dword [edx + 0x364]
movss xmm2, dword [esi + 0x38c]
movss xmm0, dword [esi + 0x390]
movaps xmm1, xmm2
subss xmm1, dword [eax + 0x44]
subss xmm0, dword [eax + 0x48]
movss dword [esi + 0x1ca8], xmm1
movss dword [esi + 0x1cac], xmm0
test byte [edx + 8], 4
jne 0x41acea
mov eax, dword [edx + 0x364]
test byte [eax + 8], 4
je 0x41acec
xor cl, cl
mov eax, dword [edx + 0x3c4]
test eax, eax
je 0x41ad03
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x41ad03
test byte [eax + 8], 4
jne 0x41ad0d
test cl, cl
je 0x41ad0d
mov dword [esi + 0x1c58], edx
movss xmm0, dword [esi + 0x390]
subss xmm2, dword [edi + 0x2c]
subss xmm0, dword [edi + 0x30]
mov dword [esi + 0x1c58], edx
movss dword [esi + 0x1ca8], xmm2
movss dword [esi + 0x1cac], xmm0
and byte [edi + 0x94], 0xbf
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test byte [edi + 0x94], 1
je 0x41ade6
cmp dword [edi + 0x68], 0
jne 0x41ade6
cmp dword [edi + 0x10], 0
jne 0x41ade6
test dword [edi + 8], 0x400
jne 0x41ade6
cmp dword [edi + 0x14], 0
jne 0x41ade6
cmp dword [edi + 0x88], 0
je 0x41adb5
xor ecx, ecx
cmp dword [edi + 0x1c], ecx
jle 0x41adb5
mov edx, dword [edi + 0x24]
nop
mov eax, dword [edx]
mov esi, dword [edi + 0x88]
cmp dword [eax + 4], esi
mov esi, dword [ebp - 0x30]
je 0x41adab
inc ecx
add edx, 4
cmp ecx, dword [edi + 0x1c]
jl 0x41ad90
jmp 0x41adb5
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x41adba
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jg 0x41adcc
cmp byte [eax + 0xdd], 0
jle 0x41ade6
mov dword [edi + 0xc], 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [edi + 4]
or eax, dword [edi + 8]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x54], eax
test ecx, ecx
jle 0x41ae18
test eax, 0x4000
jne 0x41ae18
mov al, byte [edi + 0x94]
mov cl, 8
and al, 0xf7
or al, cl
and al, 0xfb
xor edx, edx
mov byte [edi + 0x94], al
mov dword [ebp - 0x50], edx
jmp 0x41ae35
mov al, byte [edi + 0x94]
xor dl, dl
and al, 0xf7
or al, dl
xor edx, edx
and al, 0xfb
mov dword [ebp - 0x50], edx
mov byte [edi + 0x94], al
test ecx, ecx
jle 0x41ae91
mov esi, dword [edi + 0x1c]
nop dword [eax + eax]
mov eax, dword [edi + 0x24]
mov cl, byte [edi + 0x94]
mov edx, dword [eax + edx*4]
mov al, byte [edx + 0xcc]
shl al, 2
or al, cl
and cl, 0xfb
and al, 4
xor al, cl
cmp esi, 1
mov byte [edi + 0x94], al
mov al, byte [edx + 0x3a5]
setg cl
and al, 0xfe
or cl, al
mov byte [edx + 0x3a5], cl
mov edx, dword [ebp - 0x50]
mov esi, dword [edi + 0x1c]
inc edx
mov dword [ebp - 0x50], edx
cmp edx, esi
jl 0x41ae40
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
test dword [ebp - 0x54], 0x8000
mov edx, dword [edi + 8]
je 0x41aea4
and byte [edi + 0x94], 0xfb
xor eax, eax
shr edx, 0xa
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x32], al
test dl, 1
je 0x41aebf
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x30], ecx
jmp 0x41b1d9
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x41b0e8
test byte [edi + 0x94], 1
je 0x41b0fb
test ecx, ecx
jle 0x41aee2
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
jmp 0x41aee4
xor edx, edx
mov eax, dword [edi + 0x90]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x41af08
test edx, edx
je 0x41af4a
or dword [esi + 0x1cd0], 1
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
jmp 0x41af19
cmp eax, 1
jne 0x41af4a
or dword [esi + 0x1cd0], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
mov byte [esi + 0x1d0c], 1
mov dword [esi + 0x1cd4], 1
mov dword [esi + 0x1cf0], 0
mov dword [esi + 0x1cec], 0
mov dword [esi + 0x1ce8], ecx
mov dword [esi + 0x1ce4], eax
mov eax, dword [edi + 0x90]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x41af6d
test edx, edx
je 0x41af95
or dword [esi + 0x1cd0], eax
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
jmp 0x41af7f
cmp eax, 1
jne 0x41af95
or dword [esi + 0x1cd0], 2
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x1cd8], 1
mov dword [esi + 0x1cf8], ecx
mov dword [esi + 0x1cf4], eax
mov eax, dword [edi + 0x90]
and al, 0x38
cmp al, 0x10
jne 0x41afc2
test edx, edx
je 0x41afc2
mov al, byte [edx + 0xc6]
or dword [esi + 0x1cd0], 8
mov byte [esi + 0x1d0d], al
mov dword [esi + 0x1cdc], 1
mov eax, dword [edi + 0x90]
and eax, 0x1c0
cmp eax, 0x80
jne 0x41afeb
test edx, edx
je 0x41afeb
mov eax, dword [edx + 0x34]
or dword [esi + 0x1cd0], 0x100
mov dword [esi + 0x1d2c], eax
or dword [esi + 0x1cd0], 0x400
lea eax, [ebp - 0x18]
movups xmm0, xmmword [edi + 0x48]
movups xmmword [esi + 0x1d34], xmm0
movups xmm0, xmmword [edi + 0x58]
movups xmmword [esi + 0x1d44], xmm0
push dword [edi]
push str.DockNode__02X
push 0x14
push eax
call fcn.00403990
mov esi, dword [0x5887f0]
lea eax, [ebp - 0x44]
add esp, 0x10
mov dword [ebp - 0x44], 1
movss xmm1, dword [esi + 0x159c]
lea ecx, [esi + 0x1d7c]
movss xmm0, dword [esi + 0x15a0]
push eax
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x3c], xmm0
call fcn.00420fd0
push 0x20081139
xor edx, edx
mov dword [esi + 0x159c], 0
lea ecx, [ebp - 0x18]
mov dword [esi + 0x15a0], 0
call fcn.0040d5c0
add esp, 4
mov ecx, 1
call fcn.00404470
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x32], 1
mov edx, dword [eax + 0x1c48]
mov dword [edi + 0x68], edx
mov dword [ebp - 0x30], edx
movss xmm0, dword [edx + 0x44]
movss xmm1, dword [edx + 0x48]
mov dword [edx + 0x3c4], edi
movss dword [edx + 0x108], xmm0
movss dword [edx + 0x10c], xmm1
movss dword [edi + 0x2c], xmm0
movss dword [edi + 0x30], xmm1
mov ecx, dword [edx + 0x50]
mov eax, dword [edx + 0x4c]
mov dword [edi + 0x38], ecx
mov ecx, dword [edi + 0x68]
mov dword [edi + 0x34], eax
cmp byte [ecx + 0xc9], 0
je 0x41b0e0
call fcn.00410960
mov esi, dword [0x5887f0]
jmp 0x41b0f1
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x30], eax
mov dword [edi + 0x68], eax
and dword [edi + 0x90], 0xfffffe00
test byte [edi + 0x94], 0x40
je 0x41b1d6
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x41b1d6
call fcn.004109e0
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + 0x88]
call fcn.00405db0
mov byte [esi + 0x1e6a], 1
mov cl, 1
mov byte [esi + 0x1c92], 1
mov eax, dword [edx + 0x364]
movss xmm2, dword [esi + 0x38c]
movss xmm0, dword [esi + 0x390]
movaps xmm1, xmm2
subss xmm1, dword [eax + 0x44]
subss xmm0, dword [eax + 0x48]
movss dword [esi + 0x1ca8], xmm1
movss dword [esi + 0x1cac], xmm0
test byte [edx + 8], 4
jne 0x41b17e
mov eax, dword [edx + 0x364]
test byte [eax + 8], 4
je 0x41b180
xor cl, cl
mov eax, dword [edx + 0x3c4]
test eax, eax
je 0x41b197
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x41b197
test byte [eax + 8], 4
jne 0x41b1a1
test cl, cl
je 0x41b1a1
mov dword [esi + 0x1c58], edx
movss xmm0, dword [esi + 0x390]
subss xmm2, dword [edi + 0x2c]
subss xmm0, dword [edi + 0x30]
mov dword [esi + 0x1c58], edx
movss dword [esi + 0x1ca8], xmm2
movss dword [esi + 0x1cac], xmm0
and byte [edi + 0x94], 0xbf
mov esi, dword [0x5887f0]
mov ecx, dword [ebp - 0x30]
cmp dword [edi + 0x10], 0
jne 0x41b247
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1e18]
test eax, eax
je 0x41b20c
mov eax, dword [eax + 0x360]
mov edx, dword [eax + 0x3c0]
test edx, edx
je 0x41b20c
cmp dword [eax + 0x35c], ecx
jne 0x41b20c
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test ecx, ecx
je 0x41b247
test byte [ebp - 0x54], 8
je 0x41b247
mov ecx, dword [ecx + 0x2c8]
sub esp, 8
add ecx, 0x78
mov byte [ebp - 0x31], 1
call fcn.0042c620
mov eax, dword [ebp - 0x30]
push 1
mov ecx, dword [eax + 0x2c8]
push ecx
add ecx, 0x78
call fcn.0042cb40
mov esi, dword [0x5887f0]
jmp 0x41b24b
mov byte [ebp - 0x31], 0
cmp dword [edi + 0x10], 0
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x50], eax
jne 0x41b42b
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x41b42b
test byte [ebp - 0x54], 8
je 0x41b42b
test eax, eax
je 0x41b42b
cmp dword [eax + 0x14], 0
jne 0x41b42b
cmp dword [eax + 0x1c], 0
jne 0x41b42b
xor edx, edx
mov byte [ebp - 0x29], 1
cmp byte [esi + 0x1f5c], dl
lea eax, [esi + 0x1f6c]
cmove eax, edx
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41b310
cmp dword [eax + 0x10], 0xffffffff
je 0x41b310
lea edx, [eax + 0x14]
mov eax, str._IMWINDOW
mov cl, byte [eax]
cmp cl, byte [edx]
mov byte [ebp - 0x2a], cl
mov ecx, dword [ebp - 0x30]
jne 0x41b2e6
cmp byte [ebp - 0x2a], 0
je 0x41b2e2
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
mov byte [ebp - 0x2a], cl
mov ecx, dword [ebp - 0x30]
jne 0x41b2e6
add eax, 2
add edx, 2
cmp byte [ebp - 0x2a], 0
jne 0x41b2b6
xor eax, eax
jmp 0x41b2eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41b310
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.0041c980
test al, al
je 0x41b30d
mov ecx, dword [edi + 0x10]
mov esi, dword [ebp - 0x30]
mov al, byte [ebp - 0x29]
jmp 0x41b43e
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x50]
mov edx, eax
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41b329
nop dword [eax]
mov edx, eax
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x41b320
mov eax, dword [ebp - 0x50]
movss xmm6, dword [edx + 0x30]
movss xmm5, dword [edx + 0x2c]
movaps xmm7, xmm6
addss xmm5, dword [edx + 0x34]
movss xmm4, dword [eax + 0x2c]
comiss xmm4, dword [edx + 0x2c]
movss xmm1, dword [eax + 0x30]
movaps xmm3, xmm4
addss xmm7, dword [edx + 0x38]
addss xmm3, dword [eax + 0x34]
movss xmm0, dword [0x4fea54]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x38]
jbe 0x41b36f
addss xmm4, xmm0
comiss xmm5, xmm3
jbe 0x41b378
subss xmm3, xmm0
comiss xmm1, xmm6
jbe 0x41b381
addss xmm1, xmm0
comiss xmm7, xmm2
jbe 0x41b38a
subss xmm2, xmm0
comiss xmm4, xmm3
ja 0x41b2ff
comiss xmm1, xmm2
ja 0x41b2ff
subss xmm3, xmm4
movaps xmm0, xmm4
subss xmm2, xmm1
cvttss2si esi, xmm3
cvttss2si edx, xmm2
mov word [ebp - 0x3c], si
mov word [ebp - 0x3a], dx
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x28c], eax
subss xmm0, dword [ecx + 0x44]
cvttss2si eax, xmm0
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x48]
mov word [ebp - 0x3c], ax
cvttss2si eax, xmm0
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x290], eax
mov ecx, dword [ecx + 0x35c]
mov word [ebp - 0x3c], si
mov word [ebp - 0x3a], dx
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x28c], eax
subss xmm4, dword [ecx + 0x44]
subss xmm1, dword [ecx + 0x48]
mov esi, dword [ebp - 0x30]
cvttss2si eax, xmm4
mov word [ebp - 0x3c], ax
cvttss2si eax, xmm1
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x290], eax
mov ecx, dword [edi + 0x10]
mov al, byte [ebp - 0x29]
jmp 0x41b43e
mov esi, dword [ebp - 0x30]
xor al, al
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x29], al
test esi, esi
je 0x41b4db
mov byte [ebp - 0x2a], al
test ecx, ecx
jne 0x41b467
push dword [esi + 0x50]
xor dl, dl
mov ecx, edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
call fcn.0041e1b0
add esp, 0x10
mov ecx, edi
call fcn.0041e500
mov al, byte [ebp - 0x2a]
cmp dword [edi + 0x14], 0
jne 0x41b4db
cmp dword [edi + 0x1c], 0
jne 0x41b4db
test byte [edi + 0x94], 1
mov byte [ebp - 0x29], al
je 0x41b4db
test byte [ebp - 0x54], 8
mov byte [ebp - 0x29], al
jne 0x41b4db
movss xmm0, dword [edi + 0x34]
lea edx, [edi + 0x2c]
addss xmm0, dword [edx]
movss xmm1, dword [0x4fe9fc]
push 0
push ecx
mov ecx, 0x27
mov dword [esp], 0
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [edi + 0x38]
addss xmm0, dword [edx + 4]
movss dword [ebp - 0x3c], xmm0
call fcn.004041e0
mov ecx, dword [esi + 0x2c8]
push eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.0042c1d0
mov al, byte [ebp - 0x2a]
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x31], 0
je 0x41b5fa
test byte [edi + 0x94], 1
je 0x41b5fa
mov ecx, dword [esi + 0x2c8]
push 0
push ecx
add ecx, 0x78
call fcn.0042cb40
cmp byte [ebp - 0x29], 0
lea edx, [edi + 0x2c]
je 0x41b5a1
mov eax, dword [ebp - 0x50]
sub esp, 0x10
movss xmm2, dword [edi + 0x30]
mov ecx, 2
movss dword [ebp - 0x44], xmm2
addss xmm2, dword [edi + 0x38]
movss xmm0, dword [eax + 0x2c]
movss xmm1, dword [eax + 0x30]
movss dword [ebp - 0x28], xmm0
addss xmm0, dword [eax + 0x34]
movss dword [ebp - 0x24], xmm1
addss xmm1, dword [eax + 0x38]
mov eax, esp
movss dword [ebp - 0x3c], xmm2
sub esp, 0x10
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edx]
movss dword [ebp - 0x48], xmm0
addss xmm0, dword [edi + 0x34]
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [0x4fe9fc]
movss dword [ebp - 0x40], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [eax], xmm0
call fcn.004041e0
mov ecx, dword [esi + 0x2c8]
xorps xmm2, xmm2
mov edx, eax
call fcn.00431590
add esp, 0x20
jmp 0x41b5eb
movss xmm0, dword [edi + 0x34]
addss xmm0, dword [edx]
movss xmm1, dword [0x4fe9fc]
push 0
push ecx
mov ecx, 2
mov dword [esp], 0
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [edi + 0x38]
addss xmm0, dword [edx + 4]
movss dword [ebp - 0x3c], xmm0
call fcn.004041e0
mov ecx, dword [esi + 0x2c8]
push eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.0042c1d0
mov ecx, dword [esi + 0x2c8]
push ecx
add ecx, 0x78
call fcn.0042c740
test esi, esi
je 0x41b60f
cmp dword [edi + 0x1c], 0
jle 0x41b60f
mov edx, esi
mov ecx, edi
call fcn.0041b8f0
jmp 0x41b629
mov al, byte [edi + 0x94]
and al, 0xef
mov dword [edi + 0x8c], 0
and al, 0xfd
mov byte [edi + 0x94], al
mov eax, dword [edi + 0x28]
test eax, eax
je 0x41b637
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x41b645
cmp dword [edi + 0x1c], 0
jle 0x41b64b
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x88], eax
test esi, esi
je 0x41b688
test byte [edi + 0x94], 1
je 0x41b688
cmp dword [edi + 0x10], 0
jne 0x41b688
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1c58]
test eax, eax
je 0x41b673
cmp dword [eax + 0x364], esi
je 0x41b688
mov ecx, esi
call fcn.0041f550
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x1be0]
mov dword [edi + 0x7c], eax
jmp 0x41b698
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1be0]
mov dword [edi + 0x7c], eax
test esi, esi
je 0x41b6bd
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x41b6a4
call fcn.0041a990
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x41b6b0
call fcn.0041a990
cmp dword [edi + 0x10], 0
jne 0x41b6bd
mov ecx, esi
call fcn.0040c3d0
cmp byte [ebp - 0x32], 0
je 0x41b6c8
call fcn.00410770
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004870f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret