Function at 0x702ba4
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 [0x4b8040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4ece60]
mov eax, esi
push edi
mov edi, ecx
mov dword [ebp - 0x4c], eax
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 0x702cf2
call fcn.00702844
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 0x702c21
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 0x702c38
test esi, esi
jne 0x702c6c
mov eax, dword [edi + 0x14]
test eax, eax
je 0x702c52
lea edx, [ebp - 0x24]
mov ecx, eax
call fcn.007027e4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x702c6c
lea edx, [ebp - 0x24]
mov ecx, eax
call fcn.007027e4
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 0x702c8f
test edx, edx
je 0x702cec
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test edx, edx
je 0x702cec
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 0x702cec
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 0x702cd6
inc ecx
add edx, 4
cmp ecx, esi
jl 0x702cc4
jmp 0x702cec
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 [0x4ece60]
cmp dword [edi + 0x28], 0
je 0x702d0f
mov eax, dword [edi + 8]
shr eax, 0xc
test al, 1
je 0x702d0f
mov ecx, edi
call fcn.00704a84
mov esi, dword [0x4ece60]
mov ecx, dword [edi + 0x1c]
cmp ecx, 1
jg 0x702e92
cmp dword [edi + 0x10], 0
jne 0x702e92
test dword [edi + 8], 0x400
jne 0x702e92
cmp dword [edi + 0x14], 0
jne 0x702e92
mov edx, dword [ebp - 0x4c]
cmp byte [edx + 0xb1], 0
jne 0x702e92
test ecx, ecx
je 0x702ded
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x702e92
cmp ecx, 1
jne 0x702ded
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 0x702dc1
cmp dword [edx + 0x1e18], eax
jne 0x702dc1
mov ecx, esi
call fcn.006f8964
mov eax, dword [edi + 0x68]
test eax, eax
je 0x702ded
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 0x702ded
mov dword [ecx + 0x6c], esi
mov byte [esi + 0xc2], 1
mov eax, dword [edi + 0x68]
test eax, eax
je 0x702e0d
cmp dword [eax + 0x3c0], edi
jne 0x702e06
mov dword [eax + 0x3c0], 0
mov dword [edi + 0x68], 0
cmp dword [edi + 0x1c], 1
jne 0x702e24
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 0x702e31
mov ecx, edi
call fcn.00704a84
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 0x703752
cmp dword [edi + 0x1c], 1
jne 0x703752
mov edx, dword [edi + 0x24]
mov ecx, edi
mov edx, dword [edx]
call fcn.00702ad4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0073d90b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test byte [edi + 0x94], 1
je 0x702f2d
cmp dword [edi + 0x68], 0
jne 0x702f2d
cmp dword [edi + 0x10], 0
jne 0x702f2d
test dword [edi + 8], 0x400
jne 0x702f2d
cmp dword [edi + 0x14], 0
jne 0x702f2d
cmp dword [edi + 0x88], 0
je 0x702efc
xor ecx, ecx
cmp dword [edi + 0x1c], ecx
jle 0x702efc
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 [0x4ece60]
je 0x702ef2
inc ecx
add edx, 4
cmp ecx, dword [edi + 0x1c]
jl 0x702ed4
jmp 0x702efc
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x702f01
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jg 0x702f13
cmp byte [eax + 0xdd], 0
jle 0x702f2d
mov dword [edi + 0xc], 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0073d90b
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 - 0x50], eax
test ecx, ecx
jle 0x702f5f
test eax, 0x4000
jne 0x702f5f
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 0x702f7c
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 0x702fd8
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 0x702f84
mov dword [ebp - 0x3c], esi
mov esi, dword [0x4ece60]
mov ecx, dword [ebp - 0x3c]
test dword [ebp - 0x50], 0x8000
mov edx, dword [edi + 8]
je 0x702feb
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 0x703006
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x30], ecx
jmp 0x703262
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x70322f
test byte [edi + 0x94], 1
je 0x703242
test ecx, ecx
jle 0x703029
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
jmp 0x70302b
xor edx, edx
mov eax, dword [edi + 0x90]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x70304f
test edx, edx
je 0x703091
or dword [esi + 0x1cd0], 1
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
jmp 0x703060
cmp eax, 1
jne 0x703091
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 0x7030b4
test edx, edx
je 0x7030dc
or dword [esi + 0x1cd0], eax
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
jmp 0x7030c6
cmp eax, 1
jne 0x7030dc
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 0x703109
test edx, edx
je 0x703109
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 0x703132
test edx, edx
je 0x703132
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.006eb804
mov esi, dword [0x4ece60]
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.007090c4
push 0x20081139
xor edx, edx
mov dword [esi + 0x159c], 0
lea ecx, [ebp - 0x18]
mov dword [esi + 0x15a0], 0
call fcn.006f5524
add esp, 4
mov ecx, 1
call fcn.006ec204
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 0x703227
call fcn.006f88e4
mov esi, dword [0x4ece60]
jmp 0x703238
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 0x70325f
mov edx, dword [edi + 0x68]
test edx, edx
je 0x70325f
mov ecx, edi
call fcn.00702ad4
mov esi, dword [0x4ece60]
mov ecx, dword [ebp - 0x30]
cmp dword [edi + 0x10], 0
jne 0x7032d0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1e18]
test eax, eax
je 0x703295
mov eax, dword [eax + 0x35c]
mov edx, dword [eax + 0x3bc]
test edx, edx
je 0x703295
cmp dword [eax + 0x358], ecx
jne 0x703295
mov eax, dword [edx]
mov dword [edi + 0x84], eax
test ecx, ecx
je 0x7032d0
test byte [ebp - 0x50], 8
je 0x7032d0
mov ecx, dword [ecx + 0x2c4]
sub esp, 8
add ecx, 0x78
mov byte [ebp - 0x31], 1
call fcn.007147e4
mov eax, dword [ebp - 0x30]
push 1
mov ecx, dword [eax + 0x2c4]
push ecx
add ecx, 0x78
call fcn.00714dc4
mov esi, dword [0x4ece60]
jmp 0x7032d4
mov byte [ebp - 0x31], 0
cmp dword [edi + 0x10], 0
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x54], eax
jne 0x7034b5
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x7034b5
test byte [ebp - 0x50], 8
je 0x7034b5
test eax, eax
je 0x7034b5
cmp dword [eax + 0x14], 0
jne 0x7034b5
cmp dword [eax + 0x1c], 0
jne 0x7034b5
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 0x70339e
cmp dword [eax + 0x10], 0xffffffff
je 0x70339e
lea edx, [eax + 0x14]
mov eax, str._IMWINDOW
nop dword [eax + eax]
mov cl, byte [eax]
cmp cl, byte [edx]
mov byte [ebp - 0x2a], cl
mov ecx, dword [ebp - 0x30]
jne 0x703374
cmp byte [ebp - 0x2a], 0
je 0x703370
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
mov byte [ebp - 0x2a], cl
mov ecx, dword [ebp - 0x30]
jne 0x703374
add eax, 2
add edx, 2
cmp byte [ebp - 0x2a], 0
jne 0x703344
xor eax, eax
jmp 0x703379
sbb eax, eax
or eax, 1
test eax, eax
jne 0x70339e
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.00704b34
test al, al
je 0x70339b
mov ecx, dword [edi + 0x10]
mov esi, dword [ebp - 0x30]
mov al, byte [ebp - 0x29]
jmp 0x7034c8
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x54]
mov edx, eax
mov eax, dword [eax + 0x10]
test eax, eax
je 0x7033b3
mov edx, eax
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x7033aa
mov eax, dword [ebp - 0x54]
movss xmm7, dword [edx + 0x30]
movss xmm5, dword [edx + 0x2c]
movaps xmm6, xmm7
addss xmm5, dword [edx + 0x34]
movss xmm4, dword [eax + 0x2c]
comiss xmm4, dword [edx + 0x2c]
movss xmm1, dword [eax + 0x30]
movaps xmm3, xmm4
addss xmm6, dword [edx + 0x38]
addss xmm3, dword [eax + 0x34]
movss xmm0, dword [0x4abcf8]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x38]
jbe 0x7033f9
addss xmm4, xmm0
comiss xmm5, xmm3
jbe 0x703402
subss xmm3, xmm0
comiss xmm1, xmm7
jbe 0x70340b
addss xmm1, xmm0
comiss xmm6, xmm2
jbe 0x703414
subss xmm2, xmm0
comiss xmm4, xmm3
ja 0x70338d
comiss xmm1, xmm2
ja 0x70338d
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 0x7034c8
mov esi, dword [ebp - 0x30]
xor al, al
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x29], al
test esi, esi
je 0x703565
mov byte [ebp - 0x2a], al
test ecx, ecx
jne 0x7034f1
push dword [esi + 0x50]
xor dl, dl
mov ecx, edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
call fcn.00706384
add esp, 0x10
mov ecx, edi
call fcn.007066a4
mov al, byte [ebp - 0x2a]
cmp dword [edi + 0x14], 0
jne 0x703565
cmp dword [edi + 0x1c], 0
jne 0x703565
test byte [edi + 0x94], 1
mov byte [ebp - 0x29], al
je 0x703565
test byte [ebp - 0x50], 8
mov byte [ebp - 0x29], al
jne 0x703565
movss xmm0, dword [edi + 0x34]
lea edx, [edi + 0x2c]
addss xmm0, dword [edx]
movss xmm1, dword [0x4abc7c]
push 0
push ecx
mov ecx, 0x27
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.006ebfe4
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.00714264
mov al, byte [ebp - 0x2a]
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x31], 0
je 0x703684
test byte [edi + 0x94], 1
je 0x703684
mov ecx, dword [esi + 0x2c4]
push 0
push ecx
add ecx, 0x78
call fcn.00714dc4
cmp byte [ebp - 0x29], 0
lea edx, [edi + 0x2c]
je 0x70362b
mov eax, dword [ebp - 0x54]
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 [0x4abc7c]
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.006ebfe4
mov ecx, dword [esi + 0x2c4]
xorps xmm2, xmm2
mov edx, eax
call fcn.00718e84
add esp, 0x20
jmp 0x703675
movss xmm0, dword [edx]
addss xmm0, dword [edi + 0x34]
movss xmm1, dword [0x4abc7c]
push 0
push ecx
mov ecx, 2
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.006ebfe4
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.00714264
mov ecx, dword [esi + 0x2c4]
push ecx
add ecx, 0x78
call fcn.00714904
test esi, esi
je 0x703699
cmp dword [edi + 0x1c], 0
jle 0x703699
mov edx, esi
mov ecx, edi
call fcn.00703984
jmp 0x7036b3
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 0x7036c1
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x7036cf
cmp dword [edi + 0x1c], 0
jle 0x7036d5
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x88], eax
test esi, esi
je 0x703712
test byte [edi + 0x94], 1
je 0x703712
cmp dword [edi + 0x10], 0
jne 0x703712
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1c58]
test eax, eax
je 0x7036fd
cmp dword [eax + 0x360], esi
je 0x703712
mov ecx, esi
call fcn.007076f4
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x1be0]
mov dword [edi + 0x7c], eax
jmp 0x703722
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1be0]
mov dword [edi + 0x7c], eax
test esi, esi
je 0x703747
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x70372e
call fcn.00702ba4
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x70373a
call fcn.00702ba4
cmp dword [edi + 0x10], 0
jne 0x703747
mov ecx, esi
call fcn.006f43d4
cmp byte [ebp - 0x32], 0
je 0x703752
call fcn.006f86f4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0073d90b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret