Function at 0x100c4860
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x102d2008]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, ecx
mov dword [esp + 0x3c], 0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
push ebx
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x38]
dec ecx
mov dword [esp + 0xc], eax
push esi
mov esi, edx
mov dword [esp + 0x28], ecx
dec ecx
mov dword [esp + 0xc], esi
mov dword [eax + 0x38], ecx
push edi
mov edi, dword [esi + 0x30]
mov al, byte [esi + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x34]
mov edx, dword [edi]
mov dword [esp + 0x24], 0
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xf], al
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
cmp al, 0x83
je 0x100c49ba
mov eax, dword [esp + 0x44]
mov esi, 1
cmp byte [eax + 0x51], 0
jne 0x100c49b6
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
nop dword [eax]
mov eax, dword [eax]
cmp esi, dword [eax]
jg 0x100c49b6
xor ecx, ecx
test edx, edx
jle 0x100c492e
mov ebx, dword [esp + 0x30]
lea edx, [edi + 0x18]
movzx eax, word [edx]
cmp eax, esi
je 0x100c4926
inc ecx
add edx, 0x18
cmp ecx, ebx
jl 0x100c4917
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x100c49a3
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x5c]
push 0
push eax
mov edx, 0x96
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.1009bca0
add esp, 8
test eax, eax
je 0x100c4a1c
mov ecx, dword [esp + 0x14]
mov edx, edi
or dword [eax + 4], 0x400
push eax
mov dword [eax + 8], esi
call fcn.1009d190
mov edx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0x30], edi
test edi, edi
je 0x100c49a7
mov ecx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x30], edx
mov word [ecx + edi + 0x18], si
add ecx, 0x18
mov dword [esp + 0x28], ecx
jmp 0x100c49a7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
inc esi
cmp byte [ecx + 0x51], 0
je 0x100c4900
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.10065cb0
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x100c4a36
mov esi, dword [esp + 0x30]
mov ecx, 1
mov dword [eax], esi
cmp esi, ecx
jl 0x100c4a03
lea edx, [edi + 0x18]
mov ebx, eax
nop dword [eax]
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x100c49f0
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.100c3430
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x100c4a3e
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x14]
mov edx, edi
mov dword [esi + 0x30], edi
push 0
mov ecx, dword [eax]
call fcn.1009c8a0
mov ecx, dword [esp + 0x38]
add esp, 4
cmp byte [esp + 0xf], 0x83
mov dword [ecx + 0x30], eax
jne 0x100c4a6e
mov dword [esp + 0x38], 0
jmp 0x100c4b63
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x54], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x38], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c4aa8
push 0
push edx
push 0
mov edx, 0x46
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c4adb
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, edi
push 1
call fcn.100c1ee0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x100c4b63
xor esi, esi
test edi, edi
jle 0x100c4b5f
mov ebx, dword [esp + 0x10]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x100c4b24
mov ecx, dword [esp + 0x14]
push esi
call fcn.100c33f0
mov ecx, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x100c4b3d
jmp 0x100c4b26
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x100c4b3d
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x14]
call fcn.1009b350
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x24]
add ecx, 4
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x54]
jl 0x100c4b06
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, esi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x34], 0
push str.ORDER
mov dword [eax + 0x38], 0
push dword [esi + 0x30]
call fcn.1009a770
mov eax, dword [esp + 0x3c]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x100c4bab
mov ecx, dword [esp + 0x14]
mov edx, eax
push str.ORDER
push dword [eax + 0x30]
call fcn.1009a770
add esp, 8
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.100c32a0
add esp, 4
cmp dword [esi + 0xc], 0
je 0x100c4c87
cmp byte [esp + 0xf], 0x83
jne 0x100c4c87
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x2c]
inc esi
lea edi, [esi + 1]
mov dword [eax + 0x2c], edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], edi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x100c4bf2
inc edx
jmp 0x100c4bf5
mov edx, dword [eax + 0xc]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c4c12
push 0
push esi
push edx
mov edx, 0x4e
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c4c3d
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c4c5a
push 0
push edi
push esi
mov edx, 0x4e
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c4c91
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100c4c91
mov dword [esp + 0x28], 0
xor esi, esi
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x100c4ca5
mov ecx, dword [esp + 0x44]
call fcn.1009c2c0
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x7c], 0xd
mov dword [esp + 0x8c], 0
mov edx, dword [ecx + 0x2c]
inc edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x88], 0
lea eax, [edx + 1]
mov byte [esp + 0x64], 0xd
mov dword [esp + 0x1c], eax
add eax, 2
mov dword [esp + 0x50], eax
mov dword [ecx + 0x2c], eax
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
movzx eax, byte [edi + 4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
sub eax, 0x83
je 0x100c4d44
sub eax, 1
je 0x100c4d3d
sub eax, 1
je 0x100c4d36
mov eax, str.UNION
jmp 0x100c4d49
mov eax, str.INTERSECT
jmp 0x100c4d49
mov eax, str.EXCEPT
jmp 0x100c4d49
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.10086b60
mov edi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x70], edi
jg 0x100c4d7f
push edx
push 0
push dword [esp + 0x28]
mov edx, 0xd
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
mov edi, eax
jmp 0x100c4daf
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x6c], edx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
push str.LEFT
push 1
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.10086b60
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x88]
add esp, 0xc
mov ecx, esi
push eax
call fcn.100c7e40
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x100c4e01
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x43
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c4e34
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x100c4e57
mov eax, 0x102dfed0
jmp 0x100c4e68
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x54], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x100c4e96
push esi
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x100c4ec2
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push str.RIGHT
push 1
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
push dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
call fcn.10086b60
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push eax
call fcn.100c7e40
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c4f2d
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x43
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c4f60
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
push dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov edx, esi
mov ecx, dword [esp + 0x1c]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push edi
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x28]
inc eax
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x90]
push eax
call fcn.100c4490
mov dword [esp + 0x30], eax
add esp, 0x18
mov al, byte [esp + 0xf]
cmp al, 0x83
je 0x100c4fb2
cmp al, 0x82
jne 0x100c4fdd
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x68]
push dword [esp + 0x28]
mov edx, esi
push edi
mov edi, dword [esp + 0x5c]
push edi
push dword [esp + 0x4c]
push eax
call fcn.100c4490
add esp, 0x18
mov dword [esp + 0x48], eax
jmp 0x100c4fe1
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
test edx, edx
je 0x100c502e
add dword [edx], 0xffffffff
jne 0x100c502e
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x100c5025
cmp dword [ecx + 0x1d0], 0
je 0x100c5005
call fcn.10065950
jmp 0x100c502e
cmp edx, dword [ecx + 0x130]
jb 0x100c5025
cmp edx, dword [ecx + 0x134]
jae 0x100c5025
mov eax, dword [ecx + 0x12c]
mov dword [edx], eax
mov dword [ecx + 0x12c], edx
jmp 0x100c502e
push edx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov al, byte [esp + 0xf]
cmp al, 0x84
je 0x100c51de
cmp al, 0x85
je 0x100c51de
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x3c], esi
cmp dword [ebx + 0x70], esi
jg 0x100c506c
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, ebx
push edi
call fcn.100866e0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x3c], esi
jmp 0x100c509b
mov edx, dword [esp + 0x48]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x28], edx
cmp dword [ebx + 0x70], edx
jg 0x100c50c6
push 0
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x24]
call fcn.100866e0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x100c50f9
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c5117
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c5146
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
movzx esi, word [eax + 6]
mov eax, dword [esp + 0x10]
movsx edx, si
movzx edi, word [eax + 6]
movsx ecx, di
cmp di, si
jl 0x100c5196
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x100c517c
mov esi, dword [esp + 0x10]
mov eax, edi
mov edi, dword [esp + 0x3c]
mov word [esi + 6], ax
mov al, byte [esp + 0xf]
jmp 0x100c51e8
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x100c5188
lea eax, [edi + 1]
jmp 0x100c51c9
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
jmp 0x100c51c9
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x100c51b1
mov edi, dword [esp + 0x3c]
mov eax, esi
mov esi, dword [esp + 0x10]
mov word [esi + 6], ax
mov al, byte [esp + 0xf]
jmp 0x100c51e8
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x100c51bd
lea eax, [esi + 1]
jmp 0x100c51c9
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
movzx eax, ax
mov word [esi + 6], ax
mov al, byte [esp + 0xf]
jmp 0x100c51e8
mov ecx, dword [esp + 0x2c]
mov edi, ecx
mov dword [esp + 0x28], ecx
cmp al, 0x85
jne 0x100c520b
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], edi
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x100c5315
mov word [esi + 6], ax
jmp 0x100c5315
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x24], esi
cmp dword [ebx + 0x70], esi
jg 0x100c523a
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x1c]
inc eax
mov ecx, ebx
push eax
call fcn.100866e0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
jmp 0x100c5272
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c5295
push 0
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.100866e0
add esp, 0xc
jmp 0x100c52c8
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c52e6
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c5315
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x38], esi
cmp dword [ebx + 0x70], esi
jg 0x100c5344
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x1c]
inc eax
mov ecx, ebx
push eax
call fcn.100866e0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x38], esi
jmp 0x100c537c
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c539c
push 0
push edi
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c53cb
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c53ec
push 0
push dword [esp + 0x44]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.100866e0
add esp, 0xc
jmp 0x100c541f
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0xf]
cmp al, 0x83
jne 0x100c5430
mov dword [esp + 0x18], esi
jmp 0x100c54f1
cmp al, 0x85
jne 0x100c5442
mov dword [esp + 0x18], esi
inc esi
mov dword [esp + 0x38], esi
jmp 0x100c54f1
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x70], edx
jg 0x100c546a
push 0
push edi
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x100c5499
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c54ba
push 0
push dword [esp + 0x44]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.100866e0
add esp, 0xc
jmp 0x100c54ed
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0xf]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x3c], ecx
cmp al, 0x83
je 0x100c5500
cmp al, 0x82
jne 0x100c5550
mov esi, dword [esp + 0x50]
cmp dword [ebx + 0x70], ecx
jg 0x100c5521
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, ebx
push esi
call fcn.100866e0
add esp, 0xc
jmp 0x100c5550
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp dword [ebx + 0x70], ecx
jg 0x100c5575
push 0
push esi
push edi
mov edx, 0xe
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c55a0
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c55c1
push 0
push dword [esp + 0x44]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.100866e0
add esp, 0xc
jmp 0x100c55f4
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x100c5606
mov eax, 0x102dfed0
jmp 0x100c561b
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c5642
mov edx, dword [esp + 0x28]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x28]
mov edx, 0xe
call fcn.100866e0
add esp, 0xc
jmp 0x100c5675
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c5692
push 0
push esi
push edi
mov edx, 0xe
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
jmp 0x100c56bd
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100c56db
push edx
mov edx, ebx
call fcn.10086d30
add esp, 4
jmp 0x100c56e4
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x100c5705
push 0
push 0
push 0
mov edx, 0x56
mov ecx, ebx
call fcn.100866e0
add esp, 0xc
mov edx, eax
jmp 0x100c5738
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff1
push dword [esp + 0x5c]
mov ecx, ebx
call fcn.100874d0
mov edx, dword [ebx + 0x6c]
add esp, 8
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x84]
cmp dword [ebx + 0x70], edx
jg 0x100c5774
push dword [esp + 0x30]
mov edx, 0x57
mov ecx, ebx
push esi
push edi
call fcn.100866e0
add esp, 0xc
mov edx, eax
jmp 0x100c57a3
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x60]
mov ecx, ebx
call fcn.100874d0
mov ecx, dword [ebx + 0x6c]
add esp, 8
test ecx, ecx
jle 0x100c57cd
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100c57f2
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, 0x10
call fcn.100866e0
add esp, 0xc
jmp 0x100c5825
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100c5843
push edx
mov edx, ebx
call fcn.10086d30
add esp, 4
jmp 0x100c584c
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x100c5865
mov ecx, dword [esp + 0x44]
push 1
call fcn.100c0420
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
jne 0x100c5881
xor eax, eax
jmp 0x100c58a7
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x100c588c
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x100c589b
mov eax, 0x102dfed0
jmp 0x100c58a4
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x94]
mov dword [ebx + 0xd4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret