Function at 0x4928e0
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 0x493efc
cmp byte [edi + 0x1e], 0
jne 0x493efc
cmp dword [esi + 0x40], 0
jne 0x493efc
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.00479810
add esp, 0x10
test eax, eax
jne 0x493efc
push 0x2c
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.004f08c0
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 4
ja 0x492990
mov eax, dword [ebx + 0x18]
push eax
call fcn.004727b0
mov ecx, 0xfffe
add esp, 4
and word [ebx + 6], cx
mov dword [ebx + 0x18], 0
push 0
push ebx
push esi
call fcn.00492100
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 0x493b79
mov edx, edi
cmp byte [edx + 0x1e], 0
jne 0x493b79
movzx eax, word [ebx + 6]
shr eax, 2
and eax, 1
mov edi, esi
mov dword [esp + 0x40], eax
call fcn.0048eb60
mov esi, eax
mov dword [esp + 0x38], esi
test esi, esi
je 0x493b79
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x492a14
cmp eax, 6
je 0x492a02
cmp eax, 7
jne 0x492a14
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
call fcn.0044c980
add esp, 4
jmp 0x493b79
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x1c], eax
jne 0x492b83
jmp 0x492a29
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x4c]
movsx edx, word [edi]
cmp eax, edx
jge 0x492b83
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 0x492b75
cmp byte [edi + 0x14], 0
jne 0x492b75
mov ecx, ebx
call fcn.00471760
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.00491210
add esp, 0x10
test eax, eax
je 0x492abc
cmp dword [esp + 0x20], 0
je 0x492aaf
or word [ebx + 6], 4
mov dword [esp + 0x40], 1
mov dword [esp + 0x10], 0xffffffff
jmp 0x492b41
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.004928e0
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 0x493b79
mov ecx, ebx
call fcn.00471760
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 0x492b75
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x2c], edx
inc dword [esp + 0x10]
cmp dword [ebx + 0x1c], 0
je 0x492a25
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 0x492c1a
cmp dword [ebx + 0x24], 0
jne 0x492bf4
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 0x492bc0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x492bf4
cmp edx, eax
jle 0x492bf4
mov edi, dword [ebp + 8]
push str.too_many_terms_in_compound_SELECT
call fcn.0044c980
add esp, 4
jmp 0x493b79
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push edx
push esi
mov ecx, ebx
call fcn.0048ee60
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 0x492c40
push 0
push edx
mov edx, dword [esp + 0x38]
push edx
call fcn.004720d0
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.00476120
add esp, 4
test eax, eax
jne 0x492d43
mov edx, dword [esp + 0x30]
test byte [edx + 0xc], 0x20
jne 0x492d43
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x492cd2
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 0x492ca6
mov edi, esi
call fcn.004649a0
test eax, eax
jne 0x492cd2
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.00464cb0
fld qword [0x523ac8]
push eax
fstp qword [ebx + 0x48]
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.0048eb90
add esp, 0xc
test byte [ebx + 6], 1
je 0x492d8d
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.0048d930
push 0xfffffffffffffff0
push eax
mov edx, edi
push 0x29
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.00464b40
mov eax, dword [esi + 4]
add esp, 0x14
test eax, eax
je 0x492d95
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x10
jmp 0x492d95
cmp dword [esp + 0x2c], 0
je 0x492c6a
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.0048d930
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.00464b40
add esp, 0x14
mov dword [esp + 0x18], eax
mov dword [ebx + 0x40], eax
jmp 0x492c72
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x40], 0
mov edi, dword [esp + 0x14]
jne 0x492e3b
test edi, edi
jne 0x492e3f
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.0049d870
mov edi, eax
add esp, 0x14
test edi, edi
je 0x493b79
fld qword [ebx + 0x48]
fcomp qword [edi + 0x28]
fnstsw ax
test ah, 0x41
jne 0x492de5
fld qword [edi + 0x28]
fstp qword [ebx + 0x48]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jl 0x492e07
cmp dword [esp + 0x2c], 0
jne 0x492e07
mov eax, 1
mov edx, esi
call fcn.004650e0
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.0048d410
push edi
call fcn.0049e2f0
add esp, 0x2c
jmp 0x493b13
test edi, edi
je 0x492e92
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
test eax, eax
jle 0x492e5d
add ecx, 0x10
lea ecx, [ecx]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x492e50
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jle 0x492e7d
add ecx, 0x10
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x492e70
fld qword [0x523ac0]
fcom qword [ebx + 0x48]
fnstsw ax
test ah, 5
jp 0x492e99
fstp qword [ebx + 0x48]
jmp 0x492e9b
fld1
fstp qword [ebx + 0x48]
jmp 0x492e9b
fstp st(0)
mov eax, esi
call fcn.00464cb0
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 0x492f1a
mov edx, dword [edi]
inc edx
mov dword [esp + 0x8c], edx
jmp 0x492f21
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.004764b0
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0xc0]
add esp, 4
push edx
call fcn.004764b0
mov ecx, dword [esp + 0x7c]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x492f6a
lea eax, [esp + 0xbc]
call fcn.00476480
cmp dword [esp + 0xa4], edi
mov eax, dword [esp + 0x94]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x10], edi
jle 0x492fc2
jmp 0x492f90
mov ecx, dword [esp + 0xa0]
mov edx, dword [edi + ecx]
mov ebx, dword [edx + 0x10]
lea eax, [esp + 0xbc]
push eax
call fcn.004764b0
mov eax, dword [esp + 0x14]
inc eax
add esp, 4
add edi, 0x10
cmp eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
jl 0x492f90
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x1e], 0
jne 0x493b79
mov edx, dword [esp + 0x14]
test edx, edx
je 0x493bd8
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.0048d930
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 0x49302f
mov edi, esi
call fcn.004649a0
test eax, eax
je 0x49302f
mov eax, 1
mov dword [esp + 0x74], eax
jmp 0x493061
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 0x4930a9
cmp byte [edi + 0x1e], 0
jne 0x4930a9
test eax, eax
jge 0x493078
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.00464f80
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov dword [ebx + 0x10], ecx
cmp eax, ecx
jne 0x4930a0
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], cl
jmp 0x4930b7
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x4930b7
mov ecx, dword [esp + 0x70]
mov eax, 0xfffffff0
call fcn.00464f80
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.00464cb0
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x58], eax
mov eax, esi
mov dword [esp + 0x18], ecx
call fcn.00464cb0
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 0x493135
mov edi, esi
call fcn.004649a0
test eax, eax
jne 0x493159
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 0x493174
mov edi, esi
call fcn.004649a0
test eax, eax
jne 0x49319f
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 0x4931a1
xor edi, edi
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x4931be
mov edi, esi
call fcn.004649a0
xor edi, edi
test eax, eax
jne 0x4931e9
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.0049d870
add esp, 0x14
mov dword [esp + 0x60], eax
cmp eax, edi
je 0x493b79
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x493229
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], edi
jmp 0x493585
cmp dword [esp + 0x44], 0
je 0x49323e
mov edx, dword [ebp + 0xc]
test byte [edx + 6], 1
mov eax, 0x542dac
je 0x493243
mov eax, str.GROUP_BY
mov ecx, ebx
call fcn.0048da10
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 0x49328a
mov edi, dword [esp + 0x90]
add edi, 0xc
cmp dword [edi], ecx
jl 0x49327e
inc eax
inc ecx
add edi, 0x18
sub edx, 1
jne 0x493278
mov dword [esp + 0x40], eax
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
mov edi, dword [ebx + 0x3c]
mov dword [esp + 0x5c], edi
jg 0x4932a5
lea edx, [edi + eax]
sub ecx, eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x38], ecx
jmp 0x4932b4
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.00474150
mov eax, dword [esp + 0x14]
push 0
push edi
push ebx
call fcn.004757f0
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 0x4932f1
mov edi, esi
call fcn.004649a0
test eax, eax
jne 0x493323
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 0x493404
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 0x493364
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
cmp dword [edx + eax + 0xc], ecx
jl 0x4933e9
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.004740c0
add esp, 0xc
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x4933d9
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x3c], ecx
jg 0x4933b5
mov edi, esi
call fcn.004649a0
mov edi, dword [esp + 0x28]
test eax, eax
jne 0x4933d9
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 0x493360
mov al, byte [ebx + 0x15]
test al, al
jne 0x493413
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
jmp 0x49341f
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 0x493442
mov edi, esi
call fcn.004649a0
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x493471
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 0x49349b
mov edi, esi
call fcn.004649a0
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4934c3
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 0x4934fc
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x4934fc
xor eax, eax
lea esi, [ebx + 0x60]
jmp 0x4934e0
cmp dword [esi + 0x10], ecx
je 0x493606
inc eax
add esi, 0x18
cmp eax, 0xa
jl 0x4934e0
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.00473f80
mov eax, ebx
add esp, 4
cmp edi, dword [eax + 0x38]
jle 0x49351e
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0x60]
push eax
call fcn.0049e2f0
mov edi, dword [esp + 0x3c]
mov esi, dword [edi + 0x1c]
mov ebx, dword [esp + 0x88]
add esp, 4
cmp dword [edi + 0x20], esi
jg 0x493547
call fcn.004649a0
test eax, eax
jne 0x49356f
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.00474150
mov esi, dword [esp + 0x38]
mov ebx, edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x24], edx
mov edx, ebx
call fcn.00474150
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp dword [eax], ebx
jle 0x49364a
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x48], 0
je 0x49360f
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 0x4935ce
mov edi, esi
call fcn.004649a0
test eax, eax
jne 0x493638
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 0x493638
mov byte [esi + 8], 1
jmp 0x4934fc
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.00475490
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
add dword [esp + 0x28], 0x14
inc ebx
cmp ebx, dword [eax]
jl 0x4935a5
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 0x49366e
mov edi, esi
call fcn.004649a0
test eax, eax
je 0x49366e
mov ebx, 1
jmp 0x4936a1
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.00465120
mov ebx, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], ebx
mov dword [esp + 0xc], ebx
jg 0x4936cd
mov edi, esi
call fcn.004649a0
test eax, eax
jne 0x4936f4
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.004741a0
mov edi, dword [esp + 0x3c]
mov esi, dword [edi + 0x1c]
add esp, 4
cmp dword [edi + 0x20], esi
jg 0x493723
call fcn.004649a0
test eax, eax
jne 0x493750
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 0x493752
xor ebx, ebx
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x493763
call fcn.004649a0
test eax, eax
jne 0x49378c
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 0x49379d
call fcn.004649a0
test eax, eax
jne 0x4937c6
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 0x4937db
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.004924b0
mov esi, dword [edi + 0x1c]
add esp, 8
cmp dword [edi + 0x20], esi
jg 0x493800
call fcn.004649a0
test eax, eax
jne 0x49382a
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 0x493877
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], edx
jg 0x49384c
call fcn.004649a0
test eax, eax
jne 0x493894
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 0x493894
mov edx, dword [esp + 0x60]
push edx
call fcn.0049e2f0
mov ecx, dword [esp + 0x78]
add esp, 4
mov eax, 1
mov edx, edi
call fcn.004650e0
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x4938a5
call fcn.004649a0
test eax, eax
jne 0x4938ce
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 0x4938df
call fcn.004649a0
test eax, eax
jne 0x493904
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 0x493919
call fcn.004649a0
test eax, eax
jne 0x493943
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 0x493954
call fcn.004649a0
test eax, eax
jne 0x493979
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 0x493992
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 0x4939a3
call fcn.004649a0
test eax, eax
jne 0x4939cb
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 0x4939e4
call fcn.004649a0
test eax, eax
jne 0x493a09
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.00492390
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.00475ce0
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.0048d410
mov esi, dword [edi + 0x1c]
add esp, 0x38
cmp dword [edi + 0x20], esi
jg 0x493a68
call fcn.004649a0
test eax, eax
jne 0x493a8d
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 0x493aa6
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.00492190
mov esi, dword [edi + 0x1c]
add esp, 8
cmp dword [edi + 0x20], esi
jg 0x493ad1
call fcn.004649a0
test eax, eax
jne 0x493af6
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 0x493b13
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 0x493b29
mov eax, str.DISTINCT
mov ecx, edi
call fcn.0048da10
cmp dword [esp + 0x2c], 0
je 0x493b55
mov eax, str.ORDER_BY
mov ecx, edi
call fcn.0048da10
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.0048dc20
add esp, 0x14
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x493b71
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 0x493bac
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 5
jne 0x493bac
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edx
push ecx
push eax
call fcn.0048e4e0
add esp, 0xc
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x30]
push edx
push esi
call fcn.0044a9d0
mov eax, dword [esp + 0xa8]
push eax
push esi
call fcn.0044a9d0
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.00491850
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x493d88
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 0x44]
mov ecx, dword [edi]
call fcn.0048c1a0
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.0047e1e0
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.004798a0
mov eax, dword [ebx + 0x10]
add esp, 0x10
test eax, eax
je 0x493ca0
lea esp, [esp]
cmp byte [eax + 0x1a], 0
jne 0x493c74
test esi, esi
je 0x493c72
mov edx, dword [eax + 4]
cmp edx, dword [esi + 4]
jge 0x493c74
mov esi, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x493c60
mov dword [esp + 0x58], esi
test esi, esi
je 0x493ca0
mov eax, dword [esi + 4]
cmp eax, dword [ebx + 8]
jge 0x493ca0
mov ecx, dword [esi + 0x14]
push esi
push edi
mov dword [esp + 0x5c], ecx
call fcn.0047e730
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.00464a20
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x493d0b
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
je 0x493cfd
cmp byte [edi + 0x1e], 0
jne 0x493cfd
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.00464f80
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
mov ebx, dword [esp + 0xc]
jmp 0x493d0b
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffff0
call fcn.00464f80
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 0x493d30
mov edi, esi
call fcn.004649a0
test eax, eax
jne 0x493d60
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.00464ad0
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 8]
add esp, 8
mov eax, ebx
call fcn.004927e0
mov esi, dword [esp + 0x38]
jmp 0x493eae
mov eax, edi
mov dword [esp + 0x18], 0
call fcn.004917e0
mov bl, al
test bl, bl
je 0x493ddd
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.004720d0
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x493ddd
cmp byte [edi + 0x1e], 0
jne 0x493ddd
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.00492190
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.0049d870
add esp, 0x1c
mov dword [esp + 0x60], eax
test eax, eax
jne 0x493e2c
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push edx
call fcn.004727b0
add esp, 4
jmp 0x493b79
lea eax, [esp + 0x80]
push eax
push edi
call fcn.004924b0
add esp, 8
cmp dword [esp + 0x18], 0
jne 0x493e8e
test bl, bl
je 0x493e8e
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 0x493e66
mov edi, esi
call fcn.004649a0
test eax, eax
jne 0x493e8e
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.0049e2f0
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x84]
add esp, 4
push ecx
call fcn.00492390
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.00475ce0
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.0048d410
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
push edx
call fcn.004727b0
add esp, 0x3c
jmp 0x493afa
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret