Function at 0x460950
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, 0x58
mov eax, dword [0x67bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x682310]
mov eax, esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], edi
mov eax, dword [eax + 0x1be0]
mov dword [ebp - 0x34], esi
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 0x460a63
call fcn.004606f0
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov ecx, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
call fcn.004606a0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [edi + 0x70], eax
xor eax, eax
cmp dword [ebp - 0x24], 1
cmove eax, edx
cmp dword [edi + 0x84], 0
mov dword [edi + 0x74], eax
jne 0x4609fe
test edx, edx
je 0x460a5a
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test edx, edx
je 0x460a5a
mov eax, dword [edx + 0x24]
mov ecx, 1
mov eax, dword [eax]
add eax, 0x10
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x48], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x58], xmm0
mov esi, dword [edx + 0x1c]
cmp esi, ecx
jle 0x460a5a
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x44], eax
lea edx, [eax + 4]
nop
mov eax, dword [edx]
cmp byte [eax + 0x2d], 0
je 0x460a42
inc ecx
add edx, 4
cmp ecx, esi
jl 0x460a30
jmp 0x460a5a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + ecx*4]
add eax, 0x10
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x48], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x58], xmm0
mov esi, dword [0x682310]
mov dword [ebp - 0x34], esi
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x460aad
mov eax, dword [edi + 8]
shr eax, 0xc
test al, 1
je 0x460aad
push ecx
call fcn.00466ee0
mov eax, dword [0x682310]
test eax, eax
je 0x460a8c
dec dword [eax + 0x374]
push dword [0x682308]
push dword [ebp - 0x44]
call fcn.004491c0
mov esi, dword [0x682310]
add esp, 8
mov dword [edi + 0x28], 0
mov dword [ebp - 0x34], esi
mov edx, dword [edi + 0x1c]
cmp edx, 1
jg 0x460c34
cmp dword [edi + 0x10], 0
jne 0x460c34
test dword [edi + 8], 0x400
jne 0x460c34
cmp dword [edi + 0x14], 0
jne 0x460c34
mov eax, dword [ebp - 0x54]
cmp byte [eax + 0xb1], 0
jne 0x460c34
test edx, edx
je 0x460afd
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x460c34
cmp edx, 1
jne 0x460b8c
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x68]
mov esi, dword [eax]
mov eax, dword [esi + 0x44]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x90]
and eax, 0xfffffebf
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [edi + 0x90], eax
mov eax, ecx
test ecx, ecx
je 0x460b63
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x1e18], ecx
jne 0x460b63
mov ecx, esi
call fcn.00456170
mov eax, dword [edi + 0x68]
test eax, eax
je 0x460b8c
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 0x460b8c
mov dword [ecx + 0x6c], esi
mov byte [esi + 0xc2], 1
mov ecx, edi
call fcn.00460620
mov cl, byte [edi + 0x94]
mov eax, dword [ebp - 0x54]
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 0x4614d5
cmp dword [edi + 0x1c], 1
jne 0x4614d5
mov eax, dword [edi + 0x24]
mov esi, dword [0x682310]
mov edi, dword [eax]
mov ecx, edi
call fcn.0044c470
mov eax, dword [ebp - 0x58]
movss xmm1, dword [esi + 0x38c]
movss xmm0, dword [esi + 0x390]
subss xmm1, dword [eax + 0x2c]
subss xmm0, dword [eax + 0x30]
mov dword [esi + 0x1c58], edi
movss dword [esi + 0x1ca8], xmm1
movss dword [esi + 0x1cac], xmm0
and byte [eax + 0x94], 0xbf
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005eee94
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov al, byte [edi + 0x94]
test al, 1
je 0x460cdc
cmp dword [edi + 0x68], 0
jne 0x460cdc
cmp dword [edi + 0x10], 0
jne 0x460cdc
test dword [edi + 8], 0x400
jne 0x460cdc
cmp dword [edi + 0x14], 0
jne 0x460cdc
cmp dword [edi + 0x88], 0
je 0x460ca2
xor ecx, ecx
test edx, edx
jle 0x460ca2
mov edx, dword [edi + 0x24]
nop dword [eax + eax]
mov eax, dword [edx]
mov esi, dword [edi + 0x88]
cmp dword [eax + 4], esi
je 0x460c98
inc ecx
add edx, 4
cmp ecx, dword [edi + 0x1c]
jl 0x460c80
jmp 0x460ca2
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x460ca7
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jg 0x460cb9
cmp byte [eax + 0xdd], 0
jle 0x460cd3
mov dword [edi + 0xc], 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005eee94
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, dword [edi + 0x1c]
mov al, byte [edi + 0x94]
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
or esi, ecx
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x34]
test edx, edx
jle 0x460cfb
test dword [ebp - 0x3c], 0x4000
jne 0x460cfb
mov ah, 8
jmp 0x460cfd
xor ah, ah
and al, 0xf7
or al, ah
and al, 0xfb
mov byte [edi + 0x94], al
test edx, edx
jle 0x460d57
xor esi, esi
nop
mov eax, dword [edi + 0x24]
mov edx, dword [eax + esi*4]
mov al, byte [edi + 0x94]
mov cl, byte [edx + 0xcc]
shl cl, 2
or cl, al
xor cl, al
and cl, 4
xor cl, al
cmp dword [edi + 0x1c], 1
mov byte [edi + 0x94], cl
mov al, byte [edx + 0x3a1]
setg cl
and al, 0xfe
inc esi
or cl, al
mov byte [edx + 0x3a1], cl
cmp esi, dword [edi + 0x1c]
jl 0x460d10
mov ecx, dword [edi + 8]
mov esi, dword [ebp - 0x34]
test dword [ebp - 0x3c], 0x8000
je 0x460d67
and byte [edi + 0x94], 0xfb
xor eax, eax
shr ecx, 0xa
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], al
test cl, 1
je 0x460d82
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x34], ecx
jmp 0x460ff4
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x460f84
test byte [edi + 0x94], 1
je 0x460f97
cmp dword [edi + 0x1c], eax
jle 0x460da6
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
jmp 0x460da8
xor ecx, ecx
mov eax, dword [edi + 0x90]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x460dd2
test ecx, ecx
je 0x460e14
or dword [esi + 0x1cd0], 1
mov eax, dword [ecx + 0x44]
mov dword [esi + 0x1ce4], eax
mov eax, dword [ecx + 0x48]
jmp 0x460de9
cmp eax, 1
jne 0x460e14
or dword [esi + 0x1cd0], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1ce4], eax
mov eax, 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], eax
mov eax, dword [edi + 0x90]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x460e3d
test ecx, ecx
je 0x460e65
or dword [esi + 0x1cd0], eax
mov eax, dword [ecx + 0x54]
mov dword [esi + 0x1cf4], eax
mov eax, dword [ecx + 0x58]
jmp 0x460e55
cmp eax, 1
jne 0x460e65
or dword [esi + 0x1cd0], 2
mov eax, dword [edi + 0x34]
mov dword [esi + 0x1cf4], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x1cd8], 1
mov dword [esi + 0x1cf8], eax
mov edx, dword [edi + 0x90]
mov eax, edx
and al, 0x38
cmp al, 0x10
jne 0x460e9a
test ecx, ecx
je 0x460e9a
mov al, byte [ecx + 0xc6]
or dword [esi + 0x1cd0], 8
mov byte [esi + 0x1d0d], al
mov dword [esi + 0x1cdc], 1
mov edx, dword [edi + 0x90]
and edx, 0x1c0
cmp edx, 0x80
jne 0x460ebf
test ecx, ecx
je 0x460ebf
mov eax, dword [ecx + 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.004497a0
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
mov ecx, 1
mov dword [ebp - 0x44], 0
call fcn.0044a3f0
push 0x20081139
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.004539f0
add esp, 0x14
mov ecx, 1
call fcn.0044a470
mov eax, dword [ebp - 0x54]
mov byte [ebp - 0x35], 1
mov ecx, dword [eax + 0x1c48]
mov dword [edi + 0x68], ecx
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx + 0x44]
mov dword [ecx + 0x108], eax
mov eax, dword [ecx + 0x48]
mov dword [ecx + 0x10c], eax
mov eax, dword [ecx + 0x44]
mov dword [ecx + 0x3c0], edi
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 0x48]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x4c]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x50]
mov ecx, dword [edi + 0x68]
mov dword [edi + 0x38], eax
cmp byte [ecx + 0xc9], 0
je 0x460f7c
call fcn.004560f0
mov esi, dword [0x682310]
jmp 0x460f8d
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 0x460ff1
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x460ff1
mov ecx, eax
call fcn.0044c470
movss xmm1, dword [esi + 0x38c]
movss xmm0, dword [esi + 0x390]
subss xmm1, dword [edi + 0x2c]
subss xmm0, dword [edi + 0x30]
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x1c58], eax
movss dword [esi + 0x1ca8], xmm1
movss dword [esi + 0x1cac], xmm0
and byte [edi + 0x94], 0xbf
mov esi, dword [0x682310]
mov ecx, dword [ebp - 0x34]
cmp dword [edi + 0x10], 0
jne 0x46106a
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x1e18]
test eax, eax
je 0x461027
mov eax, dword [eax + 0x35c]
mov edx, dword [eax + 0x3bc]
test edx, edx
je 0x461027
cmp dword [eax + 0x358], ecx
jne 0x461027
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test ecx, ecx
je 0x46106a
mov eax, dword [ebp - 0x3c]
and eax, 8
mov dword [ebp - 0x58], eax
je 0x46106a
push 2
push ecx
mov ecx, dword [ecx + 0x2c4]
add ecx, 0x78
mov byte [ebp - 0x37], 1
call fcn.004718d0
mov eax, dword [ebp - 0x34]
push 1
mov ecx, dword [eax + 0x2c4]
push ecx
add ecx, 0x78
call fcn.00471e60
mov esi, dword [0x682310]
mov edx, dword [ebp - 0x58]
jmp 0x461077
mov edx, dword [ebp - 0x3c]
and edx, 8
mov byte [ebp - 0x37], 0
mov dword [ebp - 0x58], edx
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x3c], eax
test ecx, ecx
jne 0x461245
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x461245
test edx, edx
je 0x461245
test eax, eax
je 0x461245
cmp dword [eax + 0x14], 0
jne 0x461245
cmp dword [eax + 0x1c], 0
jne 0x461245
xor edx, edx
mov byte [ebp - 0x38], 1
cmp byte [esi + 0x1f5c], dl
lea eax, [esi + 0x1f6c]
cmove eax, edx
mov dword [ebp - 0x44], eax
test eax, eax
je 0x461131
cmp dword [eax + 0x10], 0xffffffff
je 0x461131
lea edx, [eax + 0x14]
mov eax, str._IMWINDOW
mov cl, byte [eax]
cmp cl, byte [edx]
mov byte [ebp - 0x36], cl
mov ecx, dword [ebp - 0x34]
jne 0x461111
cmp byte [ebp - 0x36], 0
je 0x46110d
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
mov byte [ebp - 0x36], cl
mov ecx, dword [ebp - 0x34]
jne 0x461111
add eax, 2
add edx, 2
cmp byte [ebp - 0x36], 0
jne 0x4610e1
xor eax, eax
jmp 0x461116
sbb eax, eax
or eax, 1
test eax, eax
jne 0x461131
mov edx, dword [ebp - 0x44]
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.00462590
test al, al
jne 0x461249
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov eax, dword [eax + 0x10]
test eax, eax
je 0x461149
nop dword [eax]
mov edx, eax
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x461140
mov eax, dword [ebp - 0x3c]
movss xmm5, dword [edx + 0x2c]
movss xmm6, dword [edx + 0x30]
movss xmm7, dword [edx + 0x38]
movss xmm4, dword [eax + 0x2c]
addss xmm7, xmm6
comiss xmm4, dword [edx + 0x2c]
movss xmm3, dword [eax + 0x34]
movss xmm1, dword [eax + 0x30]
addss xmm3, xmm4
movss xmm2, dword [eax + 0x38]
addss xmm5, dword [edx + 0x34]
movss xmm0, dword [0x66de7c]
addss xmm2, xmm1
jbe 0x461192
addss xmm4, xmm0
comiss xmm5, xmm3
jbe 0x46119b
subss xmm3, xmm0
comiss xmm1, xmm6
jbe 0x4611a4
addss xmm1, xmm0
comiss xmm7, xmm2
jbe 0x4611ad
subss xmm2, xmm0
comiss xmm4, xmm3
ja 0x461249
comiss xmm1, xmm2
ja 0x461249
subss xmm3, xmm4
movaps xmm0, xmm4
subss xmm2, xmm1
cvttss2si esi, xmm3
cvttss2si edx, xmm2
mov word [ebp - 0x44], si
mov word [ebp - 0x42], dx
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x288], eax
subss xmm0, dword [ecx + 0x44]
cvttss2si eax, xmm0
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x48]
mov word [ebp - 0x44], ax
cvttss2si eax, xmm0
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x28c], eax
mov ecx, dword [ecx + 0x358]
mov word [ebp - 0x44], si
mov word [ebp - 0x42], dx
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x288], eax
subss xmm4, dword [ecx + 0x44]
subss xmm1, dword [ecx + 0x48]
cvttss2si eax, xmm4
mov word [ebp - 0x44], ax
cvttss2si eax, xmm1
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x28c], eax
jmp 0x461249
mov byte [ebp - 0x38], 0
cmp dword [edi + 0x10], 0
mov esi, dword [ebp - 0x34]
jne 0x461279
test esi, esi
je 0x4612e6
push dword [esi + 0x50]
xor dl, dl
mov ecx, edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
call fcn.00463c90
add esp, 0x10
mov ecx, edi
call fcn.00463fc0
test esi, esi
je 0x4612e6
cmp dword [edi + 0x14], 0
jne 0x4612e6
cmp dword [edi + 0x1c], 0
jne 0x4612e6
test byte [edi + 0x94], 1
je 0x4612e6
cmp dword [ebp - 0x58], 0
jne 0x4612e6
movss xmm0, dword [edi + 0x2c]
lea edx, [edi + 0x2c]
addss xmm0, dword [edi + 0x34]
movss xmm1, dword [0x66de28]
push 0
push ecx
mov ecx, 0x27
mov dword [esp], 0
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edx + 4]
addss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x44], xmm0
call fcn.0044a110
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [ebp - 0x48]
push eax
push edx
call fcn.00471450
cmp byte [ebp - 0x37], 0
je 0x461415
test byte [edi + 0x94], 1
je 0x461415
mov ecx, dword [esi + 0x2c4]
push 0
push ecx
add ecx, 0x78
call fcn.00471e60
cmp byte [ebp - 0x38], 0
lea edx, [edi + 0x2c]
je 0x4613bc
mov eax, dword [ebp - 0x3c]
sub esp, 0x10
mov ecx, 2
movss xmm2, dword [eax + 0x2c]
movss xmm0, dword [eax + 0x34]
movss xmm1, dword [eax + 0x30]
addss xmm0, xmm2
movss dword [ebp - 0x30], xmm2
movss xmm2, dword [edx]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x50], xmm2
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 0x38]
mov eax, esp
addss xmm0, xmm1
sub esp, 0x10
movss xmm1, dword [edi + 0x30]
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0x34]
addss xmm0, xmm2
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x38]
addss xmm0, xmm1
movss xmm1, dword [0x66de28]
movss dword [ebp - 0x44], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax], xmm0
call fcn.0044a110
mov ecx, dword [esi + 0x2c4]
xorps xmm2, xmm2
mov edx, eax
call fcn.004760d0
add esp, 0x20
jmp 0x461406
movss xmm0, dword [edx]
addss xmm0, dword [edi + 0x34]
movss xmm1, dword [0x66de28]
push 0
push ecx
mov ecx, 2
mov dword [esp], 0
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x38]
addss xmm0, dword [edx + 4]
movss dword [ebp - 0x44], xmm0
call fcn.0044a110
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [ebp - 0x48]
push eax
push edx
call fcn.00471450
mov ecx, dword [esi + 0x2c4]
push ecx
add ecx, 0x78
call fcn.00471a10
test esi, esi
je 0x46142a
cmp dword [edi + 0x1c], 0
jle 0x46142a
mov edx, esi
mov ecx, edi
call fcn.00461700
jmp 0x461444
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 0x461452
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x461460
cmp dword [edi + 0x1c], 0
jle 0x461466
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x88], eax
test esi, esi
je 0x461495
test byte [edi + 0x94], 1
je 0x461495
cmp dword [edi + 0x10], 0
jne 0x461495
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x1c58]
test eax, eax
je 0x46148e
cmp dword [eax + 0x360], esi
je 0x461495
mov ecx, esi
call fcn.00464f40
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x1be0]
mov dword [edi + 0x7c], eax
test esi, esi
je 0x4614ca
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x4614b1
call fcn.00460950
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x4614bd
call fcn.00460950
cmp dword [edi + 0x10], 0
jne 0x4614ca
mov ecx, esi
call fcn.00452920
cmp byte [ebp - 0x35], 0
je 0x4614d5
call fcn.00455fb0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005eee94
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret