Function at 0x1000f720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x10], esi
cmp dword [esi + 0x2c], eax
jle 0x10010601
mov edx, dword [edi]
mov ecx, dword [edi + 8]
push eax
call fcn.10011210
add esp, 4
mov dword [esp + 8], eax
mov dword [edi + 0xc], eax
test eax, eax
je 0x10010699
cmp dword [0x101a2ab4], 0xa
jl 0x1000f778
mov ecx, edi
call fcn.100124e0
mov eax, dword [esp + 8]
cmp dword [eax + 0x2c], 0
mov edi, dword [eax + 0x30]
mov dword [esp + 0x28], 0
jle 0x1000f819
mov ecx, dword [esp + 8]
add edi, 8
xor edx, edx
mov dword [esp + 0x24], edx
nop word [eax + eax]
mov eax, dword [esi + 0x34]
cmp dword [edx + eax + 8], 0
jne 0x1000f7fb
movzx ecx, byte [edx + eax + 4]
xor esi, esi
dec ecx
mov eax, 1
shl eax, cl
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
cmp dword [eax + 0x14], esi
jle 0x1000f7f3
mov edx, dword [eax + 0x18]
xor ecx, ecx
test edx, edx
jle 0x1000f7e7
nop dword [eax]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + esi*4]
sub dword [eax + ecx*4], edx
inc ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
cmp ecx, edx
jl 0x1000f7d0
mov eax, dword [edi]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x1000f7c7
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x28]
add edx, 0x1a0
inc eax
mov dword [esp + 0x24], edx
add edi, 0x2cc
mov dword [esp + 0x28], eax
cmp eax, dword [ecx + 0x2c]
jl 0x1000f7a0
mov edi, dword [esp + 8]
cmp dword [edi + 0x24], 0
jne 0x1000f8ab
imul ecx, dword [edi + 0x2c], 0x2cc
mov eax, dword [edi + 0x30]
mov dword [esp + 0x28], eax
add ecx, eax
mov dword [esp + 0x38], ecx
cmp eax, ecx
je 0x1000f8ab
nop
mov edi, dword [eax + 8]
mov edx, dword [edi + 0x14]
cmp edx, 1
jle 0x1000f858
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
jmp 0x1000f85a
xor ecx, ecx
mov eax, dword [edi + 0x1c]
mov esi, dword [eax]
test edx, edx
jle 0x1000f894
lea eax, [ecx*4]
mov dword [esp + 0x3c], eax
nop
mov ecx, dword [edi + 0x18]
mov eax, esi
test ecx, ecx
jle 0x1000f88b
nop dword [eax]
shl dword [eax], 0xd
lea eax, [eax + 4]
dec ecx
test ecx, ecx
jg 0x1000f880
add esi, dword [esp + 0x3c]
dec edx
test edx, edx
jg 0x1000f870
mov eax, dword [esp + 0x28]
add eax, 0x2cc
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x38]
jne 0x1000f840
mov edi, dword [esp + 8]
movzx eax, byte [edi + 0x1c]
sub eax, 1
je 0x1000f8d2
sub eax, 1
jne 0x1000f8ec
mov ecx, dword [edi + 0x30]
push dword [ecx + 0x5a0]
mov edx, dword [ecx + 0x2d4]
mov ecx, dword [ecx + 8]
call fcn.1001e9a0
jmp 0x1000f8e9
mov ecx, dword [edi + 0x30]
push dword [ecx + 0x5a0]
mov edx, dword [ecx + 0x2d4]
mov ecx, dword [ecx + 8]
call fcn.1001eaf0
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], 0
mov eax, dword [eax]
cmp dword [eax + 0x10], 0
jle 0x1000fa08
xor edx, edx
mov dword [esp + 0x1c], edx
nop word [eax + eax]
mov eax, dword [edi + 0x30]
add eax, edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
mov esi, dword [eax]
test esi, esi
jle 0x1000f9e4
cmp dword [edx + 0x14], 1
jle 0x1000f93c
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
jmp 0x1000f93e
xor ecx, ecx
mov eax, dword [edx + 8]
dec esi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x3c], esi
mov esi, dword [edx + 0x10]
sub esi, eax
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
sub edi, eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov edx, dword [eax]
mov dword [esp + 0x30], edx
test edi, edi
jle 0x1000f9e0
test esi, esi
jle 0x1000f9e0
mov eax, dword [esp + 0x18]
push ecx
push esi
push edi
push dword [esp + 0x34]
mov eax, dword [eax + 4]
push dword [esp + 0x34]
push edx
mov eax, dword [eax]
call eax
add esp, 0x18
test eax, eax
jne 0x1000f9e0
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x1000f9e0
mov ecx, dword [esp + 0x28]
dec eax
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x3c]
push dword [esp + 0x24]
lea edi, [ecx + 1]
inc ecx
add eax, ecx
sar edi, 1
mov ecx, dword [esp + 0x20]
lea esi, [edx + 1]
sar eax, 1
inc edx
sub eax, edi
sar esi, 1
push eax
mov eax, dword [esp + 0x40]
add eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
sub eax, esi
push eax
push edi
push esi
call fcn.1001f580
add esp, 0x18
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
add dword [esp + 0x1c], 0x2cc
inc edx
mov dword [esp + 0x14], edx
mov eax, dword [eax]
cmp edx, dword [eax + 0x10]
mov edx, dword [esp + 0x1c]
jl 0x1000f910
imul eax, dword [edi + 0x2c], 0x2cc
mov esi, dword [edi + 0x30]
mov dword [esp + 0x18], esi
add eax, esi
mov dword [esp + 0x54], eax
cmp esi, eax
je 0x1000fd4f
mov dword [esp + 0x1c], 0
nop dword [eax]
xor edi, edi
mov dword [esp + 0x28], 0
push 0x190
lea eax, [esi + 0x138]
mov dword [esp + 0x24], edi
push edi
push eax
call fcn.1012df50
mov eax, dword [esi + 4]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x38], ecx
cmp dword [esi], ecx
jle 0x1000fcad
add eax, 0x38
mov dword [esp + 0x3c], eax
nop dword [eax + eax]
mov esi, dword [eax]
mov dword [esp + 0x14], esi
test esi, esi
jne 0x1000fa8e
xor eax, eax
test ecx, ecx
setne al
lea edi, [edi + eax*2]
inc edi
mov dword [esp + 0x20], edi
jmp 0x1000fc91
mov eax, dword [eax - 4]
lea eax, [eax + eax*8]
lea eax, [esi + eax*4]
mov dword [esp + 0x34], eax
cmp esi, eax
je 0x1000fc91
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
lea eax, [eax + edi*4]
add eax, 0x138
mov dword [esp + 0x24], eax
mov edi, dword [esi + 4]
mov dword [esp + 0x48], edi
test edi, edi
je 0x1000fc6e
mov eax, dword [edi + 0x14]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x44], eax
test eax, eax
je 0x1000fb17
mov edx, dword [edi + 0x18]
mov dword [esp + 0x40], edx
nop dword [eax]
test edx, edx
je 0x1000fb12
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x30], edx
mov edi, dword [eax + esi*4]
nop
mov eax, dword [edi]
lea edi, [edi + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovg ecx, eax
sub dword [esp + 0x30], 1
jne 0x1000faf0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
inc esi
cmp esi, eax
jb 0x1000fae0
mov eax, dword [esp + 8]
mov edx, dword [eax + 0x24]
or eax, 0xffffffff
test edx, edx
je 0x1000fb3c
test ecx, ecx
jle 0x1000fb37
nop dword [eax]
sar ecx, 1
inc eax
test ecx, ecx
jg 0x1000fb30
lea ecx, [eax + 1]
jmp 0x1000fb4a
test ecx, ecx
jle 0x1000fb47
sar ecx, 1
inc eax
test ecx, ecx
jg 0x1000fb40
lea ecx, [eax - 0xc]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x1c]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax + 0x34]
movzx eax, byte [esi + eax + 4]
mov esi, dword [esp + 0x14]
sub ecx, eax
sub ecx, edi
inc ecx
cmp ecx, dword [esp + 0x28]
cmovle ecx, dword [esp + 0x28]
mov dword [esp + 0x28], ecx
test edx, edx
jne 0x1000fbab
lea ecx, [edi + 1]
mov eax, 0x2000
shl eax, cl
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x14]
shld ecx, esi, 0xd
shl esi, 0xd
mov eax, dword [eax + 0x18]
cdq
push edx
push eax
push ecx
push esi
call fcn.1014ea00
mov esi, dword [esp + 0x14]
mov dword [esi + 0x10], eax
jmp 0x1000fbb2
mov dword [esi + 0x10], 0x2000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x34]
movzx edx, byte [ecx + eax + 4]
add edx, edi
mov edi, dword [esi + 0x10]
test edi, edi
js 0x10010699
or ecx, 0xffffffff
mov eax, edi
test edi, edi
jle 0x1000fbdf
sar eax, 1
inc ecx
test eax, eax
jg 0x1000fbd8
lea eax, [ecx - 0xd]
or ecx, 0xffffffff
mov dword [esp + 0x48], eax
mov eax, edi
test edi, edi
jle 0x1000fbf7
nop
sar eax, 1
inc ecx
test eax, eax
jg 0x1000fbf0
mov esi, 0xb
mov eax, edi
sub esi, ecx
jns 0x1000fc0a
neg esi
mov ecx, esi
sar eax, cl
jmp 0x1000fc0e
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x48]
cmp edx, ecx
jl 0x10010699
mov esi, dword [esp + 0x14]
sub edx, ecx
and eax, 0x7ff
shl edx, 0xb
and edx, 0xf800
or edx, eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x14], edx
sar edx, 0xb
movzx eax, byte [eax + 0x160]
dec eax
add eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 8]
cmp dword [eax + 0x24], 0
jne 0x1000fc5f
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1000fc5f
mov edx, edi
call fcn.100106a0
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x14]
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
add esi, 0x24
inc edi
mov dword [esp + 0x14], esi
add eax, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
cmp esi, ecx
jne 0x1000fab7
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
inc ecx
mov eax, dword [esp + 0x3c]
add eax, 0x40
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
cmp ecx, dword [esi]
jl 0x1000fa70
mov edi, dword [esp + 8]
cmp dword [edi + 0x24], 0
jne 0x1000fcc1
mov ecx, dword [esi + 8]
call fcn.10004520
jmp 0x1000fd1c
mov edi, dword [esi + 8]
mov edx, dword [edi + 0x14]
cmp edx, 1
jle 0x1000fcd9
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
jmp 0x1000fcdb
xor ecx, ecx
mov eax, dword [edi + 0x1c]
mov esi, dword [eax]
test edx, edx
jle 0x1000fd14
lea eax, [ecx*4]
mov dword [esp + 0x48], eax
nop
mov ecx, dword [edi + 0x18]
mov eax, esi
test ecx, ecx
jle 0x1000fd0b
nop dword [eax]
shl dword [eax], 6
lea eax, [eax + 4]
dec ecx
test ecx, ecx
jg 0x1000fd00
add esi, dword [esp + 0x48]
dec edx
test edx, edx
jg 0x1000fcf0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
movzx eax, byte [eax + 0x160]
cmp ecx, eax
jg 0x10010609
add dword [esp + 0x1c], 0x1a0
add esi, 0x2cc
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x54]
jne 0x1000fa30
xor edx, edx
xor ecx, ecx
call fcn.10001310
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x20], eax
test eax, eax
je 0x10010683
push 0x6c
call fcn.1012f850
mov esi, eax
add esp, 4
test esi, esi
je 0x1000fdbc
mov dword [esi], 0xff90
mov ecx, 0x1019c9c0
mov dword [esi + 4], 0
mov eax, dword [0x1019c9c0]
cmp eax, 0xff90
je 0x1000fda6
test eax, eax
js 0x1000fda6
mov eax, dword [ecx + 0x18]
add ecx, 0x18
cmp eax, 0xff90
jne 0x1000fd95
lea eax, [ecx + 8]
push 0x5c
mov dword [esi + 0x68], eax
lea eax, [esi + 0xc]
push 0
push eax
call fcn.1012df50
add esp, 0xc
mov eax, dword [esp + 0xc]
mov dword [eax + 0x1c], esi
test esi, esi
je 0x10010617
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], ecx
mov word [esi + 0x14], 0x100
push dword [eax + 0x1c]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x20]
call fcn.10008f20
add esp, 4
test eax, eax
jne 0x1001066d
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x1c]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x1000fe12
mov eax, dword [eax]
test eax, eax
je 0x1000fe12
push esi
call eax
add esp, 4
push esi
call fcn.1012f84b
mov eax, dword [esp + 0x10]
xor esi, esi
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x30], esi
jle 0x1000ffac
xor edx, edx
mov dword [esp + 0x38], edx
nop
mov ecx, dword [edi + 0x30]
movzx eax, byte [eax + 0x49]
cmp dword [edx + ecx], eax
je 0x1000ff90
push 0x6c
call fcn.1012f850
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
test esi, esi
je 0x10010620
mov dword [esi], 0xff52
mov eax, 0x1019c9c0
mov dword [esi + 4], 0
mov ecx, dword [0x1019c9c0]
cmp ecx, 0xff52
je 0x1000fe9a
test ecx, ecx
js 0x1000fe9a
mov ecx, dword [eax + 0x18]
add eax, 0x18
cmp ecx, 0xff52
jne 0x1000fe88
push 0x5c
add eax, 8
lea edi, [esi + 0xc]
push 0
push edi
mov dword [esi + 0x68], eax
call fcn.1012df50
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov dword [eax + 0x1c], esi
mov esi, dword [ecx + 0x30]
mov byte [edi + 0xc], 0
movzx eax, byte [esi]
dec al
mov byte [edi + 0xd], al
movzx eax, byte [ecx + 0x15]
mov byte [edi + 1], al
mov eax, dword [ecx + 0x18]
mov dword [edi + 4], eax
movzx eax, byte [esi + 0x124]
sub al, 2
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x128]
sub al, 2
mov byte [edi + 0xf], al
movzx eax, byte [esi + 0x130]
mov byte [edi + 0x10], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 0x11], al
cmp byte [ecx + 0x1c], 0
setne al
mov byte [edi + 8], al
xor edi, edi
cmp dword [esi], edi
jle 0x1000ff41
mov edx, dword [esp + 0x54]
xor ecx, ecx
add edx, 0x25
nop dword [eax]
mov eax, dword [esi + 4]
lea ecx, [ecx + 0x40]
inc edi
lea edx, [edx + 2]
movzx eax, byte [ecx + eax - 0x30]
mov byte [edx - 3], al
mov eax, dword [esi + 4]
movzx eax, byte [ecx + eax - 0x2c]
mov byte [edx - 2], al
cmp edi, dword [esi]
jl 0x1000ff20
mov edi, dword [esp + 0xc]
push dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x20]
call fcn.10008f20
add esp, 4
test eax, eax
jne 0x10010617
mov esi, dword [edi + 0x1c]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x1000ff74
mov eax, dword [eax]
test eax, eax
je 0x1000ff74
push esi
call eax
add esp, 4
push esi
call fcn.1012f84b
mov edx, dword [esp + 0x3c]
add esp, 4
mov esi, dword [esp + 0x3c]
mov dword [edi + 0x1c], 0
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x10]
inc esi
add edx, 0x2cc
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edx
cmp esi, dword [eax + 0x30]
jl 0x1000fe40
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x30]
mov dword [esp + 0x28], 0
cmp dword [edx + 0x30], 0
jle 0x10010119
add eax, 0x134
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], edi
mov edx, dword [edx + 0x34]
add edx, edi
mov edi, dword [edx + 0xc]
cmp edi, dword [eax]
jne 0x10010006
xor esi, esi
test edi, edi
jle 0x100100ec
lea ecx, [eax + 4]
add edx, 0x10
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10010006
inc esi
add edx, 4
add ecx, 4
cmp esi, edi
jl 0x1000fff0
jmp 0x100100e8
push 0x6c
call fcn.1012f850
mov edi, eax
add esp, 4
test edi, edi
je 0x10010620
mov dword [edi], 0xff5d
mov eax, 0x1019c9c0
mov dword [edi + 4], 0
mov ecx, dword [0x1019c9c0]
cmp ecx, 0xff5d
je 0x10010052
nop word [eax + eax]
test ecx, ecx
js 0x10010052
mov ecx, dword [eax + 0x18]
add eax, 0x18
cmp ecx, 0xff5d
jne 0x10010040
push 0x5c
add eax, 8
lea esi, [edi + 0xc]
push 0
push esi
mov dword [edi + 0x68], eax
call fcn.1012df50
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edi
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax + 0x160]
mov byte [esi + 0x10], al
cmp dword [ecx - 0x128], 0
setne al
dec al
and al, 2
mov byte [esi + 4], al
mov eax, dword [ecx]
mov dword [esi + 8], eax
lea eax, [ecx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x20]
call fcn.10008f20
add esp, 4
test eax, eax
jne 0x10010617
mov dword [esi + 0xc], eax
mov esi, dword [edi + 0x1c]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x100100d8
mov eax, dword [eax]
test eax, eax
je 0x100100d8
push esi
call eax
add esp, 4
push esi
call fcn.1012f84b
add esp, 4
mov dword [edi + 0x1c], 0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
add eax, 0x2cc
mov edx, dword [esp + 0x10]
inc esi
mov edi, dword [esp + 0x3c]
add edi, 0x1a0
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], eax
cmp esi, dword [edx + 0x30]
jl 0x1000ffd4
push 0x6c
call fcn.1012f850
mov esi, eax
add esp, 4
test esi, esi
je 0x1001016e
mov dword [esi], 0xff93
mov ecx, 0x1019c9c0
mov dword [esi + 4], 0
mov eax, dword [0x1019c9c0]
cmp eax, 0xff93
je 0x10010158
test eax, eax
js 0x10010158
mov eax, dword [ecx + 0x18]
add ecx, 0x18
cmp eax, 0xff93
jne 0x10010147
lea eax, [ecx + 8]
push 0x5c
mov dword [esi + 0x68], eax
lea eax, [esi + 0xc]
push 0
push eax
call fcn.1012df50
add esp, 0xc
mov edi, dword [esp + 0xc]
mov dword [edi + 0x1c], esi
test esi, esi
je 0x10010617
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x20]
push esi
call fcn.10008f20
add esp, 4
test eax, eax
jne 0x10010657
mov esi, dword [edi + 0x1c]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x100101aa
mov eax, dword [eax]
test eax, eax
je 0x100101aa
push esi
call eax
add esp, 4
push esi
call fcn.1012f84b
mov eax, dword [edi + 0x20]
add esp, 4
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [edi + 0x1c], 0
mov edi, dword [eax + 0x3c]
mov dword [esp + 0x54], edi
call fcn.1001b540
test eax, eax
jne 0x10010699
mov edx, dword [esi + 8]
mov esi, dword [esp + 8]
mov dword [esp + 0x10], edx
mov ecx, dword [edx + 0x10]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
sub ecx, dword [edx + 8]
movd xmm1, eax
shr eax, 0x1f
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [eax*8 + 0x101923d0]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101923d0]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 4]
imul ecx, eax
mov eax, dword [edx + 0x168]
mulsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101923d0]
divsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movsd qword [esp + 0x48], xmm1
addsd xmm0, qword [eax*8 + 0x101923d0]
mulsd xmm0, xmm1
call fcn.1012bb51
mov dword [esi + 0x34], eax
xor esi, esi
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jle 0x100102cb
mov edi, dword [esp + 8]
nop
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x44]
movd xmm0, dword [eax + esi*4]
mov eax, dword [edi + 0x34]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
mulsd xmm0, qword [0x10191e68]
shr eax, 0x1f
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [eax*8 + 0x101923d0]
mulsd xmm0, xmm1
call fcn.1012bb51
mov ecx, dword [edi + 0x28]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [edi + 0x18]
dec eax
cmp esi, eax
jl 0x10010280
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x164], 0xffffffff
je 0x10010302
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101923d0]
mulsd xmm0, qword [esp + 0x48]
call fcn.1012bb51
mov edx, eax
jmp 0x10010305
or edx, 0xffffffff
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4 - 4], edx
xor eax, eax
cmp dword [esi + 0x18], eax
jle 0x10010343
nop word [eax + eax]
mov edx, dword [esi + 0x28]
mov ecx, dword [edx + eax*4]
cmp ecx, 0xffffffff
je 0x1001033d
cmp edi, ecx
jg 0x10010336
sub ecx, edi
mov dword [edx + eax*4], ecx
jmp 0x1001033d
mov dword [edx + eax*4], 0
inc eax
cmp eax, dword [esi + 0x18]
jl 0x10010320
push dword [esi + 0x28]
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esi + 0x18]
call fcn.10010940
add esp, 4
test eax, eax
jne 0x10010617
mov edx, dword [edi + 0x20]
mov ecx, edi
call fcn.1001fc20
test eax, eax
jne 0x10010641
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx + 4]
test al, 0x10
je 0x10010382
mov esi, dword [ecx + 0x1c]
neg esi
jmp 0x10010390
test al, 0x20
je 0x1001038e
mov esi, dword [ecx + 0x18]
sub esi, dword [ecx + 0x10]
jmp 0x10010390
xor esi, esi
mov eax, dword [ecx + 0x34]
push 1
push 0
push dword [ecx + 0x38]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jns 0x100103b0
mov dword [esp + 0x28], 0xffffffff
jmp 0x100103b6
add eax, esi
mov dword [esp + 0x28], eax
mov esi, dword [edi + 0x20]
and dword [esi + 8], 0xfffffffe
mov eax, dword [esi + 4]
test al, 0x10
jne 0x1001040f
test al, 0x20
je 0x1001040f
test byte [esi + 8], 7
jne 0x10010617
test byte [esi], 6
je 0x10010617
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
sub edi, ecx
test edi, edi
jle 0x100103ff
mov eax, dword [esi + 0x34]
push edi
push ecx
push dword [esi + 0x38]
mov eax, dword [eax + 4]
call eax
add esp, 0xc
cmp eax, edi
jne 0x10010634
mov eax, dword [esi + 0x14]
or dword [esi + 4], 0x20
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
and dword [esi + 4], 0xffffffcf
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x34]
push 0
push 6
push dword [esi + 0x38]
mov dword [esi + 0x1c], 0
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
js 0x10010617
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
mov edx, edi
mov ecx, dword [esi + 0x20]
call fcn.1000aef0
mov esi, dword [esi + 0x20]
and dword [esi + 8], 0xfffffffe
mov eax, dword [esi + 4]
test al, 0x10
jne 0x100104a9
test al, 0x20
je 0x100104a9
test byte [esi + 8], 7
jne 0x10010617
test byte [esi], 6
je 0x10010617
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
sub edi, ecx
test edi, edi
jle 0x10010495
mov eax, dword [esi + 0x34]
push edi
push ecx
push dword [esi + 0x38]
mov eax, dword [eax + 4]
call eax
add esp, 0xc
cmp eax, edi
jne 0x10010634
mov eax, dword [esi + 0x14]
or dword [esi + 4], 0x20
mov edi, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
and dword [esi + 4], 0xffffffcf
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x34]
push 0
push 0
push dword [esi + 0x38]
mov dword [esi + 0x1c], 0
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
js 0x10010617
mov esi, dword [esp + 0xc]
push 0xffffffffffffffff
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 4]
call fcn.10001f30
add esp, 4
test eax, eax
jne 0x10010617
add dword [esi + 0x14], edi
mov esi, dword [esi + 0x20]
test byte [esi + 4], 0x10
jne 0x1001053d
test byte [esi + 8], 7
jne 0x1001053d
test byte [esi], 6
je 0x1001053d
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
sub edi, ecx
test edi, edi
jle 0x1001052d
mov eax, dword [esi + 0x34]
push edi
push ecx
push dword [esi + 0x38]
mov eax, dword [eax + 4]
call eax
add esp, 0xc
cmp eax, edi
je 0x1001052d
or dword [esi + 8], 2
jmp 0x1001053d
mov eax, dword [esi + 0x14]
or dword [esi + 4], 0x20
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x34]
push dword [esi + 0x38]
mov eax, dword [eax + 0xc]
call eax
add esp, 4
test byte [esi + 4], 8
je 0x10010568
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10010568
push eax
call fcn.1012f84b
add esp, 4
mov dword [esi + 0xc], 0
push esi
call fcn.1012f84b
mov eax, dword [esp + 0x10]
add esp, 4
mov edi, dword [eax + 0xc]
mov dword [eax + 0x20], 0
mov dword [esp + 0x28], edi
mov esi, dword [edi + 0x30]
test esi, esi
je 0x100105bb
mov eax, dword [esp + 0x28]
xor edi, edi
cmp dword [eax + 0x2c], edi
jbe 0x100105ac
mov ecx, esi
call fcn.10011850
mov eax, dword [esp + 0x28]
inc edi
add esi, 0x2cc
cmp edi, dword [eax + 0x2c]
jb 0x10010595
mov edi, dword [esp + 0x28]
push dword [edi + 0x30]
call fcn.1012f84b
add esp, 4
mov eax, dword [edi + 0x28]
test eax, eax
je 0x100105cb
push eax
call fcn.1012f84b
add esp, 4
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x100105d7
call fcn.10021740
push edi
call fcn.1012f84b
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
inc eax
mov dword [esp + 0x2c], eax
mov dword [edi + 0xc], 0
cmp eax, dword [esi + 0x2c]
jl 0x1000f747
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push str.error:_too_few_guard_bits__need_at_least__d__n
call fcn.10019f70
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov dword [eax + 0x1c], 0
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
or dword [esi + 8], 2
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.dotile_failed_n
call fcn.10019f70
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.cannot_write_SOD_marker_n
call fcn.10019f70
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.cannot_write_SOT_marker_n
call fcn.10019f70
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.cannot_open_tmp_file_n
call fcn.10019f70
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1013bba3
int3