Function at 0x492280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x228]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x22c]
push edi
mov edi, dword [esi]
mov dword [esi + 0x228], eax
inc eax
mov dword [esp + 0x28], 1
mov dword [esi + 0x22c], eax
mov dword [esp + 0x30], edi
test ebx, ebx
je 0x49389c
cmp byte [edi + 0x1e], 0
jne 0x49389c
cmp dword [esi + 0x40], 0
jne 0x49389c
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.004791b0
add esp, 0x10
test eax, eax
jne 0x49389c
push 0x2c
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.004f0190
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 4
ja 0x492330
mov eax, dword [ebx + 0x18]
push eax
call fcn.00472150
mov ecx, 0xfffe
add esp, 4
and word [ebx + 6], cx
mov dword [ebx + 0x18], 0
push 0
push ebx
push esi
call fcn.00491aa0
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
add esp, 0xc
cmp dword [esi + 0x40], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jne 0x493519
mov edx, edi
cmp byte [edx + 0x1e], 0
jne 0x493519
movzx eax, word [ebx + 6]
shr eax, 2
and eax, 1
mov edi, esi
mov dword [esp + 0x40], eax
call fcn.0048e500
mov esi, eax
mov dword [esp + 0x38], esi
test esi, esi
je 0x493519
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x4923b4
cmp eax, 6
je 0x4923a2
cmp eax, 7
jne 0x4923b4
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
call fcn.0044c320
add esp, 4
jmp 0x493519
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x1c], eax
jne 0x492523
jmp 0x4923c9
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x4c]
movsx edx, word [edi]
cmp eax, edx
jge 0x492523
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + ecx*8 + 0x18]
lea edi, [edi + ecx*8 + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x492515
cmp byte [edi + 0x14], 0
jne 0x492515
mov ecx, ebx
call fcn.00471100
mov ecx, dword [ebp + 8]
add dword [ecx + 0x21c], eax
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 6]
mov edx, dword [esp + 0x10]
shr eax, 2
and eax, 1
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
push eax
push edx
push ecx
mov eax, ebx
call fcn.00490bb0
add esp, 0x10
test eax, eax
je 0x49245c
cmp dword [esp + 0x20], 0
je 0x49244f
or word [ebx + 6], 4
mov dword [esp + 0x40], 1
mov dword [esp + 0x10], 0xffffffff
jmp 0x4924e1
mov eax, dword [edi + 0x18]
mov dword [esp + 0xe4], eax
xor eax, eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x22c]
mov byte [esp + 0xe0], 9
mov byte [esp + 0xe1], 0
lea edx, [esp + 0xe0]
mov byte [edi + 0x17], cl
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
call fcn.00492280
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + 0xc]
add esp, 0xc
or eax, 0xc00
mov byte [edi + 0x14], 1
mov dword [esp + 0x20], eax
fld qword [edx + 0x48]
fldcw word [esp + 0x20]
fistp qword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0x18], eax
fldcw word [esp + 0x14]
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x1e], 0
jne 0x493519
mov ecx, ebx
call fcn.00471100
mov ecx, dword [ebp + 8]
sub dword [ecx + 0x21c], eax
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
mov eax, dword [ebx + 8]
mov dword [esp + 0x4c], eax
jbe 0x492515
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x2c], edx
inc dword [esp + 0x10]
cmp dword [ebx + 0x1c], 0
je 0x4923c5
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x78], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0x14], ecx
mov ecx, eax
and ecx, 1
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], ecx
je 0x4925ba
cmp dword [ebx + 0x24], 0
jne 0x492594
xor ecx, ecx
xor edx, edx
mov eax, ebx
lea ecx, [ecx]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x492560
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x492594
cmp edx, eax
jle 0x492594
mov edi, dword [ebp + 8]
push str.too_many_terms_in_compound_SELECT
call fcn.0044c320
add esp, 4
jmp 0x493519
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push edx
push esi
mov ecx, ebx
call fcn.0048e800
mov ecx, dword [esp + 0xb4]
add esp, 8
mov dword [esi + 0x228], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and al, 5
cmp al, 1
jne 0x4925e0
push 0
push edx
mov edx, dword [esp + 0x38]
push edx
call fcn.00471a70
mov dword [ebx + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, 0xfffe
add esp, 0xc
and word [ebx + 6], ax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ebx + 0x10]
push ecx
call fcn.00475ac0
add esp, 4
test eax, eax
jne 0x4926e3
mov edx, dword [esp + 0x30]
test byte [edx + 0xc], 0x20
jne 0x4926e3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x492672
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], eax
jg 0x492646
mov edi, esi
call fcn.00464340
test eax, eax
jne 0x492672
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x29
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, esi
call fcn.00464650
fld qword [0x5227f0]
push eax
fstp qword [ebx + 0x48]
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.0048e530
add esp, 0xc
test byte [ebx + 6], 1
je 0x49272d
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x44]
lea ecx, [edi + 1]
mov dword [eax + 0x44], ecx
mov edx, dword [ebx]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0048d2d0
push 0xfffffffffffffff0
push eax
mov edx, edi
push 0x29
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.004644e0
mov eax, dword [esi + 4]
add esp, 0x14
test eax, eax
je 0x492735
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x10
jmp 0x492735
cmp dword [esp + 0x2c], 0
je 0x49260a
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.0048d2d0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov dword [edi + 8], edx
inc dword [ecx + 0x44]
mov ecx, dword [edi]
mov edx, dword [edi + 8]
push 0xfffffffffffffff0
push eax
add ecx, 2
push 0x29
xor eax, eax
mov edi, esi
call fcn.004644e0
add esp, 0x14
mov dword [esp + 0x18], eax
mov dword [ebx + 0x40], eax
jmp 0x492612
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x40], 0
mov edi, dword [esp + 0x14]
jne 0x4927db
test edi, edi
jne 0x4927df
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push edi
lea edx, [esp + 0x30]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.0049d210
mov edi, eax
add esp, 0x14
test edi, edi
je 0x493519
fld qword [ebx + 0x48]
fcomp qword [edi + 0x28]
fnstsw ax
test ah, 0x41
jne 0x492785
fld qword [edi + 0x28]
fstp qword [ebx + 0x48]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jl 0x4927a7
cmp dword [esp + 0x2c], 0
jne 0x4927a7
mov eax, 1
mov edx, esi
call fcn.00464a80
mov dword [ebx + 0x40], 0xffffffff
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push eax
push 0
push 0
push ecx
push ebx
push edx
call fcn.0048cdb0
push edi
call fcn.0049dc90
add esp, 0x2c
jmp 0x4934b3
test edi, edi
je 0x492832
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
test eax, eax
jle 0x4927fd
add ecx, 0x10
lea ecx, [ecx]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4927f0
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jle 0x49281d
add ecx, 0x10
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x492810
fld qword [0x5227e8]
fcom qword [ebx + 0x48]
fnstsw ax
test ah, 5
jp 0x492839
fstp qword [ebx + 0x48]
jmp 0x49283b
fld1
fstp qword [ebx + 0x48]
jmp 0x49283b
fstp st(0)
mov eax, esi
call fcn.00464650
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xbc], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xd8], ecx
cmp edi, eax
je 0x4928ba
mov edx, dword [edi]
inc edx
mov dword [esp + 0x8c], edx
jmp 0x4928c1
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0x8c], eax
call fcn.00475e50
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0xc0]
add esp, 4
push edx
call fcn.00475e50
mov ecx, dword [esp + 0x7c]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x49290a
lea eax, [esp + 0xbc]
call fcn.00475e20
cmp dword [esp + 0xa4], edi
mov eax, dword [esp + 0x94]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x10], edi
jle 0x492962
jmp 0x492930
mov ecx, dword [esp + 0xa0]
mov edx, dword [edi + ecx]
mov ebx, dword [edx + 0x10]
lea eax, [esp + 0xbc]
push eax
call fcn.00475e50
mov eax, dword [esp + 0x14]
inc eax
add esp, 4
add edi, 0x10
cmp eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
jl 0x492930
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x1e], 0
jne 0x493519
mov edx, dword [esp + 0x14]
test edx, edx
je 0x493578
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x84], eax
push edx
inc eax
push ecx
mov dword [ecx + 0x44], eax
call fcn.0048d2d0
mov ebx, dword [esi + 0x1c]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x8c]
add esp, 8
cmp dword [esi + 0x20], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jg 0x4929cf
mov edi, esi
call fcn.00464340
test eax, eax
je 0x4929cf
mov eax, 1
mov dword [esp + 0x74], eax
jmp 0x492a01
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x29
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov dword [esp + 0x74], ebx
mov eax, ebx
mov ebx, dword [esi + 4]
mov edi, dword [esi]
test ebx, ebx
je 0x492a49
cmp byte [edi + 0x1e], 0
jne 0x492a49
test eax, eax
jge 0x492a18
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.00464920
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov dword [ebx + 0x10], ecx
cmp eax, ecx
jne 0x492a40
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], cl
jmp 0x492a57
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x492a57
mov ecx, dword [esp + 0x70]
mov eax, 0xfffffff0
call fcn.00464920
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x48]
inc eax
lea edi, [eax + 1]
mov dword [esp + 0x54], eax
lea eax, [edi + 1]
mov dword [esp + 0x64], eax
mov dword [ebx + 0x48], eax
mov eax, esi
mov dword [esp + 0x7c], edi
call fcn.00464650
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x58], eax
mov eax, esi
mov dword [esp + 0x18], ecx
call fcn.00464650
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
mov edx, dword [ecx]
add eax, edx
mov dword [ebx + 0x48], eax
mov ecx, dword [ecx]
add ecx, eax
lea edx, [eax + 1]
mov dword [ebx + 0x48], ecx
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
jg 0x492ad5
mov edi, esi
call fcn.00464340
test eax, eax
jne 0x492af9
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x492b14
mov edi, esi
call fcn.00464340
test eax, eax
jne 0x492b3f
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x54]
xor edi, edi
mov byte [eax], 7
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
jmp 0x492b41
xor edi, edi
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x492b5e
mov edi, esi
call fcn.00464340
xor edi, edi
test eax, eax
jne 0x492b89
mov eax, dword [esp + 0x24]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 2
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 ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push edi
lea eax, [esp + 0x18]
push eax
push ecx
push edx
push ebx
call fcn.0049d210
add esp, 0x14
mov dword [esp + 0x60], eax
cmp eax, edi
je 0x493519
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x492bc9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], edi
jmp 0x492f25
cmp dword [esp + 0x44], 0
je 0x492bde
mov edx, dword [ebp + 0xc]
test byte [edx + 6], 1
mov eax, 0x540dac
je 0x492be3
mov eax, str.GROUP_BY
mov ecx, ebx
call fcn.0048d3b0
mov eax, dword [edi]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x48], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
mov ecx, eax
test edx, edx
jle 0x492c2a
mov edi, dword [esp + 0x90]
add edi, 0xc
cmp dword [edi], ecx
jl 0x492c1e
inc eax
inc ecx
add edi, 0x18
sub edx, 1
jne 0x492c18
mov dword [esp + 0x40], eax
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
mov edi, dword [ebx + 0x3c]
mov dword [esp + 0x5c], edi
jg 0x492c45
lea edx, [edi + eax]
sub ecx, eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x38], ecx
jmp 0x492c54
mov ecx, dword [ebx + 0x48]
lea edi, [ecx + 1]
add ecx, eax
mov dword [esp + 0x5c], edi
mov dword [ebx + 0x48], ecx
mov edx, ebx
call fcn.00473af0
mov eax, dword [esp + 0x14]
push 0
push edi
push ebx
call fcn.00475190
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1c]
add esp, 0xc
cmp dword [esi + 0x20], eax
mov dword [esp + 0x28], eax
jg 0x492c91
mov edi, esi
call fcn.00464340
test eax, eax
jne 0x492cc3
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
add edx, ecx
xor ecx, ecx
mov byte [eax], 0x35
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x94], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
jle 0x492da4
mov edx, dword [esp + 0x5c]
lea edi, [edx + ecx]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], edi
jmp 0x492d04
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
cmp dword [edx + eax + 0xc], ecx
jl 0x492d89
mov ecx, edx
mov edx, dword [ecx + eax + 4]
push edx
mov edx, dword [ecx + eax + 8]
mov eax, dword [ecx + eax]
push edx
push eax
mov eax, edi
mov ecx, ebx
call fcn.00473a60
add esp, 0xc
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x492d79
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x3c], ecx
jg 0x492d55
mov edi, esi
call fcn.00464340
mov edi, dword [esp + 0x28]
test eax, eax
jne 0x492d79
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov dword [ecx + 4], eax
xor eax, eax
mov byte [ecx], 0xf
mov byte [ecx + 3], 0
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
inc dword [esp + 0x24]
mov eax, dword [esp + 0x90]
inc edi
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x10]
add dword [esp + 0x44], 0x18
inc ecx
cmp ecx, dword [esp + 0x94]
mov dword [esp + 0x10], ecx
jl 0x492d00
mov al, byte [ebx + 0x15]
test al, al
jne 0x492db3
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
jmp 0x492dbf
dec al
mov byte [ebx + 0x15], al
movzx eax, al
mov ecx, dword [ebx + eax*4 + 0x18]
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
jg 0x492de2
mov edi, esi
call fcn.00464340
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x492e11
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov byte [eax], 0x1e
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x492e3b
mov edi, esi
call fcn.00464340
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x492e63
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x46
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov edi, dword [esp + 0x40]
test ecx, ecx
je 0x492e9c
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x492e9c
xor eax, eax
lea esi, [ebx + 0x60]
jmp 0x492e80
cmp dword [esi + 0x10], ecx
je 0x492fa6
inc eax
add esi, 0x18
cmp eax, 0xa
jl 0x492e80
movzx eax, dl
mov dword [ebx + eax*4 + 0x18], ecx
inc byte [ebx + 0x15]
mov ecx, dword [esp + 0x5c]
push ecx
mov eax, edi
mov esi, ebx
call fcn.00473920
mov eax, ebx
add esp, 4
cmp edi, dword [eax + 0x38]
jle 0x492ebe
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0x60]
push eax
call fcn.0049dc90
mov edi, dword [esp + 0x3c]
mov esi, dword [edi + 0x1c]
mov ebx, dword [esp + 0x88]
add esp, 4
cmp dword [edi + 0x20], esi
jg 0x492ee7
call fcn.00464340
test eax, eax
jne 0x492f0f
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x40
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [ebp + 8]
mov byte [esp + 0x81], 1
call fcn.00473af0
mov esi, dword [esp + 0x38]
mov ebx, edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x24], edx
mov edx, ebx
call fcn.00473af0
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp dword [eax], ebx
jle 0x492fea
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x48], 0
je 0x492faf
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], eax
jg 0x492f6e
mov edi, esi
call fcn.00464340
test eax, eax
jne 0x492fd8
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x3c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
lea ecx, [ebx + edx]
mov byte [eax], 0x1c
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
jmp 0x492fd8
mov byte [esi + 8], 1
jmp 0x492e9c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x80], 1
mov ecx, dword [eax + 0xc]
lea esi, [ebx + edx]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + edx]
mov ecx, dword [ebp + 8]
call fcn.00474e30
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
add dword [esp + 0x28], 0x14
inc ebx
cmp ebx, dword [eax]
jl 0x492f45
mov ecx, dword [esp + 0x14]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
jg 0x49300e
mov edi, esi
call fcn.00464340
test eax, eax
je 0x49300e
mov ebx, 1
jmp 0x493041
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
mov byte [eax], 0x18
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0x70]
push eax
push esi
mov ecx, 0xfffffffa
mov eax, ebx
call fcn.00464ac0
mov ebx, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], ebx
mov dword [esp + 0xc], ebx
jg 0x49306d
mov edi, esi
call fcn.00464340
test eax, eax
jne 0x493094
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
xor edx, edx
lea ecx, [ebx + 1]
mov byte [eax], 0x19
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
push ecx
call fcn.00473b40
mov edi, dword [esp + 0x3c]
mov esi, dword [edi + 0x1c]
add esp, 4
cmp dword [edi + 0x20], esi
jg 0x4930c3
call fcn.00464340
test eax, eax
jne 0x4930f0
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
mov ecx, dword [esp + 0x64]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x58]
xor ebx, ebx
mov byte [eax], 2
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 byte [eax + 1], bl
jmp 0x4930f2
xor ebx, ebx
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x493103
call fcn.00464340
test eax, eax
jne 0x49312c
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x7c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x6c]
mov byte [eax], 0x71
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 byte [eax + 1], bl
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x49313d
call fcn.00464340
test eax, eax
jne 0x493166
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 2
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 byte [eax + 1], bl
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jle 0x49317b
mov edx, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.00491e50
mov esi, dword [edi + 0x1c]
add esp, 8
cmp dword [edi + 0x20], esi
jg 0x4931a0
call fcn.00464340
test eax, eax
jne 0x4931ca
mov eax, dword [edi + 4]
mov ecx, 1
add dword [edi + 0x1c], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x48], ebx
je 0x493217
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], edx
jg 0x4931ec
call fcn.00464340
test eax, eax
jne 0x493234
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0xc]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x43
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 byte [eax + 1], bl
jmp 0x493234
mov edx, dword [esp + 0x60]
push edx
call fcn.0049dc90
mov ecx, dword [esp + 0x78]
add esp, 4
mov eax, 1
mov edx, edi
call fcn.00464a80
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x493245
call fcn.00464340
test eax, eax
jne 0x49326e
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x64]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
mov byte [eax], 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 byte [eax + 1], bl
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x49327f
call fcn.00464340
test eax, eax
jne 0x4932a4
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
mov ecx, dword [esp + 0x6c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
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 byte [eax + 1], bl
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
mov dword [esp + 0x3c], esi
jg 0x4932b9
call fcn.00464340
test eax, eax
jne 0x4932e3
mov eax, dword [edi + 4]
mov ecx, 1
add dword [edi + 0x1c], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x4932f4
call fcn.00464340
test eax, eax
jne 0x493319
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
mov ecx, dword [esp + 0x64]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 3
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 eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x493332
mov edx, dword [esp + 0x58]
lea ecx, [edx*4 + 4]
mov edx, dword [edi + 0x1c]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x493343
call fcn.00464340
test eax, eax
jne 0x49336b
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + 2]
mov byte [eax], 0x71
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 byte [eax + 1], bl
mov eax, dword [edi + 0x1c]
cmp dword [edi + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x493384
call fcn.00464340
test eax, eax
jne 0x4933a9
mov eax, dword [esp + 0xc]
inc dword [edi + 0x1c]
mov ecx, dword [esp + 0x64]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 3
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 eax, dword [ebp + 8]
lea edx, [esp + 0x80]
push edx
call fcn.00491d30
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebp + 8]
add esp, 4
push 8
inc esi
push esi
push eax
push ecx
call fcn.00475680
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x40]
push esi
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 8]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.0048cdb0
mov esi, dword [edi + 0x1c]
add esp, 0x38
cmp dword [edi + 0x20], esi
jg 0x493408
call fcn.00464340
test eax, eax
jne 0x49342d
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x64]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 3
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 eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x493446
mov ecx, dword [esp + 0x34]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
lea edx, [esp + 0x80]
push edx
push eax
call fcn.00491b30
mov esi, dword [edi + 0x1c]
add esp, 8
cmp dword [edi + 0x20], esi
jg 0x493471
call fcn.00464340
test eax, eax
jne 0x493496
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov byte [eax], 3
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 esi, dword [esp + 0x38]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4934b3
mov ecx, dword [esp + 0x6c]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
cmp dword [esp + 0x68], 0
mov edi, dword [ebp + 8]
jl 0x4934c9
mov eax, str.DISTINCT
mov ecx, edi
call fcn.0048d3b0
cmp dword [esp + 0x2c], 0
je 0x4934f5
mov eax, str.ORDER_BY
mov ecx, edi
call fcn.0048d3b0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push esi
push edx
push edi
call fcn.0048d5c0
add esp, 0x14
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x493511
mov ecx, dword [esp + 0xb0]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0xac]
mov eax, dword [ebp + 8]
mov dword [eax + 0x228], edx
test edi, edi
jne 0x49354c
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 5
jne 0x49354c
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edx
push ecx
push eax
call fcn.0048de80
add esp, 0xc
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x30]
push edx
push esi
call fcn.0044a370
mov eax, dword [esp + 0xa8]
push eax
push esi
call fcn.0044a370
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x80]
push edx
mov eax, edi
mov dword [esp + 0x38], 0
call fcn.004911f0
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x493728
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 0x44]
mov ecx, dword [edi]
call fcn.0048bb40
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x18], ecx
inc ecx
mov dword [edi + 0x44], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x20], eax
xor esi, esi
push eax
mov eax, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ecx
call fcn.0047db80
mov edx, dword [ebx]
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x24]
add esp, 4
push edx
push esi
push eax
push ecx
mov eax, edi
call fcn.00479240
mov eax, dword [ebx + 0x10]
add esp, 0x10
test eax, eax
je 0x493640
lea esp, [esp]
cmp byte [eax + 0x1a], 0
jne 0x493614
test esi, esi
je 0x493612
mov edx, dword [eax + 4]
cmp edx, dword [esi + 4]
jge 0x493614
mov esi, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x493600
mov dword [esp + 0x58], esi
test esi, esi
je 0x493640
mov eax, dword [esi + 4]
cmp eax, dword [ebx + 8]
jge 0x493640
mov ecx, dword [esi + 0x14]
push esi
push edi
mov dword [esp + 0x5c], ecx
call fcn.0047e0d0
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
push edx
push eax
push ecx
push 0x26
mov eax, esi
call fcn.004643c0
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x4936ab
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
je 0x49369d
cmp byte [edi + 0x1e], 0
jne 0x49369d
mov eax, dword [esi + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0x10]
call fcn.00464920
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
mov ebx, dword [esp + 0xc]
jmp 0x4936ab
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffff0
call fcn.00464920
mov ecx, dword [esp + 0xa0]
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc], eax
jg 0x4936d0
mov edi, esi
call fcn.00464340
test eax, eax
jne 0x493700
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x1f
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x18]
push edx
push 0x2b
mov eax, esi
call fcn.00464470
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 8]
add esp, 8
mov eax, ebx
call fcn.00492180
mov esi, dword [esp + 0x38]
jmp 0x49384e
mov eax, edi
mov dword [esp + 0x18], 0
call fcn.00491180
mov bl, al
test bl, bl
je 0x49377d
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x30]
push 0
push eax
push edi
call fcn.00471a70
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x49377d
cmp byte [edi + 0x1e], 0
jne 0x49377d
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
mov edi, dword [ebp + 8]
lea edx, [esp + 0x80]
push edx
push edi
call fcn.00491b30
movzx ax, bl
movzx ecx, ax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
push edi
call fcn.0049d210
add esp, 0x1c
mov dword [esp + 0x60], eax
test eax, eax
jne 0x4937cc
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push edx
call fcn.00472150
add esp, 4
jmp 0x493519
lea eax, [esp + 0x80]
push eax
push edi
call fcn.00491e50
add esp, 8
cmp dword [esp + 0x18], 0
jne 0x49382e
test bl, bl
je 0x49382e
mov ecx, dword [esp + 0x60]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
mov edx, dword [ecx + 0x14]
mov dword [esp + 0xc], edx
jg 0x493806
mov edi, esi
call fcn.00464340
test eax, eax
jne 0x49382e
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0xc]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 1
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x60]
push eax
call fcn.0049dc90
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x84]
add esp, 4
push ecx
call fcn.00491d30
add esp, 4
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov ebx, dword [ebp + 8]
push 8
push edi
push edx
push ebx
mov dword [esp + 0x3c], 0
call fcn.00475680
mov eax, dword [ebp + 0x10]
push edi
push edi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0
push 0
push ecx
push eax
push ebx
call fcn.0048cdb0
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
push edx
call fcn.00472150
add esp, 0x3c
jmp 0x49349a
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret