Function at 0x1006ecc0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1015d3c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x1016274c]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x3ea0]
mov dword [ebp - 0x20], ebx
mov dword [edi + 0x84], eax
mov al, byte [edi + 0xa0]
and al, 0xfb
mov dword [edi + 0x7c], 0
cmp dword [edi + 0x18], 0
mov byte [edi + 0xa0], al
mov dword [edi + 0x78], 0
jne 0x1006edee
push edi
call fcn.1006f850
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], 0
push eax
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x40], xmm0
call fcn.1006c650
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov esi, dword [ebp - 0x3c]
add esp, 0xc
mov edx, dword [ebp - 0x40]
cmp ecx, 1
mov dword [edi + 0x78], edx
cmove eax, esi
mov dword [edi + 0x80], ecx
cmp dword [edi + 0x90], 0
mov dword [edi + 0x7c], eax
jne 0x1006ed65
test esi, esi
je 0x1006edd3
mov eax, dword [esi]
mov dword [edi + 0x90], eax
test esi, esi
je 0x1006edd3
mov eax, dword [esi + 0x2c]
mov ecx, 1
mov eax, dword [eax]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x60], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x68], eax
mov ebx, dword [esi + 0x24]
cmp ebx, ecx
jle 0x1006edd0
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
lea esi, [eax + 4]
nop dword [eax + eax]
mov eax, dword [esi]
cmp byte [eax + 0x29], 0
je 0x1006edb2
inc ecx
add esi, 4
cmp ecx, ebx
jl 0x1006eda0
jmp 0x1006edd0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x60], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x68], eax
mov ebx, dword [ebp - 0x20]
test edx, edx
je 0x1006edee
nop word [eax + eax]
or byte [edx + 0xa0], 0x20
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x1006ede0
cmp dword [edi + 0x30], 0
je 0x1006ee07
mov eax, dword [edi + 0x10]
shr eax, 0xc
test al, 1
je 0x1006ee07
push edi
call fcn.1006d860
add esp, 4
mov edx, dword [edi + 0x18]
xor al, al
mov byte [ebp - 0x19], al
test edx, edx
jne 0x1006ef54
test dword [edi + 0x10], 0x400
jne 0x1006ef54
mov ecx, dword [edi + 0x24]
cmp ecx, 1
jg 0x1006ee4b
cmp dword [edi + 0x1c], edx
jne 0x1006ee4b
cmp byte [ebx + 0x5a], dl
jne 0x1006ee4b
test ecx, ecx
je 0x1006ee44
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0x28], dl
jne 0x1006ee48
mov al, 1
jmp 0x1006ee4b
mov al, byte [ebp - 0x19]
cmp dword [edi + 0x80], 0
je 0x1006ee5c
test al, al
je 0x1006ef54
cmp ecx, 1
jne 0x1006eee8
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x9c]
and eax, 0xfffffebf
mov dword [edi + 0x40], ecx
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1006eebc
cmp dword [ebx + 0x4124], eax
jne 0x1006eebc
push esi
call fcn.10073850
add esp, 4
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1006eee8
mov ecx, dword [eax + 0x2c]
mov dword [esi + 0x2c], ecx
mov eax, dword [edi + 0x70]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x70]
cmp byte [eax + 0xc2], 0
je 0x1006eee8
mov dword [ecx + 0x6c], esi
mov byte [esi + 0xc2], 1
push edi
call fcn.1006c6d0
mov al, byte [edi + 0xa0]
add esp, 4
and al, 0xbf
mov dword [edi + 0x14], 1
and al, 0xe7
mov dword [edi + 0x98], 0
test byte [edi + 0xa1], 1
mov byte [edi + 0xa0], al
mov eax, dword [ebx + 0x3ea0]
mov dword [edi + 0x88], eax
je 0x1006f834
cmp dword [edi + 0x24], 1
jne 0x1006f834
mov eax, dword [edi + 0x2c]
push dword [eax]
push edi
call fcn.1006db50
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d37d3
mov esp, ebp
pop ebp
ret
test byte [edi + 0xa0], 1
je 0x1006efda
cmp dword [edi + 0x70], 0
jne 0x1006efda
test edx, edx
jne 0x1006efda
test dword [edi + 0x10], 0x400
jne 0x1006efda
cmp dword [edi + 0x1c], edx
jne 0x1006efda
mov ebx, dword [edi + 0x94]
test ebx, ebx
je 0x1006efab
mov esi, dword [edi + 0x24]
xor ecx, ecx
test esi, esi
jle 0x1006efab
mov edx, dword [edi + 0x2c]
nop dword [eax + eax]
mov eax, dword [edx]
cmp dword [eax + 4], ebx
je 0x1006efa1
inc ecx
add edx, 4
cmp ecx, esi
jl 0x1006ef90
jmp 0x1006efab
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x1006efb0
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jg 0x1006efc2
cmp byte [eax + 0xdd], 0
jle 0x1006efda
mov dword [edi + 0x14], 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d37d3
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x24]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x34], ecx
test esi, esi
jle 0x1006f007
test ecx, 0x4000
jne 0x1006f007
mov al, byte [edi + 0xa0]
mov cl, 0x10
and al, 0xef
or al, cl
and al, 0xf7
xor ebx, ebx
mov byte [edi + 0xa0], al
jmp 0x1006f021
mov al, byte [edi + 0xa0]
xor dl, dl
and al, 0xef
xor ebx, ebx
or al, dl
and al, 0xf7
mov byte [edi + 0xa0], al
test esi, esi
jle 0x1006f07e
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop word [eax + eax]
mov eax, dword [edi + 0x2c]
mov edx, dword [ecx + eax]
mov cl, byte [edi + 0xa0]
mov al, byte [edx + 0xcd]
shl al, 3
or al, cl
and cl, 0xf7
and al, 8
xor al, cl
cmp esi, 1
mov byte [edi + 0xa0], al
mov al, byte [edx + 0x36d]
setg cl
and al, 0xfe
inc ebx
or cl, al
mov byte [edx + 0x36d], cl
mov ecx, dword [ebp - 0x24]
mov esi, dword [edi + 0x24]
add ecx, 4
mov dword [ebp - 0x24], ecx
cmp ebx, esi
jl 0x1006f030
mov ecx, dword [edi + 0x10]
test dword [ebp - 0x34], 0x8000
je 0x1006f08e
and byte [edi + 0xa0], 0xf7
xor ebx, ebx
shr ecx, 0xa
mov byte [ebp - 0x19], bl
test cl, 1
je 0x1006f0a3
mov ebx, dword [edi + 0x70]
jmp 0x1006f350
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x1006f2e4
test byte [edi + 0xa0], 1
je 0x1006f2f4
test esi, esi
jle 0x1006f0c6
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
jmp 0x1006f0c8
xor esi, esi
mov eax, dword [edi + 0x9c]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1006f0f2
test esi, esi
je 0x1006f132
mov edx, dword [0x1016274c]
or dword [edx + 0x3ff0], 1
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
jmp 0x1006f109
cmp eax, 1
jne 0x1006f132
mov edx, dword [0x1016274c]
or dword [edx + 0x3ff0], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov byte [edx + 0x402c], 1
mov dword [edx + 0x3ff4], 1
mov dword [edx + 0x4010], ebx
mov dword [edx + 0x400c], ebx
mov dword [edx + 0x4008], ecx
mov dword [edx + 0x4004], eax
mov eax, dword [edi + 0x9c]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x1006f15b
test esi, esi
je 0x1006f189
mov edx, dword [0x1016274c]
or dword [edx + 0x3ff0], eax
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
jmp 0x1006f173
cmp eax, 1
jne 0x1006f189
mov edx, dword [0x1016274c]
or dword [edx + 0x3ff0], 2
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [edx + 0x3ff8], 1
mov dword [edx + 0x4018], ecx
mov dword [edx + 0x4014], eax
mov eax, dword [edi + 0x9c]
and al, 0x38
cmp al, 0x10
jne 0x1006f1bc
test esi, esi
je 0x1006f1bc
mov ecx, dword [0x1016274c]
mov al, byte [esi + 0xc6]
or dword [ecx + 0x3ff0], 8
mov byte [ecx + 0x402d], al
mov dword [ecx + 0x3ffc], 1
mov eax, dword [edi + 0x9c]
and eax, 0x1c0
cmp eax, 0x80
jne 0x1006f1ea
test esi, esi
je 0x1006f1ea
mov eax, dword [0x1016274c]
mov ecx, dword [esi + 0x30]
or dword [eax + 0x3ff0], 0x100
mov dword [eax + 0x404c], ecx
mov ecx, dword [0x1016274c]
or dword [ecx + 0x3ff0], 0x400
movups xmm0, xmmword [edi + 0x50]
movups xmmword [ecx + 0x4054], xmm0
movq xmm0, qword [edi + 0x60]
movq qword [ecx + 0x4064], xmm0
mov eax, dword [edi + 0x68]
mov dword [ecx + 0x406c], eax
lea eax, [ebp - 0x18]
push dword [edi]
push str.DockNode__02X
push 0x14
push eax
call fcn.10074a90
mov eax, dword [0x1016274c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
or dword [eax + 0x3ff0], 0x40
mov dword [eax + 0x4048], ebx
lea eax, [ebp - 0x28]
push eax
push 2
call fcn.1007bc20
push 0x20081139
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.10064850
push 1
call fcn.1007b6a0
mov eax, dword [ebp - 0x20]
add esp, 0x28
mov byte [ebp - 0x19], 1
mov ebx, dword [eax + 0x3f04]
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1006f294
cmp eax, ebx
je 0x1006f294
cmp dword [eax + 0x38c], edi
jne 0x1006f294
mov dword [eax + 0x38c], 0
mov dword [ebx + 0x38c], edi
mov dword [edi + 0x70], ebx
movss xmm0, dword [ebx + 0x40]
movss xmm1, dword [ebx + 0x44]
movss dword [ebx + 0x108], xmm0
movss dword [ebx + 0x10c], xmm1
movss dword [edi + 0x34], xmm0
movss dword [edi + 0x38], xmm1
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x70]
mov dword [edi + 0x40], ecx
cmp byte [eax + 0xc9], 0
je 0x1006f2ea
push eax
call fcn.10068890
add esp, 4
jmp 0x1006f2ea
mov ebx, dword [eax + 0x70]
mov dword [edi + 0x70], ebx
and dword [edi + 0x9c], 0xfffffe00
test byte [edi + 0xa1], 1
je 0x1006f350
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1006f350
mov esi, dword [0x1016274c]
push eax
call fcn.10080970
movss xmm1, dword [esi + 0x3628]
add esp, 4
movss xmm0, dword [esi + 0x362c]
subss xmm1, dword [edi + 0x34]
subss xmm0, dword [edi + 0x38]
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x3f14], eax
movss dword [esi + 0x3f54], xmm1
movss dword [esi + 0x3f58], xmm0
and byte [edi + 0xa1], 0xfe
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x1006f389
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x4124]
test eax, eax
je 0x1006f389
mov eax, dword [eax + 0x324]
mov edx, dword [eax + 0x388]
test edx, edx
je 0x1006f389
cmp dword [eax + 0x31c], ebx
jne 0x1006f389
mov eax, dword [edx]
mov esi, dword [edi + 0x78]
mov dword [edi + 0x90], eax
jmp 0x1006f394
mov esi, dword [edi + 0x78]
test ecx, ecx
jne 0x1006f544
test ebx, ebx
je 0x1006f544
test byte [ebp - 0x34], 8
je 0x1006f544
test esi, esi
je 0x1006f544
cmp dword [esi + 0x1c], 0
jne 0x1006f544
cmp dword [esi + 0x24], 0
jne 0x1006f544
mov eax, dword [0x1016274c]
xor edx, edx
mov byte [ebp - 0x1a], 1
cmp byte [eax + 0x4294], dl
lea ecx, [eax + 0x42a4]
cmove ecx, edx
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x1006f432
cmp dword [ecx + 0x10], 0xffffffff
je 0x1006f432
add ecx, 0x14
mov eax, str._IMWINDOW
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1006f411
test dl, dl
je 0x1006f40d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1006f411
add eax, 2
add ecx, 2
test dl, dl
jne 0x1006f3f1
xor eax, eax
jmp 0x1006f416
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006f432
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [eax]
push ebx
call fcn.1006c750
add esp, 8
test al, al
jne 0x1006f548
mov eax, dword [esi + 0x18]
mov ecx, esi
test eax, eax
je 0x1006f449
nop dword [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x1006f440
movss xmm4, dword [esi + 0x34]
comiss xmm4, dword [ecx + 0x34]
movss xmm3, dword [esi + 0x38]
movaps xmm2, xmm4
addss xmm2, dword [esi + 0x3c]
movss xmm7, dword [ecx + 0x38]
movaps xmm1, xmm3
addss xmm1, dword [esi + 0x40]
movss xmm5, dword [ecx + 0x34]
movaps xmm6, xmm7
addss xmm5, dword [ecx + 0x3c]
addss xmm6, dword [ecx + 0x40]
movss xmm0, dword [0x1011ccd4]
movss dword [ebp - 0x44], xmm4
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x38], xmm1
jbe 0x1006f4a5
addss xmm4, xmm0
movss dword [ebp - 0x44], xmm4
comiss xmm5, xmm2
jbe 0x1006f4b3
subss xmm2, xmm0
movss dword [ebp - 0x3c], xmm2
comiss xmm3, xmm7
jbe 0x1006f4c1
addss xmm3, xmm0
movss dword [ebp - 0x40], xmm3
comiss xmm6, xmm1
jbe 0x1006f4cf
subss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
comiss xmm4, xmm2
ja 0x1006f548
comiss xmm3, xmm1
ja 0x1006f548
subss xmm2, xmm4
subss xmm1, xmm3
cvttss2si eax, xmm2
mov word [ebp - 0x24], ax
cvttss2si eax, xmm1
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x24c], eax
subss xmm4, dword [ebx + 0x40]
subss xmm3, dword [ebx + 0x44]
cvttss2si eax, xmm4
mov word [ebp - 0x24], ax
cvttss2si eax, xmm3
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x250], eax
mov eax, dword [ebx + 0x31c]
test eax, eax
je 0x1006f548
lea ecx, [ebp - 0x28]
movss dword [ebp - 0x28], xmm2
push ecx
lea ecx, [ebp - 0x44]
movss dword [ebp - 0x24], xmm1
push ecx
push eax
call fcn.1007fbc0
add esp, 0xc
jmp 0x1006f548
mov byte [ebp - 0x1a], 0
cmp dword [edi + 0x18], 0
jne 0x1006f586
test ebx, ebx
je 0x1006f74a
mov ecx, dword [ebx + 0x288]
push 1
push ecx
add ecx, 0x78
call fcn.1008c990
push 0
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push dword [ebx + 0x40]
push edi
call fcn.1006e430
push edi
call fcn.1006e710
add esp, 0x1c
jmp 0x1006f58e
test ebx, ebx
je 0x1006f74a
cmp dword [edi + 0x1c], 0
jne 0x1006f627
cmp dword [edi + 0x24], 0
jne 0x1006f627
test byte [edi + 0xa0], 1
je 0x1006f627
mov ecx, dword [ebx + 0x288]
push 0
push ecx
add ecx, 0x78
call fcn.1008c990
test byte [ebp - 0x34], 8
je 0x1006f5cb
mov dword [edi + 0x6c], 0
jmp 0x1006f620
push ecx
mov dword [esp], 0x3f800000
push 0x27
call fcn.10073b70
add esp, 8
mov dword [edi + 0x6c], eax
test eax, eax
je 0x1006f620
movss xmm0, dword [edi + 0x34]
lea ecx, [edi + 0x34]
addss xmm0, dword [edi + 0x3c]
push 0
push ecx
mov dword [esp], 0
push eax
movss dword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [edi + 0x40]
push eax
push ecx
mov ecx, dword [ebx + 0x288]
movss dword [ebp - 0x24], xmm0
call fcn.10087ae0
or byte [edi + 0xa0], 4
test ebx, ebx
je 0x1006f74a
cmp dword [edi + 0x18], 0
jne 0x1006f727
test byte [ebp - 0x34], 8
je 0x1006f727
test byte [edi + 0xa0], 1
je 0x1006f727
mov ecx, dword [ebx + 0x288]
push 0
push ecx
add ecx, 0x78
call fcn.1008c990
push ecx
mov dword [esp], 0x3f800000
push 2
call fcn.10073b70
cmp byte [ebp - 0x1a], 0
je 0x1006f6e9
movss xmm1, dword [esi + 0x34]
add esp, 4
movss xmm0, dword [esi + 0x38]
movss dword [ebp - 0x44], xmm1
addss xmm1, dword [esi + 0x3c]
movss dword [ebp - 0x40], xmm0
addss xmm0, dword [esi + 0x40]
mov dword [esp], 0
push eax
movss dword [ebp - 0x3c], xmm1
lea eax, [ebp - 0x44]
movss xmm1, dword [edi + 0x34]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [edi + 0x38]
push eax
movss dword [ebp - 0x30], xmm1
lea eax, [ebp - 0x30]
addss xmm1, dword [edi + 0x3c]
movss dword [ebp - 0x2c], xmm0
addss xmm0, dword [edi + 0x40]
push eax
push dword [ebx + 0x288]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
call fcn.1008bef0
add esp, 0x14
jmp 0x1006f727
movss xmm0, dword [edi + 0x3c]
lea ecx, [edi + 0x34]
addss xmm0, dword [ecx]
add esp, 8
push 0
push ecx
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ecx + 4]
addss xmm0, dword [edi + 0x40]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, dword [ebx + 0x288]
movss dword [ebp - 0x24], xmm0
call fcn.10087ae0
mov ecx, dword [ebx + 0x288]
push 1
push ecx
add ecx, 0x78
call fcn.1008c990
cmp dword [edi + 0x24], 0
jle 0x1006f74a
push ebx
push edi
call fcn.1006fb20
add esp, 8
jmp 0x1006f764
mov al, byte [edi + 0xa0]
and al, 0xbf
mov dword [edi + 0x98], 0
and al, 0xfd
mov byte [edi + 0xa0], al
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1006f772
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1006f780
cmp dword [edi + 0x24], 0
jle 0x1006f786
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x94], eax
mov eax, dword [ebp - 0x20]
test ebx, ebx
je 0x1006f7c8
test byte [edi + 0xa0], 1
je 0x1006f7c8
cmp dword [edi + 0x18], 0
jne 0x1006f7c8
mov ecx, dword [eax + 0x3f14]
test ecx, ecx
je 0x1006f7ae
cmp dword [ecx + 0x32c], ebx
je 0x1006f7c8
push ebx
call fcn.100676e0
mov eax, dword [ebp - 0x20]
add esp, 4
mov eax, dword [eax + 0x3ea0]
mov dword [edi + 0x88], eax
jmp 0x1006f7d8
mov eax, dword [eax + 0x3ea0]
mov dword [edi + 0x88], eax
test ebx, ebx
je 0x1006f829
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x1006f7e8
push eax
call fcn.1006ecc0
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1006f7f8
push eax
call fcn.1006ecc0
add esp, 4
cmp dword [edi + 0x18], 0
jne 0x1006f818
mov ecx, dword [ebx + 0x288]
push 1
push ecx
add ecx, 0x78
call fcn.1008c990
push ebx
call fcn.1007e360
add esp, 4
mov ecx, dword [ebx + 0x288]
push 0
push ecx
add ecx, 0x78
call fcn.1008c990
cmp byte [ebp - 0x19], 0
je 0x1006f834
call fcn.10071ae0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d37d3
mov esp, ebp
pop ebp
ret