Function at 0x41cd80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4a8040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x591c50]
mov eax, esi
push edi
mov edi, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], edi
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 0x41cece
call fcn.0041ca20
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp dword [edi + 0x1c], ecx
jle 0x41ce00
mov edx, edi
mov ecx, 1
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov eax, dword [edi + 8]
shr eax, 0xb
test al, 1
cmovne esi, edi
mov dword [ebp - 0x2c], esi
cmp ecx, 1
jle 0x41ce17
test esi, esi
jne 0x41ce4b
mov eax, dword [edi + 0x14]
test eax, eax
je 0x41ce31
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.0041c9c0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41ce4b
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.0041c9c0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
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 0x41ce6e
test edx, edx
je 0x41cec8
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test edx, edx
je 0x41cec8
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 0x41cec8
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x44], eax
lea edx, [eax + 4]
nop dword [eax]
mov eax, dword [edx]
cmp byte [eax + 0x2d], 0
je 0x41ceb2
inc ecx
add edx, 4
cmp ecx, esi
jl 0x41cea0
jmp 0x41cec8
mov eax, dword [ebp - 0x44]
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 [0x591c50]
cmp dword [edi + 0x28], 0
je 0x41ceeb
mov eax, dword [edi + 8]
shr eax, 0xc
test al, 1
je 0x41ceeb
mov ecx, edi
call fcn.0041f070
mov esi, dword [0x591c50]
mov ecx, dword [edi + 0x1c]
cmp ecx, 1
jg 0x41d06e
cmp dword [edi + 0x10], 0
jne 0x41d06e
test dword [edi + 8], 0x400
jne 0x41d06e
cmp dword [edi + 0x14], 0
jne 0x41d06e
mov edx, dword [ebp - 0x48]
cmp byte [edx + 0xb1], 0
jne 0x41d06e
test ecx, ecx
je 0x41cfc9
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x41d06e
cmp ecx, 1
jne 0x41cfc9
mov eax, dword [edi + 0x24]
mov esi, dword [eax]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 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 0x41cf9d
cmp dword [edx + 0x1e18], eax
jne 0x41cf9d
mov ecx, esi
call fcn.00413190
mov eax, dword [edi + 0x68]
test eax, eax
je 0x41cfc9
mov ecx, dword [eax + 0x30]
mov dword [esi + 0x30], ecx
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x68]
cmp byte [eax + 0xc2], 0
je 0x41cfc9
mov dword [ecx + 0x6c], esi
mov byte [esi + 0xc2], 1
mov eax, dword [edi + 0x68]
test eax, eax
je 0x41cfe9
cmp dword [eax + 0x3c0], edi
jne 0x41cfe2
mov dword [eax + 0x3c0], 0
mov dword [edi + 0x68], 0
cmp dword [edi + 0x1c], 1
jne 0x41d000
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov dword [edi + 0x6c], eax
mov eax, dword [ecx]
and byte [eax + 0x3a1], 0xfe
cmp dword [edi + 0x28], 0
je 0x41d00d
mov ecx, edi
call fcn.0041f070
mov dl, byte [edi + 0x94]
mov ecx, dword [ebp - 0x48]
and dl, 0xef
and dl, 0xf3
mov dword [edi + 0xc], 1
mov dword [edi + 0x8c], 0
mov byte [edi + 0x94], dl
mov eax, dword [ecx + 0x1be0]
mov dword [edi + 0x7c], eax
test dl, 0x40
je 0x41d980
cmp dword [edi + 0x1c], 1
jne 0x41d980
mov edx, dword [edi + 0x24]
mov ecx, edi
mov edx, dword [edx]
call fcn.0041ccb0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048f4f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test byte [edi + 0x94], 1
je 0x41d109
cmp dword [edi + 0x68], 0
jne 0x41d109
cmp dword [edi + 0x10], 0
jne 0x41d109
test dword [edi + 8], 0x400
jne 0x41d109
cmp dword [edi + 0x14], 0
jne 0x41d109
cmp dword [edi + 0x88], 0
je 0x41d0d8
xor ecx, ecx
cmp dword [edi + 0x1c], ecx
jle 0x41d0d8
mov edx, dword [edi + 0x24]
nop dword [eax]
mov eax, dword [edx]
mov esi, dword [edi + 0x88]
cmp dword [eax + 4], esi
mov esi, dword [0x591c50]
je 0x41d0ce
inc ecx
add edx, 4
cmp ecx, dword [edi + 0x1c]
jl 0x41d0b0
jmp 0x41d0d8
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x41d0dd
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jg 0x41d0ef
cmp byte [eax + 0xdd], 0
jle 0x41d109
mov dword [edi + 0xc], 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048f4f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
or eax, edx
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x4c], eax
test ecx, ecx
jle 0x41d13d
test eax, 0x4000
jne 0x41d13d
mov al, byte [edi + 0x94]
mov cl, 8
and al, 0xf7
or al, cl
and al, 0xfb
mov byte [edi + 0x94], al
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x41d15a
mov al, byte [edi + 0x94]
xor ah, ah
and al, 0xf7
or al, ah
and al, 0xfb
mov byte [edi + 0x94], al
xor eax, eax
mov dword [ebp - 0x34], eax
test ecx, ecx
jle 0x41d1c2
mov esi, dword [edi + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [edi + 0x24]
mov edx, dword [ecx + eax]
mov cl, byte [edi + 0x94]
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 + 0x3a1]
setg cl
and al, 0xfe
or cl, al
mov eax, dword [ebp - 0x34]
mov byte [edx + 0x3a1], cl
inc eax
mov ecx, dword [ebp - 0x3c]
mov esi, dword [edi + 0x1c]
add ecx, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
cmp eax, esi
jl 0x41d162
mov edx, dword [edi + 8]
mov dword [ebp - 0x44], esi
mov esi, dword [0x591c50]
mov ecx, dword [ebp - 0x44]
test dword [ebp - 0x4c], 0x8000
je 0x41d1d2
and byte [edi + 0x94], 0xfb
xor eax, eax
shr edx, 0xa
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x3f], al
test dl, 1
je 0x41d1ed
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x34], ecx
jmp 0x41d4b4
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x41d481
test byte [edi + 0x94], 1
je 0x41d494
test ecx, ecx
jle 0x41d210
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
jmp 0x41d212
xor edx, edx
mov eax, dword [edi + 0x90]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x41d236
test edx, edx
je 0x41d278
or dword [esi + 0x1cd0], 1
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
jmp 0x41d247
cmp eax, 1
jne 0x41d278
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 0x41d29b
test edx, edx
je 0x41d2c3
or dword [esi + 0x1cd0], eax
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
jmp 0x41d2ad
cmp eax, 1
jne 0x41d2c3
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 0x41d2f0
test edx, edx
je 0x41d2f0
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 0x41d319
test edx, edx
je 0x41d319
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.00406d40
mov esi, dword [0x591c50]
lea eax, [ebp - 0x6c]
add esp, 0x10
mov dword [ebp - 0x6c], 1
movss xmm1, dword [esi + 0x159c]
lea ecx, [esi + 0x1d7c]
movss xmm0, dword [esi + 0x15a0]
push eax
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x64], xmm0
call fcn.004236e0
push 0x20081139
xor edx, edx
mov dword [esi + 0x159c], 0
lea ecx, [ebp - 0x18]
mov dword [esi + 0x15a0], 0
call fcn.0040fd80
mov esi, dword [0x591c50]
add esp, 4
mov eax, dword [esi + 0x1d7c]
mov edx, dword [esi + 0x1d84]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*4 - 0xc]
lea eax, [eax + eax*2]
mov dword [ebp - 0x44], eax
mov eax, dword [eax*4 + 0x49f0c8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax*4 + 0x49f0c0], 8
jne 0x41d41f
mov eax, dword [eax*4 + 0x49f0c4]
cmp eax, 1
jne 0x41d3fc
mov eax, dword [edx + ecx*4 - 8]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + esi + 0x1598], eax
jmp 0x41d41f
cmp eax, 2
jne 0x41d41f
mov edi, dword [ebp - 0x34]
mov eax, dword [edx + ecx*4 - 8]
mov dword [edi + esi + 0x1598], eax
mov eax, dword [edx + ecx*4 - 4]
mov ecx, edi
mov edi, dword [ebp - 0x50]
mov dword [ecx + esi + 0x159c], eax
dec dword [esi + 0x1d7c]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 0x3f], 1
mov edx, dword [ecx + 0x1c48]
mov dword [edi + 0x68], edx
mov dword [ebp - 0x34], edx
movss xmm0, dword [edx + 0x44]
movss xmm1, dword [edx + 0x48]
mov dword [edx + 0x3c0], 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 0x41d48a
call fcn.00413110
jmp 0x41d48a
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x34], eax
mov dword [edi + 0x68], eax
and dword [edi + 0x90], 0xfffffe00
test byte [edi + 0x94], 0x40
je 0x41d4b1
mov edx, dword [edi + 0x68]
test edx, edx
je 0x41d4b1
mov ecx, edi
call fcn.0041ccb0
mov esi, dword [0x591c50]
mov ecx, dword [ebp - 0x34]
cmp dword [edi + 0x10], 0
jne 0x41d522
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x1e18]
test eax, eax
je 0x41d4e7
mov eax, dword [eax + 0x35c]
mov edx, dword [eax + 0x3bc]
test edx, edx
je 0x41d4e7
cmp dword [eax + 0x358], ecx
jne 0x41d4e7
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test ecx, ecx
je 0x41d522
test byte [ebp - 0x4c], 8
je 0x41d522
mov ecx, dword [ecx + 0x2c4]
sub esp, 8
add ecx, 0x78
mov byte [ebp - 0x3d], 1
call fcn.0042eaa0
mov eax, dword [ebp - 0x34]
push 1
mov ecx, dword [eax + 0x2c4]
push ecx
add ecx, 0x78
call fcn.0042f080
mov esi, dword [0x591c50]
jmp 0x41d526
mov byte [ebp - 0x3d], 0
cmp dword [edi + 0x10], 0
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x44], eax
jne 0x41d6f3
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x41d6f3
test byte [ebp - 0x4c], 8
je 0x41d6f3
test eax, eax
je 0x41d6f3
cmp dword [eax + 0x14], 0
jne 0x41d6f3
cmp dword [eax + 0x1c], 0
jne 0x41d6f3
xor edx, edx
mov byte [ebp - 0x3e], 1
cmp byte [esi + 0x1f5c], dl
lea eax, [esi + 0x1f6c]
cmove eax, edx
mov dword [ebp - 0x50], eax
test eax, eax
je 0x41d5e5
cmp dword [eax + 0x10], 0xffffffff
je 0x41d5e5
lea edx, [eax + 0x14]
mov eax, str._IMWINDOW
mov cl, byte [eax]
cmp cl, byte [edx]
mov byte [ebp - 0x35], cl
mov ecx, dword [ebp - 0x34]
jne 0x41d5c1
cmp byte [ebp - 0x35], 0
je 0x41d5bd
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
mov byte [ebp - 0x35], cl
mov ecx, dword [ebp - 0x34]
jne 0x41d5c1
add eax, 2
add edx, 2
cmp byte [ebp - 0x35], 0
jne 0x41d591
xor eax, eax
jmp 0x41d5c6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41d5e5
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x34]
mov ecx, esi
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.0041f120
test al, al
jne 0x41d6fa
mov ecx, esi
mov esi, dword [ebp - 0x44]
mov edx, esi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41d5fa
mov edx, eax
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x41d5f1
movss xmm4, dword [esi + 0x2c]
comiss xmm4, dword [edx + 0x2c]
movss xmm6, dword [edx + 0x30]
movaps xmm3, xmm4
movss xmm1, dword [esi + 0x30]
movaps xmm7, xmm6
movss xmm5, dword [edx + 0x2c]
movaps xmm2, xmm1
addss xmm5, dword [edx + 0x34]
addss xmm7, dword [edx + 0x38]
addss xmm3, dword [esi + 0x34]
addss xmm2, dword [esi + 0x38]
movss xmm0, dword [0x4a3618]
jbe 0x41d63d
addss xmm4, xmm0
comiss xmm5, xmm3
jbe 0x41d646
subss xmm3, xmm0
comiss xmm1, xmm6
jbe 0x41d64f
addss xmm1, xmm0
comiss xmm7, xmm2
jbe 0x41d658
subss xmm2, xmm0
comiss xmm4, xmm3
ja 0x41d6ee
comiss xmm1, xmm2
ja 0x41d6ee
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 + 0x288], 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 + 0x28c], eax
mov ecx, dword [ecx + 0x358]
mov word [ebp - 0x3c], si
mov word [ebp - 0x3a], dx
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x288], eax
subss xmm4, dword [ecx + 0x44]
subss xmm1, dword [ecx + 0x48]
cvttss2si eax, xmm4
mov word [ebp - 0x3c], ax
cvttss2si eax, xmm1
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x28c], eax
mov eax, dword [edi + 0x10]
jmp 0x41d705
mov esi, dword [ebp - 0x34]
mov byte [ebp - 0x3e], 0
mov eax, dword [edi + 0x10]
test esi, esi
je 0x41d793
mov esi, dword [ebp - 0x34]
test eax, eax
jne 0x41d72b
push dword [esi + 0x50]
xor dl, dl
mov ecx, edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
call fcn.004208d0
add esp, 0x10
mov ecx, edi
call fcn.00420bf0
cmp dword [edi + 0x14], 0
jne 0x41d793
cmp dword [edi + 0x1c], 0
jne 0x41d793
test byte [edi + 0x94], 1
je 0x41d793
test byte [ebp - 0x4c], 8
jne 0x41d793
movss xmm0, dword [edi + 0x34]
lea edx, [edi + 0x2c]
addss xmm0, dword [edx]
movss xmm1, dword [0x4a35c4]
push 0
push ecx
mov ecx, 0x27
mov dword [esp], 0
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [edi + 0x38]
addss xmm0, dword [edx + 4]
movss dword [ebp - 0x50], xmm0
call fcn.00407440
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [ebp - 0x54]
push eax
push edx
call fcn.0042e210
cmp byte [ebp - 0x3d], 0
je 0x41d8b2
test byte [edi + 0x94], 1
je 0x41d8b2
mov ecx, dword [esi + 0x2c4]
push 0
push ecx
add ecx, 0x78
call fcn.0042f080
cmp byte [ebp - 0x3e], 0
lea edx, [edi + 0x2c]
je 0x41d859
mov eax, dword [ebp - 0x44]
sub esp, 0x10
mov ecx, 2
movss xmm0, dword [eax + 0x30]
movss xmm1, dword [eax + 0x2c]
movss dword [ebp - 0x6c], xmm0
addss xmm0, dword [eax + 0x38]
movss dword [ebp - 0x70], xmm1
addss xmm1, dword [eax + 0x34]
mov eax, esp
sub esp, 0x10
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [edi + 0x30]
movss dword [ebp - 0x2c], xmm0
addss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x68], xmm1
movss xmm1, dword [edx]
movss dword [ebp - 0x30], xmm1
addss xmm1, dword [edi + 0x34]
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [eax], xmm0
mov eax, esp
movss dword [ebp - 0x28], xmm1
movups xmm0, xmmword [ebp - 0x30]
movss xmm1, dword [0x4a35c4]
movups xmmword [eax], xmm0
call fcn.00407440
mov ecx, dword [esi + 0x2c4]
xorps xmm2, xmm2
mov edx, eax
call fcn.00433220
add esp, 0x20
jmp 0x41d8a3
movss xmm0, dword [edi + 0x34]
addss xmm0, dword [edx]
movss xmm1, dword [0x4a35c4]
push 0
push ecx
mov ecx, 2
mov dword [esp], 0
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [edx + 4]
addss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x50], xmm0
call fcn.00407440
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [ebp - 0x54]
push eax
push edx
call fcn.0042e210
mov ecx, dword [esi + 0x2c4]
push ecx
add ecx, 0x78
call fcn.0042ebc0
test esi, esi
je 0x41d8c7
cmp dword [edi + 0x1c], 0
jle 0x41d8c7
mov edx, esi
mov ecx, edi
call fcn.0041dbb0
jmp 0x41d8e1
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 0x41d8ef
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x41d8fd
cmp dword [edi + 0x1c], 0
jle 0x41d903
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x88], eax
test esi, esi
je 0x41d940
test byte [edi + 0x94], 1
je 0x41d940
cmp dword [edi + 0x10], 0
jne 0x41d940
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x1c58]
test eax, eax
je 0x41d92b
cmp dword [eax + 0x360], esi
je 0x41d940
mov ecx, esi
call fcn.00421c80
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x1be0]
mov dword [edi + 0x7c], eax
jmp 0x41d950
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x1be0]
mov dword [edi + 0x7c], eax
test esi, esi
je 0x41d975
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x41d95c
call fcn.0041cd80
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x41d968
call fcn.0041cd80
cmp dword [edi + 0x10], 0
jne 0x41d975
mov ecx, esi
call fcn.0040f4c0
cmp byte [ebp - 0x3f], 0
je 0x41d980
call fcn.00412f20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048f4f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret