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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1cc]
mov ebx, dword [esi]
mov dword [esp + 0xd4], eax
mov eax, dword [esi + 0x1d0]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x1cc], eax
inc eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], 1
mov dword [esi + 0x1d0], eax
mov dword [esp + 0x2c], ebx
test edi, edi
je 0x493cd2
cmp byte [ebx + 0x41], 0
jne 0x493cd2
cmp dword [esi + 0x40], 0
jne 0x493cd2
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.00472b40
add esp, 0x10
test eax, eax
jne 0x493cd2
push 0x30
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.0050e6a0
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 8
ja 0x491f79
mov eax, dword [edi + 0x30]
push eax
push ebx
call fcn.0046ab40
mov ecx, 0xfffe
add esp, 8
and word [edi + 6], cx
mov dword [edi + 0x30], 0
push 0
push edi
push esi
call fcn.00491690
mov edx, dword [edi + 0x30]
mov ecx, dword [edi + 0x20]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x40], eax
jne 0x493b35
cmp byte [ebx + 0x41], al
jne 0x493b35
movzx eax, word [edi + 6]
mov edx, dword [edi]
shr eax, 3
and eax, 1
cmp dword [edx], 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x492008
cmp eax, 0xa
je 0x491ff4
cmp eax, 0xb
jne 0x492008
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov edi, esi
call fcn.0043e000
add esp, 4
jmp 0x493b35
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 0x34], eax
jne 0x492099
cmp eax, dword [ecx]
jge 0x492095
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + ecx + 0x1c]
test eax, eax
je 0x492086
movzx ebx, word [eax + 6]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
shr ebx, 3
and ebx, 1
push ebx
push ecx
push edx
push esi
mov eax, edi
call fcn.0048fd50
add esp, 0x10
test eax, eax
je 0x492066
test ebx, ebx
je 0x49205e
or word [edi + 6], 8
mov dword [esp + 0x28], 1
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x41], 0
mov ecx, dword [edi + 0x20]
jne 0x493b31
mov edx, dword [ebp + 0x10]
cmp byte [edx], 8
jbe 0x492086
mov eax, dword [edi + 0x30]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
inc eax
cmp dword [edi + 0x34], 0
mov dword [esp + 0x10], eax
je 0x492017
mov dword [esp + 0x38], ecx
mov edi, esi
call fcn.0048d110
mov ebx, eax
test ebx, ebx
je 0x493b35
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x34], 0
je 0x4920d5
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push esi
call fcn.0048dbf0
mov edx, dword [esp + 0xe4]
add esp, 0xc
mov dword [esi + 0x1cc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x38]
cmp dword [eax], 0
mov dword [esp + 0x10], 0
jle 0x4923e2
mov edi, eax
add edi, 0x20
mov eax, dword [edi - 4]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4923ca
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x49216e
test byte [edi + 0x10], 4
jne 0x4923ca
mov edx, dword [edi + 4]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x40], eax
jg 0x492141
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4923ca
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0xf
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
jmp 0x4923ca
mov ecx, dword [ebp + 0xc]
call fcn.00469850
add dword [esi + 0x1c8], eax
test byte [edi + 0xc], 0x20
jne 0x49219f
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
push ecx
call fcn.004903c0
add esp, 0x10
mov edx, dword [esp + 0x38]
cmp dword [edx], 1
jne 0x492282
mov eax, dword [ebp + 0xc]
test byte [eax + 6], 2
jne 0x492282
mov edx, dword [esp + 0x2c]
mov ecx, 0x100
test word [edx + 0x3c], cx
jne 0x492282
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp + 8]
inc dword [ecx + 0x48]
mov ecx, dword [ecx + 0x48]
inc eax
push eax
push 0
push ecx
push 0x11
mov esi, ebx
mov dword [esp + 0x50], eax
mov dword [edi + 4], ecx
call fcn.00457e10
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov dword [edi], eax
xor eax, eax
mov dword [esp + 0xa4], ecx
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 8]
mov dl, byte [eax + 0x1d0]
push esi
push eax
mov byte [esp + 0xac], 0xd
mov byte [esp + 0xad], 0
mov byte [edi + 0x14], dl
call fcn.00491ec0
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
add esp, 0x1c
push edx
push eax
call fcn.0043f370
mov ecx, dword [edi - 8]
mov word [ecx + 0x26], ax
mov eax, dword [edi + 4]
mov edx, dword [esp + 0xa0]
or dword [edi + 0x10], 4
push eax
push 0x12
mov esi, ebx
mov dword [edi + 8], edx
call fcn.00457ec0
mov eax, dword [esp + 0x50]
add esp, 0x10
dec eax
mov edx, ebx
call fcn.00458410
jmp 0x49239b
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov dword [edi + 4], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ecx
jg 0x4922be
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x4922ba
mov ecx, 1
jmp 0x4922ea
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov dword [esp + 0x50], ecx
inc ecx
test byte [edi + 0x10], 2
mov dword [edi], ecx
jne 0x492302
mov eax, esi
call fcn.0046b1f0
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x18]
mov cl, byte [esi + 0x1d0]
mov dword [esp + 0x94], eax
xor eax, eax
lea edx, [esp + 0x90]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x3c]
push edx
push eax
push esi
mov byte [esp + 0x9c], 0xc
mov byte [esp + 0x9d], 0
mov byte [edi + 0x14], cl
call fcn.00491ec0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
add esp, 0xc
push ecx
push edx
call fcn.0043f370
mov ecx, dword [edi - 8]
add esp, 8
cmp dword [esp + 0x1c], 0
mov word [ecx + 0x26], ax
je 0x492378
mov eax, dword [esp + 0x1c]
mov edx, ebx
call fcn.00458410
mov edx, dword [edi + 4]
push edx
push 0x10
mov esi, ebx
call fcn.00457ec0
mov ecx, dword [esp + 0x58]
add esp, 8
cmp dword [ebx + 0x20], ecx
jbe 0x49239b
lea edx, [ecx + ecx*4]
mov ecx, dword [ebx + 4]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x38], 0
mov byte [eax + 0x13], 0
cmp byte [edx + 0x41], 0
jne 0x493b35
mov ecx, dword [ebp + 0xc]
call fcn.00469850
mov ecx, dword [ebp + 8]
sub dword [ecx + 0x1c8], eax
mov esi, ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc eax
add edi, 0x50
cmp eax, dword [ecx]
mov dword [esp + 0x10], eax
jl 0x4920ef
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x24]
mov edx, dword [edi]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x34], eax
mov al, byte [edi + 6]
and al, 1
mov byte [esp + 0x90], al
movzx eax, byte [edi + 6]
mov dword [esp + 0x48], edx
mov edx, dword [edi + 0x2c]
and al, 9
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], edx
cmp al, 1
jne 0x492453
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x74]
push 0xffffffffffffffff
push ecx
call fcn.0046eab0
mov edi, dword [ebp + 0xc]
add esp, 8
test eax, eax
jne 0x492453
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov edx, 0xfffe
and word [edi + 6], dx
push ecx
call fcn.0046a390
add esp, 0xc
mov dword [edi + 0x28], eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x74], 0
je 0x4924a8
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x74]
mov ecx, dword [edx]
push 0
push esi
mov eax, edi
call fcn.0048bc30
mov ecx, dword [esi + 0x44]
mov edx, ecx
inc ecx
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x50]
mov edi, dword [edi]
mov ecx, dword [ecx]
push 0xfffffffffffffffa
push edx
lea ecx, [ecx + edi + 1]
push 0x39
mov edi, eax
push ebx
xor eax, eax
mov dword [esp + 0x94], edx
call fcn.00457f10
mov edi, dword [ebp + 0xc]
add esp, 0x18
mov dword [esp + 0x88], eax
jmp 0x4924b3
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
jne 0x492518
mov edx, dword [esp + 0x48]
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], eax
jg 0x4924ec
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492518
mov eax, dword [esp + 0x18]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x39
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, ebx
call fcn.00458100
push eax
mov dword [esp + 0x100], eax
push edi
mov eax, esi
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], SysReAllocString
call fcn.0048d160
add esp, 8
cmp dword [edi + 8], 0
jne 0x492569
cmp dword [esp + 0x88], 0
jl 0x492569
mov eax, dword [esp + 0x88]
mov ecx, ebx
call fcn.00458760
or byte [esp + 0x8c], 1
mov byte [eax], 0x3a
test byte [edi + 6], 1
je 0x4925c9
mov eax, dword [esi + 0x44]
mov edi, eax
inc eax
push 0xfffffffffffffffa
push ecx
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 0
push esi
xor ecx, ecx
mov dword [esp + 0xa4], edi
call fcn.0048bc30
add esp, 0xc
push edi
push 0x39
mov edi, eax
push ebx
xor eax, eax
xor ecx, ecx
call fcn.00457f10
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 4]
add esp, 0x10
test eax, eax
je 0x4925bf
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov byte [esp + 0x91], 3
jmp 0x4925d1
mov byte [esp + 0x91], 0
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp dword [esp + 0x28], ecx
jne 0x4926db
cmp edx, ecx
jne 0x4926db
movzx edx, byte [esp + 0x90]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x38]
neg edx
sbb edx, edx
and edx, 0x400
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push esi
call fcn.004a1990
mov edi, eax
add esp, 0x1c
mov dword [esp + 0x54], edi
test edi, edi
je 0x493b35
mov ax, word [edi + 0x20]
call fcn.0043f410
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0x1c]
ja 0x492647
jb 0x492641
cmp eax, dword [ecx + 0x18]
jae 0x492647
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
cmp byte [esp + 0x90], 0
je 0x49265f
mov al, byte [edi + 0x28]
test al, al
je 0x49265f
mov byte [esp + 0x91], al
mov eax, dword [esp + 0x74]
test eax, eax
je 0x492679
movsx ecx, byte [edi + 0x24]
mov dword [esp + 0x78], ecx
cmp ecx, dword [eax]
jne 0x492679
xor eax, eax
mov dword [esp + 0x74], eax
cmp dword [esp + 0x88], 0
jl 0x49269d
test eax, eax
jne 0x49269d
mov edx, dword [esp + 0x88]
push edx
mov edi, ebx
call fcn.004585d0
mov edi, dword [esp + 0x58]
add esp, 4
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x84]
push ecx
push 0xffffffffffffffff
push edx
push eax
push esi
call fcn.0048afe0
add esp, 0x24
push edi
call fcn.004a2280
add esp, 4
jmp 0x493aaa
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ecx
cmp edx, ecx
je 0x492749
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
test eax, eax
jle 0x492710
add ecx, 0x16
lea esp, [esp]
xor edi, edi
mov word [ecx], di
dec eax
add ecx, 0x18
test eax, eax
jg 0x492700
mov edi, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
jle 0x49272d
add ecx, 0x16
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
test eax, eax
jg 0x492720
cmp dword [edi + 0x1c], 0
mov eax, 0x64
ja 0x49273d
cmp dword [edi + 0x18], eax
jbe 0x492756
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
jmp 0x492756
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call fcn.0046eab0
add esp, 8
test eax, eax
jne 0x492775
mov dword [esp + 0x44], 1
mov eax, ebx
call fcn.00458100
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov eax, dword [esi + 0x48]
inc eax
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xa8]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe8], edx
test eax, eax
je 0x4927f8
mov ecx, dword [eax]
mov dword [esp + 0xb4], ecx
jmp 0x492803
mov dword [esp + 0xb4], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc0], eax
push edx
lea eax, [esp + 0xe0]
push eax
call fcn.0046ef90
mov ecx, dword [esp + 0x7c]
push ecx
lea edx, [esp + 0xe8]
push edx
call fcn.0046ef90
mov ecx, dword [esp + 0x50]
add esp, 0x10
test ecx, ecx
je 0x492849
lea eax, [esp + 0xdc]
push eax
call fcn.0046ef40
add esp, 4
mov ecx, dword [esp + 0xc8]
xor edi, edi
cmp dword [esp + 0xd4], edi
mov dword [esp + 0xcc], ecx
jle 0x4928b7
mov dword [esp + 0x1c], edi
jmp 0x492870
mov edx, dword [esp + 0xd0]
or word [esp + 0xf8], 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [esp + 0xe0]
push eax
call fcn.0046ef90
add dword [esp + 0x24], 0x10
mov ecx, 0xfff7
and word [esp + 0x100], cx
inc edi
add esp, 8
cmp edi, dword [esp + 0xd4]
jl 0x492870
mov edx, dword [esi + 0x48]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xbc], edx
cmp byte [eax + 0x41], 0
jne 0x493b35
cmp dword [esp + 0x20], 0
je 0x4936da
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xac], eax
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x20]
push 0
push esi
call fcn.0048bc30
mov edi, dword [ebx + 0x20]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x18]
add esp, 8
cmp dword [eax + 0x54], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edx
jg 0x49293b
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x49293b
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x49296d
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x3a
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, edi
mov dword [esp + 0x1c], edi
mov edi, dword [ebx + 4]
mov ecx, dword [ebx]
test edi, edi
je 0x4929b8
cmp byte [ecx + 0x41], 0
jne 0x4929b8
test eax, eax
jge 0x492984
mov eax, dword [ebx + 0x20]
dec eax
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
movsx eax, byte [edi + 1]
push ecx
mov ecx, dword [edi + 0x10]
call fcn.00458430
mov eax, dword [esp + 0x6c]
xor ecx, ecx
add esp, 4
mov dword [edi + 0x10], ecx
cmp eax, ecx
jne 0x4929af
mov dword [edi + 0x10], ecx
mov byte [edi + 1], cl
jmp 0x4929ca
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
jmp 0x4929ca
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, 0xfffffffa
call fcn.00458430
add esp, 4
mov eax, dword [esi + 0x48]
inc eax
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0xa4], eax
inc eax
mov dword [esp + 0x70], eax
mov dword [esi + 0x48], eax
mov eax, ebx
call fcn.00458100
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x58], eax
mov eax, ebx
mov dword [esp + 0x6c], ecx
call fcn.00458100
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x50], edx
mov edx, dword [ecx]
add eax, edx
mov dword [esi + 0x48], eax
mov ecx, dword [ecx]
lea edx, [eax + 1]
add ecx, eax
mov dword [esi + 0x48], ecx
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x64], edx
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], edi
jg 0x492a3d
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492a68
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0xa4]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x17
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 edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
jg 0x492a80
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492aa8
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov byte [eax], 0x17
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 + 0x20]
mov ecx, dword [eax]
mov edx, dword [esp + 0x50]
mov edi, dword [ebx + 0x20]
lea eax, [ecx + edx - 1]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], edi
mov dword [esp + 0x28], eax
jg 0x492ad2
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492afe
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
jg 0x492b16
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492b42
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0xf
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, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, 0x800
mov ecx, 0x100
or ax, cx
mov ecx, dword [esp + 0x38]
push 0
movzx edx, ax
mov eax, dword [esp + 0x38]
push edx
push 0
push edi
push eax
push ecx
push esi
call fcn.004a1990
add esp, 0x1c
mov dword [esp + 0x54], eax
test eax, eax
je 0x493b35
movsx edx, byte [eax + 0x24]
cmp edx, dword [edi]
jne 0x492b98
mov dword [esp + 0x5c], 0
jmp 0x492f26
cmp byte [esp + 0x90], 0
je 0x492bb0
mov eax, dword [ebp + 0xc]
test byte [eax + 6], 1
mov eax, str.DISTINCT
je 0x492bb5
mov eax, str.GROUP_BY
push esi
call fcn.0048bcc0
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx]
add esp, 4
cmp dword [esp + 0xc8], 0
mov dword [esp + 0x5c], 1
mov eax, edi
mov dword [esp + 0x28], edi
mov ecx, edi
jle 0x492c11
mov edx, dword [esp + 0xc4]
add edx, 0xc
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x28]
cmp dword [edx], ecx
jl 0x492c01
inc eax
inc ecx
add dword [esp + 0x28], 0x18
sub dword [esp + 0x34], 1
jne 0x492bf7
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x38]
cmp eax, ecx
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x14], edx
jg 0x492c2b
add edx, eax
sub ecx, eax
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], ecx
jmp 0x492c3a
mov ecx, dword [esi + 0x48]
lea edx, [ecx + 1]
add ecx, eax
mov dword [esp + 0x14], edx
mov dword [esi + 0x48], ecx
mov edx, esi
call fcn.0046cab0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push eax
push esi
xor cl, cl
call fcn.0046df10
add esp, 8
cmp dword [esp + 0xc8], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], 0
jle 0x492d2a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc4]
add edi, ecx
mov dword [esp + 0x4c], 0
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + edx + 0xc]
cmp ecx, dword [esp + 0x34]
jl 0x492d0f
push 0
mov ecx, edx
mov edx, dword [eax + ecx + 4]
push edi
push edx
mov edx, dword [eax + ecx + 8]
mov eax, dword [eax + ecx]
push edx
push eax
mov eax, esi
call fcn.0046c9f0
add esp, 0x14
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x492d03
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x60], eax
jg 0x492cdb
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492d03
mov eax, dword [esp + 0x60]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x20
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
inc dword [esp + 0x34]
mov eax, dword [esp + 0xc4]
inc edi
mov ecx, dword [esp + 0x10]
add dword [esp + 0x4c], 0x18
inc ecx
cmp ecx, dword [esp + 0xc8]
mov dword [esp + 0x10], ecx
jl 0x492c84
mov al, byte [esi + 0x13]
test al, al
jne 0x492d39
inc dword [esi + 0x48]
mov edi, dword [esi + 0x48]
jmp 0x492d45
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov edi, dword [esi + edx*4 + 0x18]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0xc], eax
jg 0x492d65
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492d94
mov eax, dword [esp + 0xc]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x31
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0xac]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x20]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0xc], eax
jg 0x492dbf
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492de7
mov eax, dword [esp + 0xc]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x60]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x6e
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
test edi, edi
je 0x492e10
mov dl, byte [esi + 0x13]
cmp dl, 8
jae 0x492e10
xor eax, eax
lea ecx, [esi + 0x74]
cmp dword [ecx + 0xc], edi
je 0x492e67
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x492df8
movzx edx, dl
mov dword [esi + edx*4 + 0x18], edi
inc byte [esi + 0x13]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov esi, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0046c870
add esp, 4
cmp edi, dword [esi + 0x38]
jle 0x492e35
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x54]
push edx
call fcn.004a2280
mov eax, dword [esi + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0xb4], eax
inc eax
mov dword [esi + 0x44], eax
mov al, byte [esi + 0x13]
add esp, 4
test al, al
jne 0x492e6d
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x4c], eax
jmp 0x492e7d
mov byte [ecx + 6], 1
jmp 0x492e10
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0x18]
mov dword [esp + 0x4c], edx
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
jg 0x492e95
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492ec8
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x3c
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 edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
mov edx, dword [esp + 0xac]
mov dword [esp + 0xc], edx
jg 0x492eeb
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x492f17
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x6b
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 edx, esi
mov byte [esp + 0xa9], 1
call fcn.0046cab0
cmp dword [esp + 0x44], 0
je 0x492f9c
mov eax, dword [esp + 0x2c]
test byte [eax + 0x3c], 4
jne 0x492f9c
cmp dword [esp + 0x5c], 0
jne 0x492f48
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x25], 0
je 0x492f9c
mov edx, dword [esp + 0x88]
cmp edx, dword [ebx + 0x20]
mov dword [esp + 0x74], 0
jge 0x492f9c
mov ecx, dword [ebx + 4]
mov eax, edx
mov edx, dword [ebx]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*4]
movsx eax, byte [edi + 1]
mov ecx, dword [edi + 0x10]
push edx
call fcn.00458430
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov byte [edi], 0x9f
mov eax, dword [ebx + 0x20]
dec eax
add esp, 4
cmp dword [esp + 0x88], eax
jne 0x492f9c
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x20]
mov edx, esi
mov dword [esp + 0x60], eax
call fcn.0046cab0
cmp dword [esp + 0x5c], 0
je 0x493007
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], edi
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xc], ecx
jg 0x492fd4
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493007
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0xc]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov byte [eax], 0x65
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 ecx, dword [esp + 0x20]
xor edi, edi
cmp dword [ecx], edi
jle 0x4930ae
mov dword [esp + 0x44], edi
cmp dword [esp + 0x5c], 0
je 0x493074
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0xc], eax
jg 0x493040
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49309c
mov eax, dword [esp + 0xc]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
lea ecx, [edi + edx]
mov byte [eax], 0x2f
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
jmp 0x49309c
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
lea eax, [edi + edx]
push eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0xac], 1
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax]
push ecx
push esi
call fcn.0046ddd0
add esp, 0xc
mov ecx, dword [esp + 0x20]
add dword [esp + 0x44], 0x18
inc edi
cmp edi, dword [ecx]
jl 0x493019
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4930b8
inc dword [eax]
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
jg 0x4930dd
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x4930dd
mov edi, 1
jmp 0x493110
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xc]
mov byte [eax], 0x2a
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 edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, edi
test edx, edx
je 0x49315f
cmp byte [ecx + 0x41], 0
jne 0x49315f
test edi, edi
jge 0x493129
mov eax, dword [ebx + 0x20]
dec eax
lea eax, [eax + eax*4]
lea edi, [edx + eax*4]
movsx eax, byte [edi + 1]
push ecx
mov ecx, dword [edi + 0x10]
call fcn.00458430
mov eax, dword [esp + 0x6c]
add esp, 4
mov dword [edi + 0x10], 0
test eax, eax
jne 0x493156
mov dword [edi + 0x10], eax
mov byte [edi + 1], al
jmp 0x493171
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
jmp 0x493171
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, 0xfffffffa
call fcn.00458430
add esp, 4
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], edi
mov dword [esp + 0x34], edi
jg 0x49318d
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4931b6
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
inc ecx
xor edx, edx
mov byte [eax], 0x2b
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 esi, dword [esi + 8]
mov ecx, dword [esp + 0x20]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
jg 0x4931db
push esi
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49320e
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
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 edx, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
mov esi, dword [ebp + 8]
push edx
call fcn.0046c870
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add esp, 4
cmp dword [eax + 0x54], esi
jg 0x49323a
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493269
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x58]
xor edi, edi
mov byte [eax], 0xf
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x49326b
xor edi, edi
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x493283
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4932b1
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x8a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4932c9
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4932f4
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
mov byte [eax], 0xf
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jbe 0x493309
mov edx, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
dec eax
lea edx, [esp + 0xa8]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00491980
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
add esp, 8
cmp dword [ecx + 0x54], esi
jg 0x49333f
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49336b
mov eax, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x20], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
cmp dword [esp + 0x5c], edi
je 0x4933c5
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
mov edx, dword [esp + 0xac]
mov dword [esp + 0xc], edx
jg 0x493398
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493416
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov byte [eax], 4
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x493416
mov eax, dword [esp + 0x54]
push eax
call fcn.004a2280
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, dword [ebx + 0x20]
jge 0x493416
mov eax, ecx
mov ecx, dword [ebx]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea esi, [eax + edx*4]
movsx eax, byte [esi + 1]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00458430
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov byte [esi], 0x9f
mov eax, dword [ebx + 0x20]
dec eax
add esp, 4
cmp dword [esp + 0x1c], eax
jne 0x493416
mov dword [ebx + 0x20], eax
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x49342e
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493459
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x70]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
mov byte [eax], 0xf
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x493471
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493498
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
mov dword [esp + 0x60], esi
jg 0x4934b4
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4934e3
mov eax, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x20], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa4]
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x4934fb
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493522
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x70]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x10
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x58]
js 0x49353b
mov edx, dword [ecx + 0x70]
cmp edx, edi
je 0x49353b
mov esi, dword [ebx + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [ebx + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x49355a
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493584
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x30]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
lea edx, [esi + 2]
mov byte [eax], 0x8a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0xc], eax
jg 0x4935a4
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4935cb
mov eax, dword [esp + 0xc]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x10
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebp + 8]
lea edx, [esp + 0xa8]
push edx
call fcn.00491860
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
add esp, 4
push 0x10
inc esi
push esi
push eax
push ecx
call fcn.0046e560
mov edx, dword [esp + 0x70]
mov eax, dword [ebp + 0x10]
push edx
push esi
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x94]
push edx
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
push eax
push edx
call fcn.0048afe0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add esp, 0x34
cmp dword [eax + 0x54], esi
jg 0x493637
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49365e
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x70]
mov byte [eax], 0x10
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x18]
js 0x493677
mov edx, dword [ecx + 0x70]
cmp edx, edi
je 0x493677
mov esi, dword [ebx + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [ebx + 0x20]
dec edx
lea eax, [esp + 0xa8]
mov dword [ecx + 0x58], edx
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.004916f0
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
add esp, 8
cmp dword [edx + 0x54], esi
jg 0x4936ae
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493a87
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x6c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x10
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x493a87
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x30], 0
call fcn.004904f0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4938fd
mov edx, dword [eax + 0x40]
mov eax, dword [esi]
mov edi, 0xfff0bdc0
test edx, edx
je 0x49372c
mov ecx, dword [eax + 0x14]
xor edi, edi
test ecx, ecx
jle 0x49372c
mov eax, dword [eax + 0x10]
add eax, 0xc
lea ebx, [ebx]
cmp dword [eax], edx
je 0x49372c
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x493720
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
inc eax
mov dword [esi + 0x44], eax
mov edx, dword [ecx + 0x1c]
xor eax, eax
mov dword [esp + 0x58], edx
mov ecx, edi
mov edx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
call fcn.00478820
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 0x1c]
push ecx
push 0
push edx
push edi
push esi
call fcn.00472bd0
mov eax, dword [esp + 0x24]
add esp, 0x14
test byte [eax + 0x2a], 0x20
je 0x493796
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x493792
nop
mov edx, dword [eax + 0x34]
and dl, 3
cmp dl, 2
je 0x493792
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x493780
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x4937d4
test byte [eax + 0x34], 4
jne 0x4937cd
movzx ecx, word [eax + 0x2c]
mov edx, dword [esp + 0x10]
cmp cx, word [edx + 0x28]
jge 0x4937cd
cmp dword [eax + 0x24], 0
jne 0x4937cd
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4937c9
cmp cx, word [edx + 0x2c]
jge 0x4937cd
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4937a1
cmp dword [esp + 0x14], 0
je 0x4937f4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
push eax
push esi
mov dword [esp + 0x60], ecx
call fcn.00478ff0
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
push 1
push edx
push 0x36
push ebx
mov eax, edi
call fcn.00458080
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x493858
mov edi, dword [ebx + 4]
mov ecx, dword [ebx]
test edi, edi
je 0x493846
cmp byte [ecx + 0x41], 0
jne 0x493846
mov eax, dword [ebx + 0x20]
dec eax
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
movsx eax, byte [edi + 1]
push ecx
mov ecx, dword [edi + 0x10]
call fcn.00458430
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x10], ecx
mov byte [edi + 1], 0xfa
jmp 0x493855
push ecx
mov ecx, dword [esp + 0x20]
mov eax, 0xfffffffa
call fcn.00458430
add esp, 4
mov edx, dword [esp + 0xd0]
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], edi
mov eax, dword [edx + 8]
mov dword [esp + 0xc], eax
jg 0x49387e
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4938aa
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0xc]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x32
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 edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
jg 0x4938c2
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4938ea
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x3d
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
call fcn.00491db0
jmp 0x493a37
mov edx, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x27], 0
cmp dword [edx + 0x2c], edi
jne 0x49396c
lea edi, [esp + 0x18]
lea eax, [esp + 0xa8]
call fcn.00490470
mov byte [esp + 0x27], al
test al, al
je 0x493968
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 0
push eax
push ecx
call fcn.0046a390
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
test edi, edi
je 0x49396c
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x41], 0
jne 0x49396c
cmp byte [esp + 0x27], 1
mov ecx, dword [edi + 4]
setne al
mov byte [ecx + 0xc], al
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov byte [eax], 0x9a
jmp 0x49396c
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xa8]
push ecx
push esi
call fcn.004916f0
movzx dx, byte [esp + 0x2f]
mov ecx, dword [esp + 0x3c]
push 0
movzx eax, dx
mov edx, dword [esp + 0x44]
push eax
push 0
push edi
push ecx
push edx
push esi
call fcn.004a1990
mov edi, eax
add esp, 0x24
mov dword [esp + 0x54], edi
test edi, edi
jne 0x4939bd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.0046ab40
add esp, 8
jmp 0x493b35
lea edx, [esp + 0xa8]
push edx
push esi
call fcn.00491980
add esp, 8
cmp byte [edi + 0x24], 0
jle 0x493a1f
mov eax, dword [edi + 0x34]
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], edi
mov dword [esp + 0xc], eax
jg 0x4939f3
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x493a1b
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov byte [eax], 0xe
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 edi, dword [esp + 0x54]
push edi
call fcn.004a2280
add esp, 4
lea eax, [esp + 0xa8]
push eax
mov eax, esi
call fcn.00491860
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add esp, 4
push 0x10
push edi
push ecx
push esi
mov dword [esp + 0x84], 0
call fcn.0046e560
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push edi
push edi
push edx
push 0
push 0
push 0xffffffffffffffff
push ecx
push eax
push esi
call fcn.0048afe0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add esp, 0x34
push edx
push eax
call fcn.0046ab40
add esp, 8
xor edi, edi
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x3c]
js 0x493aa0
mov edx, dword [ecx + 0x70]
cmp edx, edi
je 0x493aa0
mov esi, dword [ebx + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [ebx + 0x20]
mov esi, dword [ebp + 8]
dec edx
mov dword [ecx + 0x58], edx
cmp byte [esp + 0x91], 3
jne 0x493ac2
push esi
mov eax, str.DISTINCT
call fcn.0048bcc0
add esp, 4
cmp dword [esp + 0x74], 0
je 0x493b00
cmp dword [esp + 0x78], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x493ada
mov eax, str.ORDER_BY
push esi
call fcn.0048bcc0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
push edx
lea eax, [esp + 0x7c]
push eax
push ecx
push esi
call fcn.0048bed0
add esp, 0x14
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0xfc]
js 0x493b1c
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x493b1c
mov edi, dword [ebx + 0x20]
mov dword [edx + eax*4], edi
mov edx, dword [ebx + 0x20]
dec edx
xor eax, eax
mov dword [ecx + 0x58], edx
cmp dword [esi + 0x40], eax
setg al
mov dword [esp + 0x5c], eax
jmp 0x493b35
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0xd8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1cc], ecx
test ebx, ebx
jne 0x493b68
mov edx, dword [ebp + 0x10]
cmp byte [edx], 9
jne 0x493b68
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.0048c850
add esp, 0xc
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0x2c]
mov edi, eax
test eax, eax
je 0x493c10
cmp dword [esi + 0x208], 0
je 0x493b92
mov ecx, esi
call fcn.0043b790
jmp 0x493c10
cmp eax, dword [esi + 0x114]
jb 0x493bb8
cmp eax, dword [esi + 0x118]
jae 0x493bb8
mov ecx, dword [esi + 0x110]
mov dword [eax], ecx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
jmp 0x493c10
cmp dword [0x55d8c8], 0
je 0x493c06
mov eax, dword [0x6261c0]
test eax, eax
je 0x493bd4
push eax
call dword [0x55d91c]
add esp, 4
push edi
call dword [0x55d8f8]
sub dword [0x626008], eax
dec dword [0x62602c]
add esp, 4
push edi
call dword [0x55d8f0]
mov eax, dword [0x6261c0]
add esp, 4
test eax, eax
je 0x493c10
push eax
call dword [0x55d924]
jmp 0x493c0d
push eax
call dword [0x55d8f0]
add esp, 4
mov eax, dword [esp + 0xd0]
mov edi, eax
test eax, eax
je 0x493cc9
cmp dword [esi + 0x208], 0
je 0x493c3a
mov ecx, esi
call fcn.0043b790
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x114]
jb 0x493c67
cmp eax, dword [esi + 0x118]
jae 0x493c67
mov edx, dword [esi + 0x110]
mov dword [eax], edx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x55d8c8], 0
je 0x493cbf
mov eax, dword [0x6261c0]
test eax, eax
je 0x493c83
push eax
call dword [0x55d91c]
add esp, 4
push edi
call dword [0x55d8f8]
sub dword [0x626008], eax
dec dword [0x62602c]
add esp, 4
push edi
call dword [0x55d8f0]
mov eax, dword [0x6261c0]
add esp, 4
test eax, eax
je 0x493cc9
push eax
call dword [0x55d924]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [0x55d8f0]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret