Function at 0x45f8f0
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 [0x686bb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x6d4050]
mov eax, esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
mov eax, dword [eax + 0x1a68]
and byte [edi + 0x91], 0xfb
cmp dword [edi + 0x10], 0
mov dword [edi + 0x74], eax
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
jne 0x45fa06
call fcn.0045f570
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov ecx, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
call fcn.0045f520
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [edi + 0x6c], eax
xor eax, eax
cmp dword [ebp - 0x24], 1
cmove eax, edx
cmp dword [edi + 0x80], 0
mov dword [edi + 0x70], eax
jne 0x45f998
test edx, edx
je 0x45fa00
mov eax, dword [edx]
mov dword [edi + 0x80], eax
test edx, edx
je 0x45fa00
mov eax, dword [edx + 0x24]
mov ecx, 1
mov eax, dword [eax]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x48], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x58], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x60], eax
mov esi, dword [edx + 0x1c]
cmp esi, ecx
jle 0x45fa00
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x44], eax
lea edx, [eax + 4]
nop
mov eax, dword [edx]
cmp byte [eax + 0x29], 0
je 0x45f9e2
inc ecx
add edx, 4
cmp ecx, esi
jl 0x45f9d0
jmp 0x45fa00
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x48], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x58], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x60], eax
mov esi, dword [0x6d4050]
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x45fa29
mov eax, dword [edi + 8]
shr eax, 0xc
test al, 1
je 0x45fa29
call fcn.00465f40
mov esi, dword [0x6d4050]
mov dword [edi + 0x28], 0
mov eax, dword [edi + 0x1c]
cmp eax, 1
jg 0x45fbb3
cmp dword [edi + 0x10], 0
jne 0x45fbb3
test dword [edi + 8], 0x400
jne 0x45fbb3
cmp dword [edi + 0x14], 0
jne 0x45fbb3
mov edx, dword [ebp - 0x54]
cmp byte [edx + 0xb2], 0
jne 0x45fbb3
test eax, eax
je 0x45fb0a
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0x28], 0
jne 0x45fbb0
cmp dword [edi + 0x1c], 1
jne 0x45fb0a
mov eax, dword [edi + 0x24]
mov esi, dword [eax]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x8c]
and eax, 0xfffffebf
mov dword [edi + 0x38], ecx
mov ecx, dword [edi + 0x64]
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [edi + 0x8c], eax
mov eax, ecx
test ecx, ecx
je 0x45fae1
cmp dword [edx + 0x1c48], ecx
jne 0x45fae5
mov ecx, esi
call fcn.004562c0
mov eax, dword [edi + 0x64]
test eax, eax
je 0x45fb0a
mov ecx, dword [eax + 0x2c]
mov dword [esi + 0x2c], ecx
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x64]
cmp byte [eax + 0xb6], 0
je 0x45fb0a
mov dword [ecx + 0x74], esi
mov byte [esi + 0xb6], 1
mov eax, dword [edi + 0x64]
test eax, eax
je 0x45fb2a
cmp dword [eax + 0x3b4], edi
jne 0x45fb23
mov dword [eax + 0x3b4], 0
mov dword [edi + 0x64], 0
cmp dword [edi + 0x1c], 1
jne 0x45fb41
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov dword [edi + 0x68], eax
mov eax, dword [ecx]
and byte [eax + 0x3d2], 0xfe
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x45fb54
call fcn.00465f40
mov dword [edi + 0x28], 0
mov al, byte [edi + 0x90]
mov ecx, dword [ebp - 0x54]
and al, 0xdf
and al, 0xe3
mov dword [edi + 0xc], 1
mov dword [edi + 0x88], 0
mov byte [edi + 0x90], al
mov eax, dword [ecx + 0x1a68]
mov dword [edi + 0x78], eax
jge 0x46045f
cmp dword [edi + 0x1c], 1
jne 0x46045f
mov edx, dword [edi + 0x24]
mov ecx, edi
mov edx, dword [edx]
call fcn.0045f820
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f7bd4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [edi + 0x1c]
mov cl, byte [edi + 0x90]
test cl, 1
je 0x45fc61
cmp dword [edi + 0x64], 0
jne 0x45fc61
cmp dword [edi + 0x10], 0
jne 0x45fc61
test dword [edi + 8], 0x400
jne 0x45fc61
cmp dword [edi + 0x14], 0
jne 0x45fc61
cmp dword [edi + 0x84], 0
je 0x45fc30
xor edx, edx
test eax, eax
jle 0x45fc30
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [eax]
mov esi, dword [edi + 0x84]
cmp dword [eax + 4], esi
mov esi, dword [0x6d4050]
je 0x45fc26
mov eax, dword [ebp - 0x58]
inc edx
add eax, 4
mov dword [ebp - 0x58], eax
cmp edx, dword [edi + 0x1c]
jl 0x45fc02
jmp 0x45fc30
mov eax, dword [edi + 0x24]
mov eax, dword [eax + edx*4]
test eax, eax
jne 0x45fc35
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0xcc], 0
jg 0x45fc47
cmp byte [eax + 0xcd], 0
jle 0x45fc61
mov dword [edi + 0xc], 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f7bd4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [edi + 8]
and cl, 0xef
mov edx, dword [edi + 4]
or edx, eax
shr eax, 0xa
mov dword [ebp - 0x40], edx
xor edx, edx
mov dword [ebp - 0x38], edx
mov byte [ebp - 0x3b], dl
test al, 1
je 0x45fcb1
mov eax, dword [ebp - 0x40]
shr eax, 0xf
mov edx, dword [edi + 0x64]
shl al, 2
not al
mov dword [ebp - 0x38], edx
xor al, cl
and al, 4
xor cl, al
mov eax, dword [ebp - 0x40]
shr eax, 0xe
shl al, 3
not al
xor al, cl
and al, 8
xor al, cl
mov byte [edi + 0x90], al
jmp 0x45ffa3
mov eax, dword [edi + 0x1c]
test eax, eax
jle 0x45fcc8
test dword [ebp - 0x40], 0x8000
jne 0x45fcc8
or cl, 4
mov ch, cl
jmp 0x45fcd1
and cl, 0xfb
mov ch, cl
test eax, eax
jle 0x45fce5
test dword [ebp - 0x40], 0x4000
jne 0x45fce5
or ch, 8
mov byte [edi + 0x90], ch
jmp 0x45fcf2
and cl, 0xf7
mov byte [edi + 0x90], cl
test eax, eax
jle 0x45fd3d
xor esi, esi
mov eax, dword [edi + 0x24]
cmp dword [edi + 0x1c], 1
setg cl
mov edx, dword [eax + esi*4]
inc esi
mov al, byte [edx + 0x3d2]
and al, 0xfe
or cl, al
mov byte [edx + 0x3d2], cl
mov al, byte [edi + 0x90]
mov cl, byte [edx + 0xc0]
shl cl, 4
or cl, al
xor cl, al
and cl, 0x10
xor cl, al
mov byte [edi + 0x90], cl
cmp esi, dword [edi + 0x1c]
jl 0x45fcf4
mov esi, dword [0x6d4050]
xor edx, edx
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x45ff73
test cl, 1
je 0x45ff6f
cmp dword [edi + 0x1c], eax
jle 0x45fd5d
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
jmp 0x45fd5f
xor edx, edx
mov eax, dword [edi + 0x8c]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x45fd83
test edx, edx
je 0x45fdc5
or dword [esi + 0x1b50], 1
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0x44]
jmp 0x45fd94
cmp eax, 1
jne 0x45fdc5
or dword [esi + 0x1b50], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
mov byte [esi + 0x1b8c], 1
mov dword [esi + 0x1b54], 1
mov dword [esi + 0x1b70], 0
mov dword [esi + 0x1b6c], 0
mov dword [esi + 0x1b68], ecx
mov dword [esi + 0x1b64], eax
mov eax, dword [edi + 0x8c]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x45fde8
test edx, edx
je 0x45fe10
or dword [esi + 0x1b50], eax
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
jmp 0x45fdfa
cmp eax, 1
jne 0x45fe10
or dword [esi + 0x1b50], 2
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x1b58], 1
mov dword [esi + 0x1b78], ecx
mov dword [esi + 0x1b74], eax
mov ecx, dword [edi + 0x8c]
mov eax, ecx
and al, 0x38
cmp al, 0x10
jne 0x45fe45
test edx, edx
je 0x45fe45
mov al, byte [edx + 0xba]
or dword [esi + 0x1b50], 8
mov byte [esi + 0x1b8d], al
mov dword [esi + 0x1b5c], 1
mov ecx, dword [edi + 0x8c]
and ecx, 0x1c0
cmp ecx, 0x80
jne 0x45fe6a
test edx, edx
je 0x45fe6a
mov eax, dword [edx + 0x30]
or dword [esi + 0x1b50], 0x100
mov dword [esi + 0x1bac], eax
or dword [esi + 0x1b50], 0x400
movups xmm0, xmmword [edi + 0x48]
movups xmmword [esi + 0x1bb4], xmm0
movq xmm0, qword [edi + 0x58]
movq qword [esi + 0x1bc4], xmm0
mov eax, dword [edi + 0x60]
mov dword [esi + 0x1bcc], eax
lea eax, [ebp - 0x18]
push dword [edi]
push str.DockNode__02X
push 0x14
push eax
call fcn.00449750
mov esi, dword [0x6d4050]
lea eax, [ebp - 0x4c]
add esp, 0x10
mov dword [ebp - 0x4c], 1
movss xmm1, dword [esi + 0x15a0]
lea ecx, [esi + 0x1bf8]
movss xmm0, dword [esi + 0x15a4]
push eax
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x44], xmm0
call fcn.00465780
push 0x20081139
xor edx, edx
mov dword [esi + 0x15a0], 0
lea ecx, [ebp - 0x18]
mov dword [esi + 0x15a4], 0
call fcn.00453020
add esp, 4
mov ecx, 1
call fcn.0044a160
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 0x3b], 1
mov edx, dword [ecx + 0x1ac4]
mov dword [edi + 0x64], edx
mov dword [ebp - 0x38], edx
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0x44]
mov dword [edx + 0x108], eax
mov dword [edx + 0x10c], ecx
mov dword [edx + 0x3b4], edi
mov dword [edi + 0x30], ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [edx + 0x4c]
mov eax, dword [edx + 0x48]
mov dword [edi + 0x38], ecx
mov ecx, dword [edi + 0x64]
mov dword [edi + 0x34], eax
cmp byte [ecx + 0xbd], 0
je 0x45ff61
call fcn.00456240
mov edx, dword [ebp - 0x38]
mov cl, byte [edi + 0x90]
mov esi, dword [0x6d4050]
jmp 0x45ff7c
test eax, eax
je 0x45ff86
mov edx, dword [eax + 0x64]
mov dword [ebp - 0x38], edx
mov dword [edi + 0x64], edx
and dword [edi + 0x8c], 0xfffffe00
test cl, cl
jns 0x45ffa3
mov eax, dword [edi + 0x64]
test eax, eax
je 0x45ffa3
mov edx, eax
mov ecx, edi
call fcn.0045f820
mov esi, dword [0x6d4050]
mov edx, dword [ebp - 0x38]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x46002a
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x1c48]
test eax, eax
je 0x45ffe5
mov eax, dword [eax + 0x36c]
mov esi, dword [0x6d4050]
cmp dword [eax + 0x3b0], ecx
je 0x45ffe5
cmp dword [eax + 0x364], edx
jne 0x45ffe5
mov eax, dword [eax + 0x3b0]
mov eax, dword [eax]
mov dword [edi + 0x80], eax
test edx, edx
je 0x46002a
mov eax, dword [ebp - 0x40]
and eax, 8
mov dword [ebp - 0x58], eax
je 0x46002a
mov ecx, dword [edx + 0x2d4]
push ecx
push ecx
add ecx, 0x78
mov byte [ebp - 0x39], 1
call fcn.0046ff40
mov eax, dword [ebp - 0x38]
push 1
mov ecx, dword [eax + 0x2d4]
push ecx
add ecx, 0x78
call fcn.00470560
mov ecx, dword [edi + 0x10]
mov esi, dword [0x6d4050]
mov eax, dword [ebp - 0x58]
jmp 0x460037
mov eax, dword [ebp - 0x40]
and eax, 8
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x58], eax
mov edx, dword [edi + 0x6c]
mov dword [ebp - 0x40], edx
test ecx, ecx
jne 0x4601d1
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4601d1
test eax, eax
je 0x4601d1
test edx, edx
je 0x4601d1
cmp dword [edx + 0x14], 0
jne 0x4601d1
cmp dword [edx + 0x1c], 0
jne 0x4601d1
cmp byte [esi + 0x1d8c], 0
lea eax, [esi + 0x1d9c]
mov dword [ebp - 0x44], 0
cmove eax, dword [ebp - 0x44]
mov byte [ebp - 0x3a], 1
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4600fc
cmp dword [eax + 0x10], 0xffffffff
je 0x4600fc
lea edx, [eax + 0x14]
mov eax, str._IMWINDOW
mov cl, byte [eax]
cmp cl, byte [edx]
mov byte [ebp - 0x31], cl
mov ecx, dword [ebp - 0x38]
jne 0x4600d5
cmp byte [ebp - 0x31], 0
je 0x4600d1
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
mov byte [ebp - 0x31], cl
mov ecx, dword [ebp - 0x38]
jne 0x4600d5
add eax, 2
add edx, 2
cmp byte [ebp - 0x31], 0
jne 0x4600a5
xor eax, eax
jmp 0x4600da
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4600f9
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x38]
mov ecx, esi
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.004613a0
test al, al
jne 0x4601d8
mov ecx, esi
mov edx, dword [ebp - 0x40]
movss xmm3, dword [edx + 0x2c]
movss xmm1, dword [edx + 0x30]
movaps xmm4, xmm3
addss xmm4, dword [edx + 0x34]
subss xmm3, dword [0x6770d4]
movaps xmm2, xmm1
addss xmm2, dword [edx + 0x38]
subss xmm1, dword [0x6770d4]
subss xmm4, dword [0x677038]
subss xmm2, dword [0x677038]
comiss xmm3, xmm4
ja 0x4601cc
comiss xmm1, xmm2
ja 0x4601cc
subss xmm4, xmm3
movaps xmm0, xmm3
subss xmm2, xmm1
cvttss2si esi, xmm4
cvttss2si edx, xmm2
mov word [ebp - 0x44], si
mov word [ebp - 0x42], dx
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x298], eax
subss xmm0, dword [ecx + 0x40]
cvttss2si eax, xmm0
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x44]
mov word [ebp - 0x44], ax
cvttss2si eax, xmm0
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x29c], eax
mov ecx, dword [ecx + 0x364]
mov word [ebp - 0x44], si
mov word [ebp - 0x42], dx
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x298], eax
subss xmm3, dword [ecx + 0x40]
subss xmm1, dword [ecx + 0x44]
cvttss2si eax, xmm3
mov word [ebp - 0x44], ax
cvttss2si eax, xmm1
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x29c], eax
mov eax, dword [edi + 0x10]
jmp 0x4601e3
mov esi, dword [ebp - 0x38]
mov byte [ebp - 0x3a], 0
mov eax, dword [edi + 0x10]
test esi, esi
je 0x460272
mov esi, dword [ebp - 0x38]
test eax, eax
jne 0x460209
push dword [esi + 0x4c]
xor dl, dl
mov ecx, edi
push dword [esi + 0x48]
push dword [esi + 0x44]
push dword [esi + 0x40]
call fcn.00462bd0
add esp, 0x10
mov ecx, edi
call fcn.00462f00
cmp dword [edi + 0x14], 0
jne 0x460272
cmp dword [edi + 0x1c], 0
jne 0x460272
test byte [edi + 0x90], 1
je 0x460272
cmp dword [ebp - 0x58], 0
jne 0x460272
movss xmm0, dword [edi + 0x2c]
lea edx, [edi + 0x2c]
addss xmm0, dword [edi + 0x34]
movss xmm1, dword [0x676fe8]
push 0xf
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.0044a080
mov ecx, dword [esi + 0x2d4]
push eax
lea eax, [ebp - 0x48]
push eax
push edx
call fcn.0046fa00
cmp byte [ebp - 0x39], 0
je 0x460391
test byte [edi + 0x90], 1
je 0x460391
mov ecx, dword [esi + 0x2d4]
push 0
push ecx
add ecx, 0x78
call fcn.00470560
cmp byte [ebp - 0x3a], 0
lea edx, [edi + 0x2c]
je 0x460338
mov eax, dword [ebp - 0x40]
sub esp, 0x10
mov ecx, 2
movss xmm0, dword [eax + 0x30]
movss xmm1, dword [eax + 0x2c]
movss dword [ebp - 0x2c], xmm0
addss xmm0, dword [eax + 0x38]
movss dword [ebp - 0x30], xmm1
addss xmm1, dword [eax + 0x34]
mov eax, esp
sub esp, 0x10
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0x30]
movss dword [ebp - 0x4c], xmm0
addss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [edx]
movss dword [ebp - 0x50], xmm1
addss xmm1, dword [edi + 0x34]
movss dword [ebp - 0x44], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax], xmm0
mov eax, esp
movss dword [ebp - 0x48], xmm1
movups xmm0, xmmword [ebp - 0x50]
movss xmm1, dword [0x676fe8]
movups xmmword [eax], xmm0
call fcn.0044a080
mov ecx, dword [esi + 0x2d4]
xorps xmm2, xmm2
mov edx, eax
call fcn.004744d0
add esp, 0x20
jmp 0x460382
movss xmm0, dword [edx]
addss xmm0, dword [edi + 0x34]
movss xmm1, dword [0x676fe8]
push 0xf
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.0044a080
mov ecx, dword [esi + 0x2d4]
push eax
lea eax, [ebp - 0x48]
push eax
push edx
call fcn.0046fa00
mov ecx, dword [esi + 0x2d4]
push ecx
add ecx, 0x78
call fcn.004700d0
test esi, esi
je 0x4603a6
cmp dword [edi + 0x1c], 0
jle 0x4603a6
mov edx, esi
mov ecx, edi
call fcn.00460690
jmp 0x4603c0
mov al, byte [edi + 0x90]
and al, 0xdf
mov dword [edi + 0x88], 0
and al, 0xfd
mov byte [edi + 0x90], al
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4603ce
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4603dc
cmp dword [edi + 0x1c], 0
jle 0x4603e2
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x84], eax
test esi, esi
je 0x46041f
test byte [edi + 0x90], 1
je 0x46041f
cmp dword [edi + 0x10], 0
jne 0x46041f
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x1ad8]
test eax, eax
je 0x46040a
cmp dword [eax + 0x368], esi
je 0x46041f
mov ecx, esi
call fcn.00463d10
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x1a68]
mov dword [edi + 0x78], eax
jmp 0x46042f
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x1a68]
mov dword [edi + 0x78], eax
test esi, esi
je 0x460454
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x46043b
call fcn.0045f8f0
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x460447
call fcn.0045f8f0
cmp dword [edi + 0x10], 0
jne 0x460454
mov ecx, esi
call fcn.00451d30
cmp byte [ebp - 0x3b], 0
je 0x46045f
call fcn.004560a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005f7bd4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret