Function at 0x10075680
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1d0]
mov dword [esp + 0xc8], eax
mov eax, dword [esi + 0x1d4]
push edi
mov edi, dword [esi]
mov dword [esi + 0x1d0], eax
inc eax
mov dword [esp + 0x38], 1
mov dword [esi + 0x1d4], eax
mov dword [esp + 0x34], edi
test ebx, ebx
je 0x1007711c
cmp byte [edi + 0x41], 0
jne 0x1007711c
cmp dword [esi + 0x40], 0
jne 0x1007711c
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.100396f0
add esp, 0x10
test eax, eax
jne 0x1007711c
push 0x30
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.10004b00
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 8
ja 0x10075731
mov eax, dword [ebx + 0x30]
push eax
push edi
call fcn.10036490
mov ecx, 0xfffe
add esp, 8
and word [ebx + 6], cx
mov dword [ebx + 0x30], 0
push 0
push ebx
push esi
call fcn.1005ea80
mov edx, dword [ebx + 0x30]
mov edi, dword [ebx]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 0x20]
add esp, 0xc
cmp dword [esi + 0x40], 0
mov dword [esp + 0x6c], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], edi
jne 0x10077039
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x41], 0
jne 0x10077039
movzx eax, word [ebx + 6]
shr eax, 2
and eax, 1
mov dword [esp + 0x14], eax
mov eax, esi
call fcn.1003c530
mov dword [esp + 0x10], eax
test eax, eax
je 0x10077039
cmp dword [edi], 1
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
jle 0x100757d1
mov edi, esi
call fcn.10034990
test eax, eax
jne 0x10077039
cmp dword [ebx + 0x34], 0
mov dword [esp + 0x44], 0
jne 0x10075a94
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
cmp ecx, dword [eax]
jge 0x10075a94
mov eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x3c]
shl edx, 4
lea edi, [edx + eax + 8]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x48], eax
test eax, eax
je 0x10075a86
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1007583e
test byte [edi + 0x28], 4
jne 0x10075a86
mov ecx, dword [edi + 0x1c]
mov esi, dword [esp + 0x10]
push eax
push ecx
push 0x11
call fcn.1003a180
mov esi, dword [ebp + 8]
add esp, 0xc
jmp 0x10075a86
mov eax, ebx
call fcn.10024c90
add dword [esi + 0x1cc], eax
mov edx, dword [esp + 0x48]
movzx eax, word [edx + 6]
mov ecx, dword [esp + 0x44]
shr eax, 2
and eax, 1
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push esi
mov eax, ebx
call fcn.100417f0
add esp, 0x10
test eax, eax
je 0x10075898
cmp dword [esp + 0x24], 0
je 0x1007588b
or word [ebx + 6], 4
mov dword [esp + 0x14], 1
mov dword [esp + 0x44], 0xffffffff
jmp 0x10075a55
mov edx, dword [esp + 0x3c]
cmp dword [edx], 1
jne 0x10075972
mov ecx, dword [esp + 0x34]
mov eax, 0x100
test word [ecx + 0x3c], ax
jne 0x10075972
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x20]
inc dword [esi + 0x48]
mov esi, dword [esi + 0x48]
inc eax
push eax
push 0
push esi
mov dword [edi + 0x1c], esi
push 0x14
mov esi, ecx
mov dword [esp + 0x3c], eax
call fcn.100370c0
mov eax, dword [edi + 0x1c]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
mov dword [edi + 0x18], edx
mov dword [esp + 0xe4], eax
xor eax, eax
lea edx, [esp + 0xe0]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x1d4]
push edx
push esi
mov byte [esp + 0xe8], 0xd
mov byte [esp + 0xe9], 0
push eax
mov byte [edi + 0x2c], cl
call fcn.10075680
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add esp, 0x1c
push eax
push ecx
call fcn.100161e0
mov edx, dword [edi + 0x10]
mov esi, dword [esp + 0x18]
mov word [edx + 0x1c], ax
mov ecx, dword [edi + 0x1c]
or dword [edi + 0x28], 4
mov eax, dword [esp + 0xe0]
push ecx
push 0x15
mov dword [edi + 0x20], eax
call fcn.1003a1e0
mov eax, dword [esp + 0x3c]
add esp, 0x10
dec eax
mov edx, esi
call fcn.1001c180
jmp 0x10075a45
inc dword [esi + 0x48]
mov esi, dword [esi + 0x48]
push esi
mov dword [edi + 0x1c], esi
mov esi, dword [esp + 0x14]
push 0
push 0x19
mov dword [esp + 0x38], 0
call fcn.1003a180
mov dword [esp + 0x34], eax
inc eax
add esp, 0xc
test byte [edi + 0x28], 2
mov dword [edi + 0x18], eax
jne 0x100759ae
mov eax, dword [ebp + 8]
call fcn.1003e5f0
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x30]
mov esi, dword [esp + 0x48]
mov dword [esp + 0xd4], eax
xor eax, eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 8]
mov dl, byte [eax + 0x1d4]
push ecx
push esi
mov byte [esp + 0xd8], 0xc
mov byte [esp + 0xd9], 0
push eax
mov byte [edi + 0x2c], dl
call fcn.10075680
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
add esp, 0xc
push edx
push eax
call fcn.100161e0
mov ecx, dword [edi + 0x10]
mov esi, dword [esp + 0x18]
mov word [ecx + 0x1c], ax
mov eax, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x10075a24
mov edx, esi
call fcn.1001c180
mov edx, dword [edi + 0x1c]
push edx
push 0x12
call fcn.1003a1e0
mov ecx, dword [esp + 0x30]
add esp, 8
cmp dword [esi + 0x20], ecx
jbe 0x10075a45
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp + 8]
mov esi, eax
mov dword [eax + 0x38], 0
mov byte [eax + 0x13], 0
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x41], 0
jne 0x10077039
mov eax, ebx
call fcn.10024c90
sub dword [esi + 0x1cc], eax
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 8
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x3c], eax
jbe 0x10075a86
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x6c], edx
inc dword [esp + 0x44]
cmp dword [ebx + 0x34], 0
je 0x100757e3
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x2c], eax
mov al, byte [ebx + 6]
and al, 1
cmp dword [ebx + 0x34], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x88], al
je 0x10075ae4
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov ecx, esi
call fcn.1005b530
mov edx, dword [esp + 0xd4]
add esp, 8
mov dword [esi + 0x1d0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 6]
and al, 5
cmp al, 1
jne 0x10075b21
mov edi, dword [esp + 0x6c]
push 0xffffffffffffffff
push ecx
call fcn.10013430
add esp, 8
test eax, eax
jne 0x10075b21
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x38]
push edx
mov ecx, 0xfffe
and word [ebx + 6], cx
push eax
call fcn.1002e880
add esp, 0xc
mov dword [ebx + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x6c], 0
je 0x10075b7e
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x6c]
mov ecx, dword [ecx]
push esi
xor ebx, ebx
mov eax, edi
call fcn.100534f0
mov ecx, dword [esi + 0x44]
add esp, 4
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x54]
lea edx, [ecx + 1]
mov dword [esi + 0x44], edx
mov edx, dword [eax]
mov eax, dword [edi]
mov esi, dword [esp + 0x18]
push ebx
lea edx, [edx + eax + 1]
push edx
push ecx
push 0x39
mov dword [esp + 0x8c], ecx
call fcn.1003f5a0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
add esp, 0x18
mov dword [esp + 0x80], eax
jmp 0x10075b89
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
mov edi, dword [esp + 0x10]
jne 0x10075baf
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov ecx, dword [eax + 4]
push edx
push ecx
push 0x39
mov esi, edi
call fcn.1003a180
mov esi, dword [ebp + 8]
add esp, 0xc
mov eax, edi
call fcn.10037070
push eax
mov dword [esp + 0x108], eax
push ebx
mov eax, esi
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], 0x7fffffff
call fcn.10042240
add esp, 8
cmp dword [ebx + 8], 0
jne 0x10075c00
cmp dword [esp + 0x80], 0
jl 0x10075c00
mov eax, dword [esp + 0x80]
mov ecx, edi
call fcn.100144d0
or byte [esp + 0x84], 1
mov byte [eax], 0x3a
test byte [ebx + 6], 1
je 0x10075c6d
mov eax, dword [esi + 0x44]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x8c], eax
inc eax
push 0xfffffffffffffffa
push ecx
mov dword [esi + 0x44], eax
mov eax, dword [edx]
push esi
xor ecx, ecx
xor ebx, ebx
call fcn.100534f0
add esp, 8
push eax
mov eax, dword [esp + 0x94]
push ebx
push ebx
push eax
push 0x39
mov esi, edi
call fcn.1003f5a0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + 4]
add esp, 0x18
test eax, eax
je 0x10075c5d
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [esp + 0x89], 3
jmp 0x10075c75
mov byte [esp + 0x89], 0
mov edx, dword [esp + 0x18]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x10075d7a
cmp edx, edi
jne 0x10075d7a
movzx edx, byte [esp + 0x88]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x6c]
neg edx
push edi
sbb edx, edx
and edx, 0x400
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
push esi
call fcn.10074990
mov edi, eax
add esp, 0x1c
mov dword [esp + 0x60], edi
test edi, edi
je 0x10077039
mov ax, word [edi + 0x20]
call fcn.10016160
cmp edx, dword [ebx + 0x1c]
ja 0x10075ce5
jb 0x10075cdf
cmp eax, dword [ebx + 0x18]
jae 0x10075ce5
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
cmp byte [esp + 0x88], 0
je 0x10075cfd
mov al, byte [edi + 0x28]
test al, al
je 0x10075cfd
mov byte [esp + 0x89], al
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10075d1d
movsx ecx, byte [edi + 0x24]
mov dword [esp + 0x70], ecx
cmp ecx, dword [eax]
jne 0x10075d1d
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x80], 0
jl 0x10075d42
test eax, eax
jne 0x10075d42
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x10]
call fcn.1003f340
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 0x60]
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x7c]
push edx
push 0xffffffffffffffff
push eax
push ebx
mov ebx, esi
call fcn.10055890
push edi
call fcn.1003b2a0
add esp, 0x24
xor ebx, ebx
jmp 0x10076b61
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
cmp edx, edi
je 0x10075dd2
mov ecx, dword [ebx]
mov eax, dword [ecx]
cmp eax, edi
mov ecx, dword [ecx + 4]
jle 0x10075da5
add ecx, 0x16
xor edi, edi
mov word [ecx], di
dec eax
add ecx, 0x18
cmp eax, edi
jg 0x10075d98
mov eax, dword [edx]
cmp eax, edi
mov ecx, dword [edx + 4]
jle 0x10075dbe
add ecx, 0x16
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
cmp eax, edi
jg 0x10075db1
cmp dword [ebx + 0x1c], edi
ja 0x10075dc9
cmp dword [ebx + 0x18], 0x64
jbe 0x10075ddc
mov dword [ebx + 0x18], 0x64
jmp 0x10075dd9
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x1c], edi
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
call fcn.10013430
add esp, 8
test eax, eax
jne 0x10075dfb
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x10]
call fcn.10037070
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe8], ecx
mov ecx, dword [esi + 0x48]
inc ecx
lea edx, [esp + 0x9c]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0xe4], esi
mov dword [esp + 0xf0], edx
mov dword [esp + 0xac], ecx
cmp edi, eax
je 0x10075e7c
mov edx, dword [edi]
mov dword [esp + 0xa8], edx
jmp 0x10075e83
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0xe4]
push ecx
mov dword [esp + 0xb8], eax
call fcn.1003e170
mov ebx, dword [esp + 0x70]
lea edx, [esp + 0xe8]
add esp, 4
push edx
call fcn.1003e170
mov ecx, dword [esp + 0x30]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x10075ed0
lea eax, [esp + 0xe4]
push eax
call fcn.100399e0
add esp, 4
cmp dword [esp + 0xc8], edi
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xc0], ecx
jle 0x10075f31
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0xc4]
or word [esp + 0x100], 8
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax]
mov ebx, dword [ecx + 0x14]
lea edx, [esp + 0xe4]
push edx
call fcn.1003e170
add dword [esp + 0x18], 0x10
mov eax, 0xfff7
and word [esp + 0x104], ax
inc edi
add esp, 4
cmp edi, dword [esp + 0xc8]
jl 0x10075eeb
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xb0], ecx
cmp byte [edx + 0x41], 0
jne 0x10077039
cmp dword [esp + 0x18], 0
je 0x10076bce
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xa0], eax
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x18]
push esi
xor ebx, ebx
call fcn.100534f0
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x14]
add esp, 4
push 0xfffffffffffffffa
push eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xb0]
push ebx
push eax
push ecx
push 0x3a
call fcn.1003f5a0
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x48]
inc eax
lea esi, [eax + 1]
mov dword [esp + 0x70], eax
lea eax, [esi + 1]
mov dword [esp + 0x2c], eax
mov dword [edi + 0x48], eax
mov eax, ebx
mov dword [esp + 0x3c], esi
call fcn.10037070
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0xac], eax
mov eax, ebx
mov dword [esp + 0x40], edx
call fcn.10037070
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
add eax, edx
mov dword [edi + 0x48], eax
mov ecx, dword [ecx]
push esi
lea edx, [eax + 1]
add ecx, eax
push 0
push 0x19
mov esi, ebx
mov dword [esp + 0x8c], edx
mov dword [edi + 0x48], ecx
call fcn.1003a180
mov edx, dword [esp + 0x7c]
add esp, 0x24
push edx
push 0
push 0x19
call fcn.1003a180
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [esp + 0xa4]
add esp, 0xc
lea edx, [eax + ecx - 1]
push edx
push eax
push 0
push 0x1c
call fcn.100370c0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push 0x11
call fcn.1003a180
add esp, 0x1c
mov edx, dword [esp + 0x30]
neg edx
sbb edx, edx
and edx, 0x800
mov eax, 0x100
or dx, ax
mov eax, dword [esp + 0x40]
push 0
movzx ecx, dx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x44]
push 0
push edx
push eax
push ecx
push edi
call fcn.10074990
add esp, 0x1c
mov dword [esp + 0x60], eax
test eax, eax
je 0x10077037
mov ecx, dword [esp + 0x18]
mov edx, eax
movsx eax, byte [edx + 0x24]
cmp eax, dword [ecx]
jne 0x100760b6
xor edi, edi
mov dword [esp + 0x40], edi
jmp 0x10076407
cmp byte [esp + 0x88], 0
je 0x100760ce
mov edx, dword [ebp + 0xc]
test byte [edx + 6], 1
mov eax, str.DISTINCT
je 0x100760d3
mov eax, str.GROUP_BY
mov esi, edi
call fcn.10042a80
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x40], 1
mov dword [esp + 0x38], edi
mov eax, edi
test ecx, ecx
jle 0x1007612e
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x1c], ecx
add edx, 0xc
mov ecx, edi
jmp 0x10076114
mov edx, dword [esp + 0x20]
cmp dword [edx], eax
jl 0x1007611a
inc ecx
inc eax
add edx, 0x18
sub dword [esp + 0x1c], 1
mov dword [esp + 0x20], edx
jne 0x10076110
mov dword [esp + 0x38], ecx
jmp 0x10076132
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x38]
cmp ecx, eax
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x64], edx
jg 0x1007614c
add edx, ecx
sub eax, ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], eax
jmp 0x1007615b
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x64], edx
mov dword [esi + 0x48], eax
mov edx, esi
call fcn.1001b8b0
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
push eax
push esi
xor cl, cl
call fcn.1003e1f0
add esp, 8
cmp dword [esp + 0xbc], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], 0
jle 0x10076210
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xb8]
add ecx, edi
mov dword [esp + 0x20], ecx
xor edi, edi
mov edx, dword [eax + edi + 0xc]
cmp edx, dword [esp + 0x1c]
jl 0x100761fb
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + edi + 4]
push 0
push ecx
mov ecx, dword [eax + edi + 8]
push edx
mov edx, dword [eax + edi]
push ecx
push edx
mov eax, esi
call fcn.1005ce30
add esp, 0x14
cmp dword [esp + 0x20], eax
je 0x100761e7
mov ecx, dword [esp + 0x20]
push ecx
push eax
push 0x22
mov esi, ebx
call fcn.1003a180
mov esi, dword [ebp + 8]
add esp, 0xc
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x44]
inc ecx
add edi, 0x18
cmp ecx, dword [esp + 0xbc]
mov dword [esp + 0x44], ecx
jl 0x100761a3
mov al, byte [esi + 0x13]
test al, al
jne 0x1007621f
inc dword [esi + 0x48]
mov edi, dword [esi + 0x48]
jmp 0x1007622b
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov edi, dword [esi + edx*4 + 0x18]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x1c], eax
jg 0x1007624b
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x1007627a
mov eax, dword [esp + 0x1c]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x64]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x31
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0xa0]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x1c], eax
jg 0x100762a5
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100762cd
mov eax, dword [esp + 0x1c]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x6d
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
test edi, edi
je 0x100762f8
mov dl, byte [esi + 0x13]
cmp dl, 8
jae 0x100762f8
xor eax, eax
lea ecx, [esi + 0x74]
mov edi, edi
cmp dword [ecx + 0xc], edi
je 0x10076351
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x100762e0
movzx edx, dl
mov dword [esi + edx*4 + 0x18], edi
inc byte [esi + 0x13]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
mov esi, dword [ebp + 8]
push eax
mov eax, edi
call fcn.1001b950
add esp, 4
cmp edi, dword [esi + 0x38]
jle 0x1007631d
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x60]
push edx
call fcn.1003b2a0
mov edi, dword [esi + 0x44]
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
mov al, byte [esi + 0x13]
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0xa4], edi
test al, al
jne 0x10076357
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x20], ecx
jmp 0x10076367
mov byte [ecx + 6], 1
jmp 0x100762f8
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + edx*4 + 0x18]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x1007637f
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100763ae
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x3c
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
mov edi, dword [esp + 0xa0]
jg 0x100763cd
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100763f5
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x6a
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [ebp + 8]
mov byte [esp + 0x9d], 1
call fcn.1001b8b0
xor edi, edi
cmp dword [esp + 0x30], edi
je 0x10076443
mov edx, dword [esp + 0x34]
test byte [edx + 0x3c], 4
jne 0x10076443
cmp dword [esp + 0x40], edi
jne 0x10076427
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x25], 0
je 0x10076443
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x6c], 0
call fcn.1003f340
mov ebx, edi
xor edi, edi
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], ecx
call fcn.1001b8b0
cmp dword [esp + 0x40], edi
je 0x10076476
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xa0]
push edx
push eax
push ecx
push 0x64
mov esi, ebx
call fcn.100370c0
add esp, 0x10
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp dword [ecx], edi
jle 0x1007651b
mov dword [esp + 0x30], edi
cmp dword [esp + 0x40], edi
je 0x100764de
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x20], eax
jg 0x100764ae
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076509
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
lea edx, [esi + ecx]
mov byte [eax], 0x2f
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x10076509
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
lea ecx, [esi + eax]
push ecx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xa0], 1
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.10085bc0
add esp, 0xc
mov ecx, dword [esp + 0x18]
add dword [esp + 0x30], 0x18
inc esi
cmp esi, dword [ecx]
jl 0x10076488
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x10076525
inc dword [eax]
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
mov ecx, dword [ecx]
mov dword [esp + 0x30], ecx
jg 0x1007654a
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
je 0x1007654a
mov esi, 1
jmp 0x1007657c
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x98]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov byte [eax], 0x2a
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, esi
cmp ecx, edi
je 0x100765c4
cmp byte [edx + 0x41], 0
jne 0x100765c4
cmp esi, edi
jge 0x10076595
mov eax, dword [ebx + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.1003a090
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x10], edi
cmp eax, edi
jne 0x100765bb
mov dword [esi + 0x10], edi
mov byte [esi + 1], 0
jmp 0x100765d2
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x100765d2
mov ecx, dword [esp + 0x5c]
mov eax, 0xfffffffa
call fcn.1003a090
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
mov dword [esp + 0x30], esi
jg 0x100765ee
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076616
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x30]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 0x2b
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], eax
jg 0x10076646
push esi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076678
mov eax, dword [esp + 0x1c]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x68]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x98]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x20
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov esi, dword [ebp + 8]
push edx
call fcn.1001b950
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add esp, 4
cmp dword [eax + 0x54], esi
jg 0x100766a4
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100766d2
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov byte [eax], 0x11
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x100766ea
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076715
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov byte [eax], 0x89
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x1007672d
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076758
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
mov byte [eax], 0x11
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jbe 0x1007676d
mov edx, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
dec eax
lea edx, [esp + 0x9c]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.10052ed0
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
add esp, 8
cmp dword [ecx + 0x54], esi
jg 0x100767a3
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100767cf
mov eax, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x20], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov byte [eax], 0x19
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
cmp dword [esp + 0x40], edi
je 0x10076829
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x50], edx
jg 0x100767fc
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076877
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov byte [eax], 5
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x10076877
mov eax, dword [esp + 0x60]
push eax
call fcn.1003b2a0
mov ecx, dword [esp + 0x54]
add esp, 4
cmp ecx, dword [ebx + 0x20]
jge 0x10076877
mov eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx eax, byte [esi + 1]
mov edx, dword [ebx]
call fcn.1003a090
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov byte [esi], 0x9a
mov eax, dword [ebx + 0x20]
dec eax
cmp dword [esp + 0x50], eax
jne 0x10076877
mov dword [ebx + 0x20], eax
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x1007688f
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100768bd
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x94]
mov byte [eax], 0x11
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x100768d5
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100768fc
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov byte [eax], 0x10
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
mov dword [esp + 0x50], esi
jg 0x10076918
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076944
mov edx, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x20], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x19
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x1007695c
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076983
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x12
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x94]
js 0x1007699f
mov edx, dword [ecx + 0x70]
cmp edx, edi
je 0x1007699f
mov esi, dword [ebx + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [ebx + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x100769be
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x100769e8
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x58]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
lea edx, [esi + 2]
mov byte [eax], 0x89
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x24], eax
jg 0x10076a08
push ebx
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076a2f
mov eax, dword [esp + 0x24]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x12
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x9c]
push edx
mov eax, ebx
call fcn.100416e0
mov eax, dword [esp + 0x30]
add esp, 4
push 0x10
inc esi
push esi
push eax
push ebx
call fcn.10083db0
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 0x10]
push ecx
push esi
push edx
lea eax, [esp + 0xa4]
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x8c]
push ecx
push 0xffffffffffffffff
push edx
push eax
call fcn.10055890
mov esi, dword [esp + 0x40]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
add esp, 0x30
cmp dword [eax + 0x54], edi
jg 0x10076a9a
push esi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076ac3
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov byte [eax], 0x12
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x10076ac5
xor ebx, ebx
mov ecx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x54]
js 0x10076ade
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x10076ade
mov edi, dword [esi + 0x20]
mov dword [edx + eax*4], edi
mov edx, dword [esi + 0x20]
dec edx
lea eax, [esp + 0x9c]
mov dword [ecx + 0x58], edx
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.10055530
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 8
cmp dword [edx + 0x54], edi
jg 0x10076b11
push esi
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10076b36
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x12
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x48]
js 0x10076b56
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x10076b56
mov edi, dword [edi + 0x20]
mov dword [edx + eax*4], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
dec eax
mov dword [ecx + 0x58], eax
cmp byte [esp + 0x89], 3
jne 0x10076f05
cmp byte [esi + 0x1c2], 2
jne 0x10076f05
mov edi, dword [esi + 8]
mov esi, dword [esi]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
call fcn.10032280
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 0x20]
mov edx, dword [ecx + 0x1d0]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x18]
add esp, 8
cmp dword [eax + 0x54], esi
mov dword [esp + 0x2c], edx
jg 0x10076e8b
push edi
call fcn.100318e0
add esp, 4
test eax, eax
je 0x10076e8b
mov esi, 1
jmp 0x10076eb0
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x54], 0
call fcn.100128f0
mov edi, eax
test edi, edi
je 0x10076d3e
mov ebx, dword [ebp + 8]
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.10012bc0
mov esi, eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x58], eax
inc eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
mov ecx, esi
mov edx, ebx
mov dword [esp + 0x24], eax
call fcn.100720c0
mov ecx, dword [edi]
mov edx, dword [edi + 0x20]
mov eax, dword [ebp + 8]
push ecx
push 0
push edx
mov ebx, esi
call fcn.10035b70
add esp, 0xc
test byte [edi + 0x2c], 0x20
je 0x10076c4c
mov eax, edi
call fcn.10013030
mov dword [esp + 0x14], eax
jmp 0x10076c50
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10076c84
test byte [ecx + 0x34], 4
jne 0x10076c79
movzx edx, word [ecx + 0x2c]
cmp dx, word [edi + 0x2a]
jge 0x10076c79
cmp dword [ecx + 0x24], 0
jne 0x10076c79
test eax, eax
je 0x10076c77
cmp dx, word [eax + 0x2c]
jge 0x10076c79
mov eax, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10076c57
mov dword [esp + 0x14], eax
test eax, eax
je 0x10076ca1
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
push edx
mov ebx, eax
mov dword [esp + 0x28], ecx
call fcn.10052040
add esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
push 1
push esi
mov esi, dword [esp + 0x18]
push eax
push ebx
push 0x36
mov eax, esi
call fcn.1003f420
mov eax, dword [esp + 0x3c]
add esp, 0x14
test eax, eax
je 0x10076d08
mov ecx, dword [esi + 4]
mov edx, dword [esi]
test ecx, ecx
je 0x10076cfc
cmp byte [edx + 0x41], 0
jne 0x10076cfc
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.1003a090
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], 0xfa
mov ebx, dword [esp + 0x58]
jmp 0x10076d08
mov ecx, eax
mov eax, 0xfffffffa
call fcn.1003a090
mov edx, dword [esp + 0xc4]
mov eax, dword [edx + 8]
push eax
push ebx
push 0x32
call fcn.1003a180
add esp, 0xc
push ebx
push 0x3d
call fcn.1003a1e0
mov eax, dword [esp + 0x1c]
mov edx, edi
mov edi, dword [ebp + 8]
add esp, 8
call fcn.10041680
mov esi, edi
jmp 0x10076e3b
mov ecx, dword [ebp + 0xc]
xor edi, edi
xor bl, bl
cmp dword [ecx + 0x2c], 0
mov dword [esp + 0x28], edi
jne 0x10076da7
lea edi, [esp + 0x28]
lea eax, [esp + 0x9c]
call fcn.1001ab50
mov bl, al
test bl, bl
je 0x10076da3
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
push 0
push edx
push eax
call fcn.1002e880
mov edi, eax
add esp, 0xc
mov dword [esp + 0x54], edi
test edi, edi
je 0x10076da7
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x41], 0
jne 0x10076da7
mov eax, dword [edi + 4]
cmp bl, 1
setne dl
mov byte [eax + 0xc], dl
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov byte [edx], 0x9a
jmp 0x10076da7
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.10055530
mov eax, dword [esp + 0x48]
movzx cx, bl
push 0
movzx edx, cx
mov ecx, dword [esp + 0x48]
push edx
push 0
push edi
push eax
push ecx
push esi
call fcn.10074990
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x10076df2
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.10036490
add esp, 8
jmp 0x10077039
lea ecx, [esp + 0x9c]
push ecx
push esi
call fcn.10052ed0
add esp, 8
cmp byte [edi + 0x24], 0
jle 0x10076e20
mov edx, dword [edi + 0x34]
mov esi, dword [esp + 0x10]
push edx
push 0
push 0x10
call fcn.1003a180
mov esi, dword [ebp + 8]
add esp, 0xc
push edi
call fcn.1003b2a0
lea eax, [esp + 0xa0]
add esp, 4
push eax
mov eax, esi
call fcn.100416e0
add esp, 4
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push 0x10
push edi
push ecx
push esi
mov dword [esp + 0x7c], 0
call fcn.10083db0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push edi
push edi
push edx
push 0
push 0
push 0xffffffffffffffff
push ecx
push eax
mov ebx, esi
call fcn.10055890
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x64]
push edx
push eax
call fcn.10036490
add esp, 0x38
xor ebx, ebx
jmp 0x10076b39
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x9b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, esi
cmp ecx, ebx
je 0x10076ef6
cmp byte [edx + 0x41], bl
jne 0x10076ef6
cmp esi, ebx
jge 0x10076ec8
mov eax, dword [edi + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.1003a090
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x10076eed
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x10076f02
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x10076f02
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
call fcn.1003a090
mov esi, dword [ebp + 8]
cmp dword [esp + 0x6c], ebx
je 0x10077006
cmp dword [esp + 0x70], ebx
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x10076f1f
mov eax, str.ORDER_BY
cmp byte [esi + 0x1c2], 2
jne 0x10076fe9
mov edi, dword [esi + 8]
mov esi, dword [esi]
push eax
push str.USE_TEMP_B_TREE_FOR__s
call fcn.10032280
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 0x20]
mov edx, dword [ecx + 0x1d0]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x18]
add esp, 8
cmp dword [eax + 0x54], esi
mov dword [esp + 0x2c], edx
jg 0x10076f6f
push edi
call fcn.100318e0
add esp, 4
test eax, eax
je 0x10076f6f
mov esi, 1
jmp 0x10076f94
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x9b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, esi
cmp ecx, ebx
je 0x10076fda
cmp byte [edx + 0x41], bl
jne 0x10076fda
cmp esi, ebx
jge 0x10076fac
mov eax, dword [edi + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.1003a090
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x10076fd1
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x10076fe6
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x10076fe6
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
call fcn.1003a090
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
mov edx, dword [ebp + 0xc]
push ecx
push eax
lea ecx, [esp + 0x74]
push ecx
push edx
push esi
call fcn.100423b0
add esp, 0x14
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x104]
js 0x10077026
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x10077026
mov edi, dword [edi + 0x20]
mov dword [edx + eax*4], edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x20]
dec edx
mov dword [ecx + 0x58], edx
mov dword [esp + 0x38], ebx
jmp 0x10077039
mov esi, edi
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x1d0], eax
test edi, edi
jne 0x10077069
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 9
jne 0x10077069
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
push edx
push eax
push esi
call fcn.1004ad80
add esp, 0xc
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x100770b9
cmp dword [esi + 0x208], 0
je 0x1007708a
mov ecx, esi
call fcn.10022ca0
jmp 0x100770b9
cmp eax, dword [esi + 0x114]
jb 0x100770b0
cmp eax, dword [esi + 0x118]
jae 0x100770b0
mov ecx, dword [esi + 0x110]
mov dword [eax], ecx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
jmp 0x100770b9
push eax
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x10077113
cmp dword [esi + 0x208], 0
je 0x100770dd
mov ecx, esi
call fcn.10022ca0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x114]
jb 0x1007710a
cmp eax, dword [esi + 0x118]
jae 0x1007710a
mov edx, dword [esi + 0x110]
mov dword [eax], edx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret