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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x22c]
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 0x230]
mov dword [esi + 0x22c], eax
inc eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x230], eax
mov eax, dword [esi]
mov dword [esp + 0x24], esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x44], eax
test ebx, ebx
je 0x10053920
cmp byte [eax + 0x1e], 0
jne 0x10053920
cmp dword [esi + 0x40], 0
jne 0x10053920
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.10036fc0
add esp, 0x10
test eax, eax
jne 0x10053920
push 0x2c
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.10067e10
add esp, 0xc
cmp byte [edi], 4
ja 0x10051b6e
mov edx, dword [ebx + 0x18]
mov edi, dword [esp + 0x44]
push edx
call fcn.1002f510
mov eax, 0xfffe
add esp, 4
and word [ebx + 6], ax
mov dword [ebx + 0x18], 0
push 0
push ebx
push esi
call fcn.100511c0
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 8]
mov eax, dword [ebx]
add esp, 0xc
cmp dword [esi + 0x40], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x6c], eax
jne 0x100532d0
mov ecx, dword [esp + 0x44]
cmp byte [ecx + 0x1e], 0
jne 0x100532d0
movzx eax, word [ebx + 6]
shr eax, 2
and eax, 1
mov dword [esp + 0x34], eax
mov eax, esi
call fcn.1004d2f0
mov dword [esp + 0x14], eax
test eax, eax
je 0x100532d0
mov ecx, dword [esp + 0x6c]
cmp dword [ecx], 1
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx]
jle 0x10051bf7
cmp eax, 6
je 0x10051be4
cmp eax, 7
jne 0x10051bf7
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.100062b0
add esp, 8
jmp 0x100532d0
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x1c], eax
jne 0x10051d8a
jmp 0x10051c14
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
movsx edx, word [ecx]
cmp eax, edx
jge 0x10051d8a
lea edx, [eax*8]
sub edx, eax
lea eax, [ecx + edx*8 + 8]
mov dword [esp + 0x58], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10051d7c
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x14], 0
jne 0x10051d7c
lea edi, [esp + 0x64]
mov eax, ebx
mov dword [esp + 0x64], 0
call fcn.1002e1e0
mov ecx, dword [esp + 0x64]
add dword [esi + 0x220], ecx
mov edx, dword [esp + 0x10]
movzx edi, word [edx + 6]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
shr edi, 2
and edi, 1
push edi
push eax
push ecx
push esi
mov eax, ebx
call fcn.100502e0
add esp, 0x10
test eax, eax
je 0x10051cb7
test edi, edi
je 0x10051caa
or word [ebx + 6], 4
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0xffffffff
jmp 0x10051d37
mov edi, dword [esp + 0x58]
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x10]
mov dl, byte [esi + 0x230]
mov dword [esp + 0x100], eax
xor eax, eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
lea eax, [esp + 0xfc]
push eax
push ecx
mov word [esp + 0x104], 9
push esi
mov byte [edi + 0x17], dl
call fcn.10051aa0
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
add esp, 0xc
or eax, 0xc00
mov byte [edi + 0x14], 1
mov dword [esp + 0x78], eax
fld qword [edx + 0x48]
fldcw word [esp + 0x78]
fistp qword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
mov dword [ecx + 0x18], eax
fldcw word [esp + 0x1c]
mov edx, dword [esp + 0x44]
cmp byte [edx + 0x1e], 0
jne 0x100532d0
lea edi, [esp + 0x64]
mov eax, ebx
mov dword [esp + 0x64], 0
call fcn.1002e1e0
mov eax, dword [esp + 0x64]
sub dword [esi + 0x220], eax
mov edx, dword [esp + 0x3c]
cmp byte [edx], 4
mov ecx, dword [ebx + 8]
mov dword [esp + 0x80], ecx
jbe 0x10051d7c
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x4c], eax
inc dword [esp + 0x38]
cmp dword [ebx + 0x1c], 0
je 0x10051c10
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x58], ecx
movzx ecx, word [ebx + 6]
mov dword [esp + 0x1c], eax
mov eax, ecx
and eax, 1
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x6c], edx
mov dword [esp + 0x20], eax
je 0x10051e29
cmp dword [ebx + 0x24], 0
jne 0x10051df6
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x10051dc4
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x10051df6
cmp edx, eax
jle 0x10051df6
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.100062b0
add esp, 8
jmp 0x100532d0
mov ecx, dword [esp + 0x3c]
push ecx
mov edx, ebx
mov ecx, esi
call fcn.1004d510
mov edx, dword [esp + 0xc0]
add esp, 4
mov dword [esi + 0x22c], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10065fcc
mov esp, ebp
pop ebp
ret
and cl, 5
cmp cl, 1
jne 0x10051e51
mov eax, dword [esp + 0x44]
push 0
push edx
push eax
call fcn.1002ed40
mov ecx, 0xfffe
add esp, 0xc
and word [ebx + 6], cx
mov dword [ebx + 0x10], eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x4c]
mov edi, dword [ebx + 0x10]
push edx
call fcn.10032bd0
add esp, 4
test eax, eax
jne 0x10051f1c
mov eax, dword [esp + 0x44]
test byte [eax + 0xc], 0x20
jne 0x10051f1c
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x3c]
cmp byte [eax], 9
jne 0x10051ea9
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push edx
push eax
mov eax, dword [esp + 0x1c]
push 0x29
call fcn.1001fc40
add esp, 0xc
mov eax, dword [esp + 0x14]
call fcn.1001fdc0
fld qword [0x100792e0]
push eax
fstp qword [ebx + 0x48]
mov dword [esp + 0xc4], eax
push ebx
mov eax, esi
call fcn.1004d350
add esp, 8
test byte [ebx + 6], 1
je 0x10051f61
mov edi, dword [esi + 0x44]
lea ecx, [edi + 1]
mov dword [esi + 0x44], ecx
mov edx, dword [ebx]
push edx
push esi
mov dword [esp + 0x6c], edi
call fcn.1004c230
push 0xfffffffffffffff0
push eax
push 0
push 0
push edi
mov edi, dword [esp + 0x30]
push 0x29
mov eax, edi
call fcn.1001fca0
mov eax, dword [edi + 4]
add esp, 0x20
test eax, eax
je 0x10051f69
mov ecx, edi
mov ecx, dword [ecx + 0x1c]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x10
jmp 0x10051f69
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x10051e7f
push edi
push esi
call fcn.1004c230
mov ecx, dword [esi + 0x44]
push 0xfffffffffffffff0
push eax
mov dword [edi + 8], ecx
inc dword [esi + 0x44]
mov edx, dword [edi]
mov eax, dword [edi + 8]
push 0
add edx, 2
push edx
push eax
mov eax, dword [esp + 0x30]
push 0x29
call fcn.1001fca0
add esp, 0x20
mov dword [esp + 0x10], eax
mov dword [ebx + 0x40], eax
jmp 0x10051e87
mov dword [esp + 0x64], 0xffffffff
cmp dword [esp + 0x34], 0
mov edi, dword [esp + 0x1c]
jne 0x10052016
test edi, edi
jne 0x1005201a
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x80]
push edi
lea eax, [esp + 0x50]
push eax
push ecx
push edx
push esi
call fcn.1005eb80
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100532d0
fld qword [ebx + 0x48]
fcomp qword [edi + 0x28]
fnstsw ax
test ah, 0x41
jne 0x10051fb9
fld qword [edi + 0x28]
fstp qword [ebx + 0x48]
cmp dword [esp + 0x10], 0
jl 0x10051fe0
cmp dword [esp + 0x4c], 0
jne 0x10051fe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 1
call fcn.10020130
add esp, 4
mov dword [ebx + 0x40], 0xffffffff
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
push ecx
push ebx
push esi
call fcn.1004bdd0
push edi
call fcn.1005f6d0
mov edi, dword [esp + 0x40]
add esp, 0x2c
jmp 0x1005326b
test edi, edi
je 0x10052063
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
test eax, eax
jle 0x10052035
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x10052028
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jle 0x1005204e
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x10052041
fld qword [0x10079300]
fcom qword [ebx + 0x48]
fnstsw ax
test ah, 5
jp 0x1005206a
fstp qword [ebx + 0x48]
jmp 0x1005206c
fld1
fstp qword [ebx + 0x48]
jmp 0x1005206c
fstp st(0)
mov eax, dword [esp + 0x14]
call fcn.1001fdc0
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x7c], eax
xor eax, eax
lea edx, [esp + 0x8c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xe4], edx
cmp edi, eax
je 0x100520e4
mov eax, dword [edi]
inc eax
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
lea edx, [esp + 0xc8]
push edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
call fcn.10032f40
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0xcc]
add esp, 4
push eax
call fcn.10032f40
mov eax, dword [esp + 0x5c]
xor edi, edi
add esp, 4
cmp eax, edi
je 0x1005215d
push eax
lea edx, [esp + 0xf0]
lea ecx, [esp + 0xcc]
push edx
mov dword [esp + 0xf4], 0x10032c60
mov dword [esp + 0xf8], 0x10032f00
mov dword [esp + 0x100], ecx
call fcn.1002c580
add esp, 8
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x38], edi
cmp dword [esp + 0xb0], edi
jle 0x100521b2
jmp 0x10052180
mov ecx, dword [esp + 0xac]
mov edx, dword [edi + ecx]
mov ebx, dword [edx + 0x10]
lea eax, [esp + 0xc8]
push eax
call fcn.10032f40
mov eax, dword [esp + 0x3c]
inc eax
add esp, 4
add edi, 0x10
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0xb0]
jl 0x10052180
mov ecx, dword [esp + 0x44]
cmp byte [ecx + 0x1e], 0
jne 0x100532d0
cmp dword [esp + 0x1c], 0
je 0x1005333e
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
push edx
inc eax
push esi
mov dword [esi + 0x44], eax
call fcn.1004c230
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x1c]
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
push 0
push eax
push ecx
push 0x29
mov eax, edi
call fcn.1001fca0
inc dword [esi + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x48]
lea ebx, [eax + 1]
mov dword [esp + 0x70], eax
lea eax, [ebx + 1]
mov dword [esp + 0x54], eax
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esp + 0x98], ebx
call fcn.1001fdc0
inc dword [esi + 0x48]
mov edx, dword [esi + 0x48]
mov dword [esp + 0xa8], eax
mov eax, edi
mov dword [esp + 0x60], edx
call fcn.1001fdc0
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x48]
lea ecx, [eax + 1]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x3c]
add eax, dword [ecx]
push ebx
mov dword [esi + 0x48], eax
mov ecx, dword [ecx]
lea edx, [eax + 1]
add ecx, eax
push 0
push 7
mov eax, edi
mov dword [esp + 0x9c], edx
mov dword [esi + 0x48], ecx
call fcn.1001fc40
mov edx, dword [esp + 0x7c]
add esp, 0x2c
push edx
push 0
push 7
mov eax, edi
call fcn.1001fc40
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x4c]
add esp, 0xc
push eax
push ecx
push 2
mov eax, edi
call fcn.1001fc40
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x8c]
add esp, 0xc
push 0
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push esi
call fcn.1005eb80
add esp, 0x14
mov dword [esp + 0x84], eax
test eax, eax
je 0x100532d0
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
jne 0x100522fc
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], ebx
jmp 0x10052648
cmp dword [esp + 0x20], ebx
je 0x10052311
mov ecx, dword [esp + 0x5c]
test byte [ecx + 6], 1
mov eax, str.DISTINCT
je 0x10052316
mov eax, str.GROUP_BY
mov ecx, esi
call fcn.1004c2e0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x68], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], eax
cmp ecx, ebx
jle 0x10052372
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x10], ecx
add edx, 0xc
mov ecx, eax
jmp 0x10052359
mov edx, dword [esp + 0x28]
cmp dword [edx], eax
jl 0x1005235f
inc ecx
inc eax
add edx, 0x18
dec dword [esp + 0x10]
mov dword [esp + 0x28], edx
jne 0x10052355
mov dword [esp + 0x60], ecx
jmp 0x10052374
mov ecx, eax
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x18], edx
cmp ecx, eax
jg 0x1005238e
add edx, ecx
sub eax, ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], eax
jmp 0x1005239d
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x18], edx
mov dword [esi + 0x48], eax
mov eax, esi
call fcn.10030dd0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ebx
push esi
call fcn.10032240
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x98]
push eax
push edx
push 0x35
mov eax, edi
call fcn.1001fc40
mov ecx, dword [esp + 0x4c]
add esp, 0x14
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], ebx
cmp dword [esp + 0xa0], ebx
jle 0x100524b9
mov eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x10]
cmp dword [edx + eax + 0xc], ecx
jl 0x1005249f
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, edx
mov edx, dword [ecx + eax + 4]
push edx
mov edx, dword [ecx + eax]
mov eax, dword [ecx + eax + 8]
push edx
mov edi, esi
call fcn.10030d50
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x28], eax
je 0x10052483
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x54], eax
cmp dword [edi + 0x20], eax
jg 0x10052451
call fcn.1001faa0
test eax, eax
jne 0x10052483
mov eax, dword [esp + 0x54]
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x2c]
mov ecx, 1
add dword [edi + 0x1c], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xf
mov byte [edi + 0x64], bl
jmp 0x10052488
mov ecx, 1
add dword [esp + 0x20], ecx
add dword [esp + 0x28], ecx
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc dword [esp + 0x38]
mov edx, dword [esp + 0x38]
add dword [esp + 0x10], 0x18
cmp edx, dword [esp + 0xa0]
jl 0x100523fe
mov al, byte [esi + 0x15]
cmp al, bl
jne 0x100524c8
inc dword [esi + 0x48]
mov edx, dword [esi + 0x48]
jmp 0x100524d4
dec al
mov byte [esi + 0x15], al
movzx eax, al
mov edx, dword [esi + eax*4 + 0x18]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x100524f9
mov edi, dword [esp + 0x14]
call fcn.1001faa0
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x10052528
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 4]
inc dword [ecx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x18]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x60]
mov byte [eax + 3], bl
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x1e
mov byte [ecx + 0x64], bl
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [ecx + 0x20], eax
jg 0x10052558
mov edi, ecx
call fcn.1001faa0
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x1005257f
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov edi, dword [ecx + 4]
inc dword [ecx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x54]
mov byte [eax + 3], bl
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x46
mov byte [ecx + 0x64], bl
cmp edx, ebx
je 0x100525ac
mov cl, byte [esi + 0x15]
cmp cl, 8
jae 0x100525ac
xor eax, eax
lea edi, [esi + 0x60]
cmp dword [edi + 0x10], edx
je 0x100526de
inc eax
add edi, 0x18
cmp eax, 0xa
jl 0x10052590
movzx ecx, cl
mov dword [esi + ecx*4 + 0x18], edx
inc byte [esi + 0x15]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x18]
mov eax, esi
call fcn.10030a20
mov edx, dword [esp + 0x60]
cmp edx, dword [esi + 0x38]
jle 0x100525ce
mov eax, edx
mov ecx, edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x84]
push edx
call fcn.1005f6d0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x1c]
add esp, 4
mov dword [esp + 0x2c], eax
cmp dword [ecx + 0x20], eax
jg 0x1005260a
mov edi, ecx
call fcn.1001faa0
test eax, eax
jne 0x10052635
mov eax, dword [esp + 0x2c]
mov ecx, edi
inc dword [ecx + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x40
mov byte [ecx + 0x64], bl
mov eax, esi
mov byte [esp + 0x8d], 1
call fcn.10030dd0
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x60], eax
mov eax, esi
call fcn.10030dd0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
cmp dword [ecx], ebx
jle 0x100527ce
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edx
cmp dword [esp + 0x68], ebx
je 0x100526e7
mov eax, dword [esp + 0x90]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0x20], ecx
jg 0x100526a2
mov edi, eax
call fcn.1001faa0
test eax, eax
jne 0x100527b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
inc dword [ecx + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov byte [eax + 3], bl
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x1c
mov byte [ecx + 0x64], bl
jmp 0x100527b0
mov byte [edi + 8], 1
jmp 0x100525ac
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x8c], 1
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + ecx]
cmp eax, ebx
je 0x1005274e
cmp byte [eax], 0x84
jne 0x1005274e
mov eax, dword [eax + 0x18]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x10052729
call fcn.1001faa0
test eax, eax
jne 0x100527b0
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov word [eax], 0xe
jmp 0x100527a4
mov edi, dword [esp + 0x18]
push edi
push eax
push esi
call fcn.10031080
add esp, 0xc
mov dword [esp + 0x54], eax
cmp eax, edi
je 0x100527b0
mov edi, dword [esi + 0xc]
cmp edi, ebx
je 0x100527b0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x10052781
call fcn.1001faa0
test eax, eax
jne 0x100527b0
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x54]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov word [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x64], bl
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
inc dword [esp + 0x18]
add dword [esp + 0x10], 0x14
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [edx]
jl 0x10052672
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], ecx
cmp eax, edi
jg 0x1005285f
cmp eax, ebx
je 0x100527f2
add eax, eax
jmp 0x100527f7
mov eax, 0x33
mov ecx, dword [esi]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
add edx, edx
push edx
call fcn.100043e0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x100528c0
mov eax, dword [esi]
cmp eax, ebx
je 0x1005283b
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x104]
jb 0x1005283b
cmp ecx, dword [eax + 0x108]
jae 0x1005283b
movzx edx, word [eax + 0xe8]
jmp 0x1005284f
mov eax, dword [esp + 0x10]
push eax
call dword [0x1007cc94]
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, eax
mov eax, 0xcccccccd
mul edx
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], ecx
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x18
mov byte [esi + 0x64], bl
mov edx, dword [esp + 0x48]
push edx
push esi
mov ecx, 0xfffffffa
mov eax, edi
call fcn.10020280
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
add esp, 8
mov dword [esp + 0x28], edi
cmp eax, edi
jg 0x10052930
cmp eax, ebx
je 0x100528c7
add eax, eax
jmp 0x100528cc
mov edi, 1
jmp 0x10052891
mov eax, 0x33
mov ecx, dword [esi]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi + 4]
call fcn.100043e0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x10052958
mov eax, dword [esi]
cmp eax, ebx
je 0x1005290c
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x104]
jb 0x1005290c
cmp ecx, dword [eax + 0x108]
jae 0x1005290c
movzx edx, word [eax + 0xe8]
jmp 0x10052920
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1007cc94]
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, eax
mov eax, 0xcccccccd
mul edx
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x28]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x19
mov byte [esi + 0x64], bl
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x24]
push edx
push eax
call fcn.10030ea0
mov esi, dword [esp + 0x1c]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
add esp, 8
xor ebx, ebx
cmp eax, edi
jg 0x10052a00
cmp eax, ebx
je 0x10052993
add eax, eax
jmp 0x10052998
mov eax, 0x33
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
add ecx, ecx
add ecx, ecx
push ecx
mov ecx, dword [esi]
call fcn.100043e0
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, ebx
je 0x10052a2e
mov eax, dword [esi]
cmp eax, ebx
je 0x100529dc
mov ecx, dword [esp + 0x70]
cmp ecx, dword [eax + 0x104]
jb 0x100529dc
cmp ecx, dword [eax + 0x108]
jae 0x100529dc
movzx edx, word [eax + 0xe8]
jmp 0x100529f0
mov edx, dword [esp + 0x70]
push edx
call dword [0x1007cc94]
mov ecx, dword [esp + 0x74]
add esp, 4
mov edx, eax
mov eax, 0xcccccccd
mul edx
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], ecx
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x34]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x88]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x48], eax
cmp ecx, eax
jg 0x10052aa2
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x10052a48
mov eax, 0x33
mov ecx, dword [esi]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
add edx, edx
push edx
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10052acd
mov eax, dword [esi]
cmp eax, ebx
je 0x10052a82
cmp edi, dword [eax + 0x104]
jb 0x10052a82
cmp edi, dword [eax + 0x108]
jae 0x10052a82
movzx ecx, word [eax + 0xe8]
jmp 0x10052a8e
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x48]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x78]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x7c]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x71
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x48], eax
cmp ecx, eax
jg 0x10052b41
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x10052ae7
mov eax, 0x33
mov ecx, dword [esi]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
add edx, edx
push edx
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10052b6c
mov eax, dword [esi]
cmp eax, ebx
je 0x10052b21
cmp edi, dword [eax + 0x104]
jb 0x10052b21
cmp edi, dword [eax + 0x108]
jae 0x10052b21
movzx ecx, word [eax + 0xe8]
jmp 0x10052b2d
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x48]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x40]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x74]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x10052b81
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x8c]
push edx
push eax
call fcn.100515b0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
add esp, 8
mov dword [esp + 0x48], eax
cmp ecx, eax
jg 0x10052c0a
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x10052bb0
mov eax, 0x33
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
add ecx, ecx
add ecx, ecx
push ecx
mov ecx, dword [esi]
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10052c36
mov eax, dword [esi]
cmp eax, ebx
je 0x10052bea
cmp edi, dword [eax + 0x104]
jb 0x10052bea
cmp edi, dword [eax + 0x108]
jae 0x10052bea
movzx ecx, word [eax + 0xe8]
jmp 0x10052bf6
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x48]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [esi + 0x1c], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 7
mov byte [esi + 0x64], bl
cmp dword [esp + 0x68], ebx
je 0x10052c8f
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], eax
cmp dword [esi + 0x20], eax
jg 0x10052c5e
mov edi, esi
call fcn.1001faa0
test eax, eax
jne 0x10052caf
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x48]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x60]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x43
mov byte [esi + 0x64], bl
jmp 0x10052caf
mov edx, dword [esp + 0x84]
push edx
call fcn.1005f6d0
mov eax, dword [esp + 0x34]
add esp, 4
push 1
mov ecx, esi
call fcn.10020130
add esp, 4
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x30], eax
cmp ecx, eax
jg 0x10052d23
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x10052cc9
mov eax, 0x33
mov ecx, dword [esi]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi + 4]
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10052d51
mov eax, dword [esi]
cmp eax, ebx
je 0x10052d03
cmp edi, dword [eax + 0x104]
jb 0x10052d03
cmp edi, dword [eax + 0x108]
jae 0x10052d03
movzx ecx, word [eax + 0xe8]
jmp 0x10052d0f
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x30]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x88]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x30], eax
cmp ecx, eax
jg 0x10052dc5
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x10052d6b
mov eax, 0x33
mov ecx, dword [esi]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi + 4]
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10052dec
mov eax, dword [esi]
cmp eax, ebx
je 0x10052da5
cmp edi, dword [eax + 0x104]
jb 0x10052da5
cmp edi, dword [eax + 0x108]
jae 0x10052da5
movzx ecx, word [eax + 0xe8]
jmp 0x10052db1
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x30]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x7c]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 1
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
cmp ecx, eax
jg 0x10052e64
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x10052e0a
mov eax, 0x33
mov ecx, dword [esi]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
add edx, edx
push edx
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10052e90
mov eax, dword [esi]
cmp eax, ebx
je 0x10052e44
cmp edi, dword [eax + 0x104]
jb 0x10052e44
cmp edi, dword [eax + 0x108]
jae 0x10052e44
movzx ecx, word [eax + 0xe8]
jmp 0x10052e50
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
mov edx, dword [esi + 4]
mov ecx, 1
add dword [esi + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 7
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x30], eax
cmp ecx, eax
jg 0x10052f04
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x10052eaa
mov eax, 0x33
mov ecx, dword [esi]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
add edx, edx
push edx
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10052f2b
mov eax, dword [esi]
cmp eax, ebx
je 0x10052ee4
cmp edi, dword [eax + 0x104]
jb 0x10052ee4
cmp edi, dword [eax + 0x108]
jae 0x10052ee4
movzx ecx, word [eax + 0xe8]
jmp 0x10052ef0
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x30]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
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 word [eax], 3
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x10052f47
mov ecx, dword [esp + 0x88]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp eax, ecx
jg 0x10052fbc
cmp eax, ebx
je 0x10052f5d
add eax, eax
jmp 0x10052f62
mov eax, 0x33
mov ecx, dword [esi]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
add edx, edx
push edx
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10052fe6
mov eax, dword [esi]
cmp eax, ebx
je 0x10052f9c
cmp edi, dword [eax + 0x104]
jb 0x10052f9c
cmp edi, dword [eax + 0x108]
jae 0x10052f9c
movzx ecx, word [eax + 0xe8]
jmp 0x10052fa8
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov ecx, dword [esp + 0x10]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x50]
add ecx, 2
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x71
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x30], eax
cmp ecx, eax
jg 0x1005305a
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x10053000
mov eax, 0x33
mov ecx, dword [esi]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi + 4]
call fcn.100043e0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10053081
mov eax, dword [esi]
cmp eax, ebx
je 0x1005303a
cmp edi, dword [eax + 0x104]
jb 0x1005303a
cmp edi, dword [eax + 0x108]
jae 0x1005303a
movzx ecx, word [eax + 0xe8]
jmp 0x10053046
push edi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x30]
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], edi
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
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 word [eax], 3
mov byte [esi + 0x64], bl
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x8c]
push edx
call fcn.100514a0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
add esp, 4
push 8
inc edi
push edi
push eax
push ecx
call fcn.10032730
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x60]
push edi
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x48]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.1004bdd0
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
add esp, 0x38
cmp eax, edi
jg 0x10053157
cmp eax, ebx
je 0x100530ee
add eax, eax
jmp 0x100530f3
mov eax, 0x33
mov ecx, dword [esi]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi + 4]
call fcn.100043e0
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
je 0x1005317e
mov eax, dword [esi]
cmp eax, ebx
je 0x10053133
mov ecx, dword [esp + 0x50]
cmp ecx, dword [eax + 0x104]
jb 0x10053133
cmp ecx, dword [eax + 0x108]
jae 0x10053133
movzx edx, word [eax + 0xe8]
jmp 0x10053147
mov ecx, dword [esp + 0x50]
push ecx
call dword [0x1007cc94]
mov ecx, dword [esp + 0x54]
add esp, 4
mov edx, eax
mov eax, 0xcccccccd
mul edx
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x34]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
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 word [eax], 3
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x10053197
mov edx, dword [esp + 0x74]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x1c]
sub eax, ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x8c]
push eax
push ecx
call fcn.10051250
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
add esp, 8
cmp eax, edi
jg 0x10053223
cmp eax, ebx
je 0x100531be
add eax, eax
jmp 0x100531c3
mov eax, 0x33
mov ecx, dword [esi]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
add edx, edx
push edx
call fcn.100043e0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1005324a
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x10053201
cmp esi, dword [eax + 0x104]
jb 0x10053201
cmp esi, dword [eax + 0x108]
jae 0x10053201
movzx ecx, word [eax + 0xe8]
jmp 0x1005320d
push esi
call dword [0x1007cc94]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x14]
mov dword [ebx + 0x20], edx
xor ebx, ebx
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x40]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
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 word [eax], 3
mov byte [esi + 0x64], bl
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x1005326b
mov ecx, dword [esp + 0x7c]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x1c]
sub eax, edx
mov dword [eax], ecx
cmp dword [esp + 0x64], 0
jl 0x1005327e
mov eax, str.DISTINCT
mov ecx, esi
call fcn.1004c2e0
cmp dword [esp + 0x4c], 0
je 0x100532ac
mov eax, str.ORDER_BY
mov ecx, esi
call fcn.1004c2e0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x60]
push ecx
push edi
push edx
push esi
call fcn.1004c4f0
add esp, 0x14
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x100532c8
mov ecx, dword [esp + 0xc0]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0xbc]
mov dword [esi + 0x22c], edx
test edi, edi
jne 0x10053304
mov eax, dword [esp + 0x3c]
cmp byte [eax], 5
jne 0x10053304
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x80]
push ecx
push edx
push esi
call fcn.1004ccc0
add esp, 0xc
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x44]
push eax
push esi
call fcn.10004120
mov ecx, dword [esp + 0xb4]
push ecx
push esi
call fcn.10004120
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10065fcc
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], 0
call fcn.10050910
mov edi, eax
add esp, 4
test edi, edi
je 0x10053528
mov ebx, dword [esp + 0x24]
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.1004a850
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x74], ecx
inc ecx
mov dword [ebx + 0x44], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x84], eax
push eax
xor esi, esi
mov eax, ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x7c], ecx
call fcn.1003b780
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x88]
add esp, 4
push edx
push esi
push eax
push ecx
mov eax, ebx
call fcn.10037050
mov eax, dword [edi + 0x10]
add esp, 0x10
test eax, eax
je 0x100533f9
lea ecx, [ecx]
test esi, esi
je 0x100533cc
mov edx, dword [eax + 4]
cmp edx, dword [esi + 4]
jge 0x100533ce
mov esi, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x100533c0
test esi, esi
je 0x100533f9
mov eax, dword [esi + 4]
cmp eax, dword [edi + 8]
jge 0x100533f9
mov ecx, dword [esi + 0x14]
push esi
push ebx
mov dword [esp + 0x80], ecx
call fcn.1003bdb0
add esp, 8
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x10053410
mov edi, esi
call fcn.1001faa0
test eax, eax
jne 0x10053448
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x74]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x26
mov byte [esi + 0x64], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1005348e
mov ebx, dword [esi + 4]
mov edi, dword [esi]
test ebx, ebx
je 0x10053484
cmp byte [edi + 0x1e], 0
jne 0x10053484
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4 - 5]
movsx eax, byte [ebx + edx*4 + 1]
mov ecx, dword [ebx + edx*4 + 0x10]
lea ebx, [ebx + edx*4]
call fcn.10020030
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x1005348e
mov eax, 0xfffffff0
call fcn.10020030
mov ecx, dword [esp + 0xac]
mov ebx, dword [esi + 0x1c]
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x20], ebx
jg 0x100534af
mov edi, esi
call fcn.1001faa0
test eax, eax
jne 0x100534dd
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x74]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x1f
mov byte [esi + 0x64], cl
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x100534f8
mov edi, esi
call fcn.1001faa0
test eax, eax
jne 0x10053619
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x74]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
xor edi, edi
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 word [eax], 0x2b
mov byte [esi + 0x64], 0
jmp 0x1005361b
mov edi, dword [esp + 0x5c]
mov eax, edi
mov dword [esp + 0x40], 0
call fcn.100508a0
mov bl, al
test bl, bl
je 0x10053581
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov edi, dword [esp + 0x44]
push 0
push edx
push edi
call fcn.1002ed40
add esp, 0xc
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
test eax, eax
je 0x10053581
cmp byte [edi + 0x1e], 0
jne 0x10053581
mov edx, dword [eax + 0xc]
cmp bl, 1
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [ecx], 0x98
lea edx, [esp + 0x8c]
push edx
push esi
call fcn.10051250
mov eax, dword [esp + 0x70]
movzx ecx, bl
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
push esi
call fcn.1005eb80
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x100535ca
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
push edx
call fcn.1002f510
add esp, 4
jmp 0x100532d0
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.100515b0
add esp, 8
cmp dword [esp + 0x40], 0
jne 0x100535fa
test bl, bl
je 0x100535fa
mov ecx, dword [edi + 0x14]
mov eax, dword [esp + 0x14]
push ecx
push 0
push 1
call fcn.1001fc40
add esp, 0xc
push edi
call fcn.1005f6d0
lea edx, [esp + 0x90]
add esp, 4
push edx
mov eax, esi
call fcn.100514a0
add esp, 4
xor edi, edi
jmp 0x1005361f
xor edi, edi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x58]
push 8
push eax
push ecx
push esi
mov dword [esp + 0x5c], edi
call fcn.10032730
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
movzx edx, byte [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xc]
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
cmp eax, edi
je 0x1005390a
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x20]
push edx
push eax
mov eax, ebx
call fcn.1004bbc0
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x44]
add esp, 8
cmp dword [ecx + 8], 0
mov dword [esp + 0x34], eax
jne 0x1005369c
mov edx, dword [esi + 0x48]
inc edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
add dword [esi + 0x48], eax
cmp dword [esp + 0x10], 3
mov eax, ecx
mov edi, dword [eax + 8]
je 0x100536c9
mov eax, esi
call fcn.10030dd0
mov eax, dword [esp + 0x58]
xor ecx, ecx
cmp dword [esp + 0x10], 5
mov edx, edi
sete cl
push ecx
push esi
call fcn.10032240
add esp, 8
mov eax, dword [esp + 0x10]
dec eax
cmp eax, 9
ja case.0x100536d7.4
jmp dword [eax*4 + 0x1005393c]
mov al, byte [esi + 0x15]
test al, al
jne 0x100536ed
inc dword [esi + 0x48]
mov esi, dword [esi + 0x48]
jmp 0x100536f9
dec al
movzx edx, al
mov byte [esi + 0x15], al
mov esi, dword [esi + edx*4 + 0x18]
mov eax, dword [esp + 0x34]
push esi
push eax
push edi
push 0x1e
mov eax, ebx
call fcn.1001fb20
mov ecx, dword [esp + 0x28]
push esi
push ecx
push 0x46
mov eax, ebx
call fcn.1001fc40
mov edx, dword [esp + 0x40]
add esp, 0x1c
call fcn.10032fb0
mov esi, edx
jmp case.0x100536d7.4
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push edx
push edi
push eax
push 0x47
mov eax, ebx
call fcn.1001fb20
add esp, 0x10
jmp case.0x100536d7.4
mov al, byte [esi + 0x15]
test al, al
jne 0x1005375a
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x10], ecx
jmp 0x1005376a
dec al
movzx edx, al
mov byte [esi + 0x15], al
mov eax, dword [esi + edx*4 + 0x18]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
push ecx
push edx
push edi
push 0x1e
mov eax, ebx
call fcn.1001fb20
mov ecx, esi
call fcn.10032f90
mov edi, dword [esp + 0x28]
mov esi, eax
push esi
push edi
push 0x36
mov eax, ebx
call fcn.1001fc40
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push esi
push eax
push edi
push 0x37
mov eax, ebx
call fcn.1001fb20
mov eax, dword [ebx + 4]
add esp, 0x10
test eax, eax
je 0x100537be
mov ebx, dword [ebx + 0x1c]
lea ecx, [ebx + ebx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov edx, dword [esp + 0x24]
call fcn.10032fb0
mov esi, dword [esp + 0x10]
call fcn.10032fb0
mov esi, edx
jmp case.0x100536d7.4
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
add edx, 5
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x3c]
mov bl, byte [edx + 1]
call fcn.1002df80
mov edx, dword [esp + 0x30]
mov ecx, esi
mov byte [edx], al
call fcn.10032f90
push 1
push edx
mov ebx, eax
mov eax, dword [esp + 0x28]
push ebx
push 1
push edi
push 0x1e
call fcn.1001fca0
mov ecx, 1
mov eax, esi
call fcn.10030a20
mov eax, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x40]
push 0x46
call fcn.1001fc40
mov edx, dword [esp + 0x48]
add esp, 0x24
mov esi, ebx
call fcn.10032fb0
mov esi, edx
jmp case.0x100536d7.4
mov ecx, dword [esp + 0x18]
push ecx
push 1
push 7
mov eax, ebx
call fcn.1001fc40
add esp, 0xc
jmp case.0x100536d7.4
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
push 1
push edx
mov esi, edi
call fcn.10030ea0
add esp, 8
mov esi, ebx
jmp case.0x100536d7.4
cmp dword [esp + 0x10], 0xa
jne 0x10053892
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
push ecx
push 4
mov eax, ebx
call fcn.1001fbe0
add esp, 8
jmp case.0x100536d7.4
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
push ebx
push edi
push 0x10
call fcn.1001fc40
add esp, 0xc
mov ecx, ebx
mov eax, esi
call fcn.10030a20
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + 0x30]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1005390a
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x1c]
mov edi, eax
cmp dword [eax + 0x20], ebx
jg 0x100538d9
call fcn.1001faa0
test eax, eax
jne 0x1005390a
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], 0
mov word [eax], 0x73
mov byte [edi + 0x64], 0
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
push edx
call fcn.1002f510
add esp, 4
jmp 0x1005324e
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10065fcc
mov esp, ebp
pop ebp
ret