Function at 0x4199f0
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 [0x46a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x46e460]
mov eax, esi
push edi
mov edi, ecx
mov dword [ebp - 0x4c], 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 0x419b3e
call fcn.00419690
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 0x419a70
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 0x419a87
test esi, esi
jne 0x419abb
mov eax, dword [edi + 0x14]
test eax, eax
je 0x419aa1
lea edx, [ebp - 0x24]
mov ecx, eax
call fcn.00419630
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x419abb
lea edx, [ebp - 0x24]
mov ecx, eax
call fcn.00419630
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 0x419ade
test edx, edx
je 0x419b38
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test edx, edx
je 0x419b38
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 0x419b38
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 0x419b22
inc ecx
add edx, 4
cmp ecx, esi
jl 0x419b10
jmp 0x419b38
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 [0x46e460]
cmp dword [edi + 0x28], 0
je 0x419b5b
mov eax, dword [edi + 8]
shr eax, 0xc
test al, 1
je 0x419b5b
mov ecx, edi
call fcn.0041b930
mov esi, dword [0x46e460]
mov ecx, dword [edi + 0x1c]
cmp ecx, 1
jg 0x419cde
cmp dword [edi + 0x10], 0
jne 0x419cde
test dword [edi + 8], 0x400
jne 0x419cde
cmp dword [edi + 0x14], 0
jne 0x419cde
mov edx, dword [ebp - 0x4c]
cmp byte [edx + 0xb1], 0
jne 0x419cde
test ecx, ecx
je 0x419c39
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x419cde
cmp ecx, 1
jne 0x419c39
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 0x419c0d
cmp dword [edx + 0x1e18], eax
jne 0x419c0d
mov ecx, esi
call fcn.0040ff80
mov eax, dword [edi + 0x68]
test eax, eax
je 0x419c39
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 0x419c39
mov dword [ecx + 0x6c], esi
mov byte [esi + 0xc2], 1
mov eax, dword [edi + 0x68]
test eax, eax
je 0x419c59
cmp dword [eax + 0x3c0], edi
jne 0x419c52
mov dword [eax + 0x3c0], 0
mov dword [edi + 0x68], 0
cmp dword [edi + 0x1c], 1
jne 0x419c70
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 0x419c7d
mov ecx, edi
call fcn.0041b930
mov dl, byte [edi + 0x94]
mov ecx, dword [ebp - 0x4c]
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 0x41a609
cmp dword [edi + 0x1c], 1
jne 0x41a609
mov edx, dword [edi + 0x24]
mov ecx, edi
mov edx, dword [edx]
call fcn.00419920
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d6d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test byte [edi + 0x94], 1
je 0x419d79
cmp dword [edi + 0x68], 0
jne 0x419d79
cmp dword [edi + 0x10], 0
jne 0x419d79
test dword [edi + 8], 0x400
jne 0x419d79
cmp dword [edi + 0x14], 0
jne 0x419d79
cmp dword [edi + 0x88], 0
je 0x419d48
xor ecx, ecx
cmp dword [edi + 0x1c], ecx
jle 0x419d48
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 [0x46e460]
je 0x419d3e
inc ecx
add edx, 4
cmp ecx, dword [edi + 0x1c]
jl 0x419d20
jmp 0x419d48
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x419d4d
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jg 0x419d5f
cmp byte [eax + 0xdd], 0
jle 0x419d79
mov dword [edi + 0xc], 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d6d2
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 0x419dab
test eax, 0x4000
jne 0x419dab
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 - 0x30], edx
jmp 0x419dc8
mov al, byte [edi + 0x94]
xor dl, dl
and al, 0xf7
or al, dl
xor edx, edx
and al, 0xfb
mov dword [ebp - 0x30], edx
mov byte [edi + 0x94], al
test ecx, ecx
jle 0x419e24
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 + 0x3a1]
setg cl
and al, 0xfe
or cl, al
mov byte [edx + 0x3a1], cl
mov edx, dword [ebp - 0x30]
mov esi, dword [edi + 0x1c]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x419dd0
mov dword [ebp - 0x3c], esi
mov esi, dword [0x46e460]
mov ecx, dword [ebp - 0x3c]
test dword [ebp - 0x54], 0x8000
mov edx, dword [edi + 8]
je 0x419e37
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 0x419e52
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x30], ecx
jmp 0x41a119
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x41a0e6
test byte [edi + 0x94], 1
je 0x41a0f9
test ecx, ecx
jle 0x419e75
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
jmp 0x419e77
xor edx, edx
mov eax, dword [edi + 0x90]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x419e9b
test edx, edx
je 0x419edd
or dword [esi + 0x1cd0], 1
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
jmp 0x419eac
cmp eax, 1
jne 0x419edd
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 0x419f00
test edx, edx
je 0x419f28
or dword [esi + 0x1cd0], eax
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
jmp 0x419f12
cmp eax, 1
jne 0x419f28
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 0x419f55
test edx, edx
je 0x419f55
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 0x419f7e
test edx, edx
je 0x419f7e
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.00403100
mov esi, dword [0x46e460]
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.0041ff70
push 0x20081139
xor edx, edx
mov dword [esi + 0x159c], 0
lea ecx, [ebp - 0x18]
mov dword [esi + 0x15a0], 0
call fcn.0040ca80
mov esi, dword [0x46e460]
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 - 0x3c], eax
mov eax, dword [eax*4 + 0x460340]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax*4 + 0x460338], 8
jne 0x41a084
mov eax, dword [eax*4 + 0x46033c]
cmp eax, 1
jne 0x41a061
mov eax, dword [edx + ecx*4 - 8]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + esi + 0x1598], eax
jmp 0x41a084
cmp eax, 2
jne 0x41a084
mov edi, dword [ebp - 0x30]
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 - 0x4c]
mov byte [ebp - 0x32], 1
mov edx, dword [ecx + 0x1c48]
mov dword [edi + 0x68], edx
mov dword [ebp - 0x30], 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 0x41a0ef
call fcn.0040ff00
jmp 0x41a0ef
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 0x41a116
mov edx, dword [edi + 0x68]
test edx, edx
je 0x41a116
mov ecx, edi
call fcn.00419920
mov esi, dword [0x46e460]
mov ecx, dword [ebp - 0x30]
cmp dword [edi + 0x10], 0
jne 0x41a187
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1e18]
test eax, eax
je 0x41a14c
mov eax, dword [eax + 0x35c]
mov edx, dword [eax + 0x3bc]
test edx, edx
je 0x41a14c
cmp dword [eax + 0x358], ecx
jne 0x41a14c
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test ecx, ecx
je 0x41a187
test byte [ebp - 0x54], 8
je 0x41a187
mov ecx, dword [ecx + 0x2c4]
sub esp, 8
add ecx, 0x78
mov byte [ebp - 0x31], 1
call fcn.0042b500
mov eax, dword [ebp - 0x30]
push 1
mov ecx, dword [eax + 0x2c4]
push ecx
add ecx, 0x78
call fcn.0042bae0
mov esi, dword [0x46e460]
jmp 0x41a18b
mov byte [ebp - 0x31], 0
cmp dword [edi + 0x10], 0
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x50], eax
jne 0x41a36b
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x41a36b
test byte [ebp - 0x54], 8
je 0x41a36b
test eax, eax
je 0x41a36b
cmp dword [eax + 0x14], 0
jne 0x41a36b
cmp dword [eax + 0x1c], 0
jne 0x41a36b
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 0x41a250
cmp dword [eax + 0x10], 0xffffffff
je 0x41a250
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 0x41a226
cmp byte [ebp - 0x2a], 0
je 0x41a222
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
mov byte [ebp - 0x2a], cl
mov ecx, dword [ebp - 0x30]
jne 0x41a226
add eax, 2
add edx, 2
cmp byte [ebp - 0x2a], 0
jne 0x41a1f6
xor eax, eax
jmp 0x41a22b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41a250
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.0041b9e0
test al, al
je 0x41a24d
mov ecx, dword [edi + 0x10]
mov esi, dword [ebp - 0x30]
mov al, byte [ebp - 0x29]
jmp 0x41a37e
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x50]
mov edx, eax
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41a269
nop dword [eax]
mov edx, eax
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x41a260
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 [0x464880]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x38]
jbe 0x41a2af
addss xmm4, xmm0
comiss xmm5, xmm3
jbe 0x41a2b8
subss xmm3, xmm0
comiss xmm1, xmm6
jbe 0x41a2c1
addss xmm1, xmm0
comiss xmm7, xmm2
jbe 0x41a2ca
subss xmm2, xmm0
comiss xmm4, xmm3
ja 0x41a23f
comiss xmm1, xmm2
ja 0x41a23f
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]
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 + 0x28c], eax
mov ecx, dword [edi + 0x10]
mov al, byte [ebp - 0x29]
jmp 0x41a37e
mov esi, dword [ebp - 0x30]
xor al, al
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x29], al
test esi, esi
je 0x41a41c
mov byte [ebp - 0x2a], al
test ecx, ecx
jne 0x41a3a7
push dword [esi + 0x50]
xor dl, dl
mov ecx, edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
call fcn.0041d230
add esp, 0x10
mov ecx, edi
call fcn.0041d550
mov al, byte [ebp - 0x2a]
cmp dword [edi + 0x14], 0
jne 0x41a41c
cmp dword [edi + 0x1c], 0
jne 0x41a41c
test byte [edi + 0x94], 1
mov byte [ebp - 0x29], al
je 0x41a41c
test byte [ebp - 0x54], 8
mov byte [ebp - 0x29], al
jne 0x41a41c
movss xmm0, dword [edi + 0x2c]
lea edx, [edi + 0x2c]
addss xmm0, dword [edi + 0x34]
movss xmm1, dword [0x46483c]
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.004037c0
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.0042b0b0
mov al, byte [ebp - 0x2a]
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x31], 0
je 0x41a53b
test byte [edi + 0x94], 1
je 0x41a53b
mov ecx, dword [esi + 0x2c4]
push 0
push ecx
add ecx, 0x78
call fcn.0042bae0
cmp byte [ebp - 0x29], 0
lea edx, [edi + 0x2c]
je 0x41a4e2
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 [0x46483c]
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.004037c0
mov ecx, dword [esi + 0x2c4]
xorps xmm2, xmm2
mov edx, eax
call fcn.0042fae0
add esp, 0x20
jmp 0x41a52c
movss xmm0, dword [edi + 0x34]
addss xmm0, dword [edx]
movss xmm1, dword [0x46483c]
push 0
push ecx
mov ecx, 2
mov dword [esp], 0
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [edx + 4]
addss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x3c], xmm0
call fcn.004037c0
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.0042b0b0
mov ecx, dword [esi + 0x2c4]
push ecx
add ecx, 0x78
call fcn.0042b620
test esi, esi
je 0x41a550
cmp dword [edi + 0x1c], 0
jle 0x41a550
mov edx, esi
mov ecx, edi
call fcn.0041a830
jmp 0x41a56a
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 0x41a578
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x41a586
cmp dword [edi + 0x1c], 0
jle 0x41a58c
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x88], eax
test esi, esi
je 0x41a5c9
test byte [edi + 0x94], 1
je 0x41a5c9
cmp dword [edi + 0x10], 0
jne 0x41a5c9
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1c58]
test eax, eax
je 0x41a5b4
cmp dword [eax + 0x360], esi
je 0x41a5c9
mov ecx, esi
call fcn.0041e5a0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x1be0]
mov dword [edi + 0x7c], eax
jmp 0x41a5d9
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1be0]
mov dword [edi + 0x7c], eax
test esi, esi
je 0x41a5fe
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x41a5e5
call fcn.004199f0
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x41a5f1
call fcn.004199f0
cmp dword [edi + 0x10], 0
jne 0x41a5fe
mov ecx, esi
call fcn.0040b940
cmp byte [ebp - 0x32], 0
je 0x41a609
call fcn.0040fc50
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043d6d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret