Function at 0x1000f6a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af1ec
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x100e3008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1e4], eax
xor eax, eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], edi
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1e0], 0
movlpd qword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x140]
mov al, byte [esi]
mov byte [ebp - 0x180], al
mov al, byte [esi + 1]
mov byte [ebp - 0x17f], al
mov al, byte [esi + 2]
mov byte [ebp - 0x17e], al
mov eax, dword [esi + 4]
mov dword [ebp - 0x17c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x178], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x174], eax
mov al, byte [esi + 0x10]
mov byte [ebp - 0x170], al
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1ac], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x168], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x164], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x160], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x15c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x158], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x154], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x150], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x148], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x144], eax
lea eax, [esi + 0x40]
push eax
call fcn.1000999b
lea eax, [esi + 0x58]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x128]
call fcn.1000999b
lea eax, [esi + 0x70]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x110]
call fcn.1000999b
lea eax, [esi + 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xf8]
call fcn.10011750
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe4]
mov al, byte [esi + 0x94]
mov byte [ebp - 0xec], al
mov al, byte [esi + 0x95]
mov byte [ebp - 0xeb], al
mov eax, dword [esi + 0x98]
mov dword [ebp - 0xe8], eax
lea eax, [esi + 0x9c]
push eax
mov dword [ebp - 0x1a8], eax
call fcn.10011860
mov esi, dword [ebp - 0x184]
mov eax, 0x2aaaaaab
mov byte [ebp - 4], 7
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
xor ebx, ebx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x198], eax
je 0x1000fa12
xor esi, esi
lea ecx, [ebp - 0xc0]
call fcn.10083910
mov ecx, dword [ebp - 0x184]
lea edx, [ebp - 0xc0]
mov byte [ebp - 4], 8
mov ecx, dword [ecx]
add ecx, esi
call fcn.10084860
test al, al
je 0x1000f9f3
mov eax, dword [ebp - 0xa0]
and eax, 0x10
or eax, 0
je 0x1000f91f
mov al, 1
jmp 0x1000f921
xor al, al
test al, al
jne 0x1000f9f3
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1c8], edi
je 0x1000f95f
mov dword [edi], ecx
mov eax, dword [ebp - 0xbc]
mov dword [edi + 4], eax
add edi, 8
mov dword [ebp - 0x1d0], edi
jmp 0x1000f984
lea eax, [ebp - 0x1bc]
push eax
push edi
lea ecx, [ebp - 0x1d4]
call fcn.10011dd0
mov eax, dword [ebp - 0x1cc]
mov edi, dword [ebp - 0x1d0]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0xc0]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x194]
adc eax, dword [ebp - 0xbc]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 7
call fcn.100839a0
mov eax, dword [ebp - 0x184]
inc ebx
add esi, 0x18
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000f8e1
mov ebx, dword [ebp - 0x1d4]
mov esi, dword [ebp - 0x184]
mov dword [ebp - 0x1e8], ebx
jmp 0x1000fa14
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.100839a0
mov ebx, dword [ebp - 0x1d4]
mov esi, 0x80004005
jmp 0x1001037f
xor ebx, ebx
push 0x150
call fcn.1009bda0
add esp, 4
mov dword [ebp - 0x1ac], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.10023890
mov edi, eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x1a0], edi
test edi, edi
jne 0x1000fa4c
mov esi, 0x80004005
jmp 0x1001037f
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1ac], ecx
call dword [eax + 4]
mov ebx, dword [ebp - 0x1a8]
mov eax, 0x2aaaaaab
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
mov ecx, dword [ebx + 4]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
mov dword [ebp - 0x190], eax
mov eax, 0x2aaaaaab
seta byte [ebp - 0x185]
sub ecx, dword [ebx]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000fab1
push ebx
mov ecx, edi
call fcn.100297e0
mov bh, byte [ebp - 0xec]
mov al, byte [ebp - 0xeb]
mov edx, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x174]
mov bl, byte [ebp - 0x170]
mov byte [ebp - 0x186], bh
mov bh, byte [ebp - 0x185]
mov byte [ebp - 0x187], al
mov eax, dword [ebp - 0x178]
mov byte [edi + 0xe8], bh
mov bh, byte [ebp - 0x186]
mov dword [edi + 0x30], eax
mov al, byte [ebp - 0x187]
mov dword [edi + 0x34], ecx
xor ecx, ecx
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x2c], edx
mov byte [edi + 0x38], bl
mov byte [edi + 0x39], bh
mov byte [edi + 0xe9], al
mov dword [edi + 0x118], 0
mov edx, dword [edi + 0x11c]
test edx, edx
je 0x1000fb77
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
mov dword [edi + 0x11c], 0
mov ecx, dword [edi + 0x118]
test ecx, ecx
je 0x1000fb83
mov edx, dword [ecx]
lea eax, [edi + 0x3c]
push eax
call dword [edx]
mov ecx, edi
mov byte [edi + 0x12c], 0
call fcn.10028d80
cmp dword [ebp - 0x190], 1
jbe 0x1000fbbf
push dword [ebp - 0x194]
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
push dword [ebp - 0x198]
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x10010366
mov esi, dword [ebp - 0x184]
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
mov dword [ebp - 0x1a8], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10010220
mov dword [ebp - 0x1a4], 0
nop
lea ecx, [ebp - 0xc0]
call fcn.10083910
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xc0]
mov ebx, dword [esi]
add ebx, dword [ebp - 0x1a4]
mov ecx, ebx
call fcn.10084860
test al, al
je 0x10010331
mov eax, dword [ebp - 0xa0]
and eax, 0x10
or eax, 0
je 0x1000fc2e
mov al, 1
jmp 0x1000fc30
xor al, al
test al, al
jne 0x10010331
mov eax, dword [edi + 0xf8]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x190], eax
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10010500
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x19c]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov esi, eax
test esi, esi
jne 0x10010336
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], al
movlpd qword [ebp - 0x30], xmm0
mov esi, dword [ebp - 0x1c0]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1f0]
push 1
push esi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
call fcn.10017f50
mov edi, eax
add esp, 0x24
test edi, edi
je 0x1000fd9b
cmp edi, 0xe000000f
jne 0x1000fd71
mov esi, dword [ebp - 0x184]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x10010294
mov ecx, dword [ebp - 0x19c]
push 1
push edi
push ebx
mov eax, dword [ecx]
call dword [eax + 0x34]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.10017d70
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.100839a0
jmp 0x100101e8
cmp edi, 0x80004004
jne 0x1000fda1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
mov esi, edi
call fcn.10017d70
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.100839a0
jmp 0x10010366
mov byte [ebp - 0x34], 1
xor edi, edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x19c]
mov byte [ebp - 0x1f4], al
push dword [ebp - 0x1f4]
mov eax, dword [ecx]
push edi
push ebx
call dword [eax + 0x34]
mov esi, eax
test esi, esi
jne 0x10010314
test edi, edi
jne 0x100101c7
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x19c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, dword [edi]
je 0x1000fe0c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
push ecx
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x194], ecx
push edx
jmp 0x1000fe18
push dword [ebp - 0x194]
push dword [ebp - 0x198]
mov ecx, edi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x10010314
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x1c0]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0x19
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x100102be
cmp dword [ebp - 0x18], eax
je 0x1000fe76
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x40]
mov esi, eax
test esi, esi
jne 0x100102be
cmp dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x60]
cmove eax, ecx
lea ecx, [ebp - 0xd8]
push eax
call fcn.1000999b
or dword [ebp - 0x1e0], 1
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x110]
call fcn.100119f0
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0xc4]
cmp edx, 8
jb 0x1000fef0
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fee6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100104e2
push edx
push ecx
call fcn.1009c133
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0x19
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x40]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000ff32
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
jmp 0x1000ff3e
mov esi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x184]
push dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x1a0]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x7c]
test eax, eax
push edi
cmovne edx, eax
mov eax, dword [ebp - 0x19c]
push eax
push ecx
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0x1f8]
push dword [ebp - 0x18c]
push esi
push edx
call fcn.100106b0
mov esi, eax
cmp esi, 0xe000000f
jne 0x10010037
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x100102be
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000fffd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fff3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100104e2
push edx
push ecx
call fcn.1009c133
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.10017d70
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.100839a0
mov esi, dword [ebp - 0x184]
jmp 0x100101ee
test esi, esi
jne 0x100102be
mov edx, dword [edi + 0xcc]
test edx, edx
je 0x10010073
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xbc]
add ecx, dword [edx + 0x28]
mov dword [edx + 0x28], ecx
adc eax, dword [edx + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [edi + 0x100]
mov ecx, dword [edi + 0x104]
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 0x1e4]
cmp dword [eax + 0x10], 0
jne 0x100102b9
mov ecx, dword [edi + 0xfc]
mov esi, dword [ebp - 0x1b0]
mov eax, dword [edi + 0xf8]
cmp ecx, esi
jb 0x100100b1
mov edx, dword [ebp - 0x190]
ja 0x100100a5
cmp eax, edx
jbe 0x100100b1
sub eax, edx
sbb ecx, esi
mov dword [ebp - 0x18c], ecx
jmp 0x100100ce
xorps xmm0, xmm0
movlpd qword [ebp - 0x1b4], xmm0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x28]
mov esi, eax
mov dword [ebp - 0x1b0], eax
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x10010115
nop
push ebx
lea ecx, [edi + 0x10]
call fcn.100123e0
shr eax, 0x1f
test al, al
je 0x10010105
mov edi, dword [edi + 8]
jmp 0x10010109
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x100100f0
mov eax, dword [ebp - 0x1b0]
cmp esi, eax
je 0x1001012b
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call fcn.100123e0
shr eax, 0x1f
test al, al
je 0x10010163
mov edi, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1b0]
push ecx
push eax
push ecx
lea ecx, [edi + 0x28]
mov dword [ebp - 0x1b0], ebx
call fcn.10012450
push eax
add eax, 0x10
lea ecx, [edi + 0x28]
push eax
push esi
lea eax, [ebp - 0x1d8]
push eax
call fcn.100124e0
mov esi, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x190]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x18c]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0x37
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100101b3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100101a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100104e2
push edx
push ecx
call fcn.1009c133
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.10017d70
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.100839a0
mov esi, dword [ebp - 0x184]
mov edi, dword [ebp - 0x1a0]
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
mov ebx, dword [ebp - 0x1a8]
add dword [ebp - 0x1a4], 0x18
inc ebx
imul ecx
mov dword [ebp - 0x1a8], ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000fbf0
mov ebx, dword [ebp - 0x1c4]
mov eax, dword [edi + 0xf0]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0xf4]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0xf8]
mov dword [ebx + 0x20], eax
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 0xfc]
mov dword [ebx + 0x24], ecx
mov ecx, dword [edi + 0x100]
mov dword [ebx + 8], ecx
mov ecx, dword [edi + 0x104]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
mov dword [ebx + 4], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx], eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x10010347
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
jmp 0x1001035e
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
mov esi, 0xe000000f
call fcn.10017d70
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.100839a0
jmp 0x10010366
mov esi, 0x80004005
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100102fc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100102f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100104e2
push edx
push ecx
call fcn.1009c133
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.10017d70
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.100839a0
jmp 0x10010366
mov esi, 0x80004005
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.100839a0
jmp 0x10010366
xorps xmm0, xmm0
movlpd qword [ebp - 0x1dc], xmm0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1dc]
mov dword [ebx + 0x10], ecx
xor esi, esi
mov dword [ebx + 0x14], eax
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x1ac]
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1e8]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x3c
call fcn.10008566
lea ecx, [ebp - 0xf8]
call fcn.10008514
mov byte [ebp - 4], 0x3d
mov edx, dword [ebp - 0xfc]
cmp edx, 8
jb 0x100103dd
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100103d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100104e7
push edx
push ecx
call fcn.1009c133
add esp, 8
xor eax, eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov byte [ebp - 4], 0x41
mov edx, dword [ebp - 0x114]
cmp edx, 8
jb 0x1001043e
mov ecx, dword [ebp - 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010434
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100104ec
push edx
push ecx
call fcn.1009c133
add esp, 8
xor eax, eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x3c
call fcn.100839a0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x100104c2
mov ecx, dword [ebp - 0x1c8]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1001049a
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100104f1
push ecx
push ebx
call fcn.1009c133
add esp, 8
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009bd8a
mov esp, ebp
pop ebp
ret 0x34
call fcn.1009fd49
call fcn.1009fd49
call fcn.1009fd49
call fcn.1009fd49
int3