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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
push edi
mov edi, dword [esi]
mov dword [esp + 0x28], 1
mov dword [esp + 0xb4], 0
mov dword [esp + 0x2c], edi
test eax, eax
jne 0x4d0028
cmp dword [esi + 0x74], eax
jne 0x4d0021
test byte [edi + 0x44], 8
jne 0x4d0021
mov byte [esi + 0x17], 1
mov ebx, esi
call fcn.00493d60
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x4d22a8
cmp byte [edi + 0x49], 0
jne 0x4d22a8
cmp dword [esi + 0x24], 0
jne 0x4d22a8
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.004b2480
add esp, 0x10
test eax, eax
jne 0x4d22a8
push 0x30
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.004f0a6a
mov ecx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [ecx], 8
ja 0x4d0097
mov eax, dword [ebx + 0x30]
push edi
call fcn.004a8e70
add esp, 4
and dword [ebx + 8], 0xfffffffe
mov dword [ebx + 0x30], 0
push 0
push ebx
push esi
call fcn.004cf7b0
add esp, 0xc
cmp dword [esi + 0x24], 0
jne 0x4d2107
mov edx, edi
cmp byte [edx + 0x49], 0
jne 0x4d2107
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x4d00cc
push esi
mov eax, ebx
call fcn.004cab20
add esp, 4
push ebx
mov edi, esi
call fcn.004e4570
add esp, 4
test eax, eax
jne 0x4d2107
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x30]
shr eax, 3
and eax, 1
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x34], eax
cmp dword [ebx + 0x34], eax
jne 0x4d0258
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
cmp eax, dword [edi]
jge 0x4d0258
lea eax, [eax + eax*8]
test byte [edi + eax*8 + 0x2c], 8
mov ecx, dword [edi + eax*8 + 0x1c]
mov edx, dword [edi + eax*8 + 0x18]
lea edi, [edi + eax*8 + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
je 0x4d01b2
mov edx, dword [edi + 0x2c]
mov eax, dword [ebx + 0x24]
call fcn.004ad7b0
test eax, eax
je 0x4d01b2
mov ecx, dword [esp + 0x2c]
mov eax, 0x2000
test word [ecx + 0x44], ax
jne 0x4d01b2
mov edx, dword [edi + 0x2c]
and byte [edi + 0x24], 0xd7
mov eax, dword [ebx + 0x24]
push edx
push eax
call fcn.004c8d70
add esp, 8
cmp dword [esp + 0x10], 0
je 0x4d024a
mov ecx, dword [esp + 0x1c]
movsx edx, word [ecx + 0x2a]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp edx, dword [ecx]
jne 0x4d0285
test byte [eax + 8], 8
jne 0x4d024a
mov edx, eax
cmp dword [edx + 0x30], 0
je 0x4d0202
cmp dword [esp + 0x34], 0
jne 0x4d0202
test dword [ebx + 8], 0x40000
je 0x4d0202
mov eax, dword [esp + 0x18]
cmp dword [eax], 1
je 0x4d024a
mov ecx, eax
test byte [ecx + 0x74], 0xa
jne 0x4d024a
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push edx
push eax
push esi
mov eax, ebx
call fcn.004cda00
add esp, 0xc
test eax, eax
je 0x4d0223
mov dword [esp + 0x34], 0xffffffff
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x49], 0
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x18], ecx
jne 0x4d2107
mov eax, dword [ebp + 0x10]
cmp byte [eax], 8
jbe 0x4d024a
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x8c], ecx
inc dword [esp + 0x34]
cmp dword [ebx + 0x34], 0
je 0x4d0152
cmp dword [ebx + 0x34], 0
je 0x4d02ac
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov eax, esi
call fcn.004cba70
add esp, 8
cmp dword [ebx + 0x38], 0
mov edi, eax
jne 0x4d027c
mov edx, esi
call fcn.00494330
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
movsx eax, word [eax + 0x2a]
push ecx
push edx
push eax
push str.expected__d_columns_for__s_but_got__d
call fcn.00478120
add esp, 0x10
jmp 0x4d2107
mov edx, dword [esp + 0x18]
cmp dword [edx], 1
jle 0x4d02cf
mov ecx, dword [esp + 0x2c]
mov eax, 0x8000
test word [ecx + 0x44], ax
jne 0x4d02cf
mov edi, ebx
mov ebx, esi
call fcn.004ce160
mov ebx, edi
mov edi, dword [esp + 0x18]
xor eax, eax
cmp dword [edi], eax
mov dword [esp + 0x34], eax
jle 0x4d05e2
lea edx, [eax + eax*8]
mov eax, dword [edi + edx*8 + 0x40]
or eax, dword [edi + edx*8 + 0x44]
lea edi, [edi + edx*8 + 8]
jne 0x4d030b
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
push ecx
push 0x511b20
push edx
push 0x14
mov eax, esi
call fcn.004b2480
add esp, 0x10
mov eax, dword [edi + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4d05cd
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4d0346
test byte [edi + 0x28], 0x10
jne 0x4d05cd
mov ecx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [edi + 0x1c]
push eax
push 0xc
push ecx
call fcn.00493fe0
add esp, 0x14
jmp 0x4d05cd
mov eax, ebx
call fcn.004a79d0
add dword [esi + 0xcc], eax
mov eax, dword [esp + 0x2c]
mov edx, 0x1000
test word [eax + 0x44], dx
jne 0x4d0383
movzx ecx, byte [edi + 0x24]
mov edx, dword [edi + 0x2c]
mov eax, dword [ebx + 0x24]
shr ecx, 5
and ecx, 1
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push esi
call fcn.004ce260
add esp, 0x14
cmp dword [esp + 0x34], 0
mov edx, dword [esi + 0xec]
mov eax, dword [edi + 8]
mov dword [esp + 0x48], edx
mov dword [esi + 0xec], eax
jne 0x4d0473
mov eax, dword [esp + 0x18]
cmp dword [eax], 1
je 0x4d03b4
test byte [eax + 0x74], 0xa
je 0x4d0473
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x88]
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
inc ebx
push ebx
push 0
push ecx
push 0xd
push eax
mov dword [esp + 0x84], ebx
mov dword [edi + 0x1c], ecx
call fcn.00493fe0
mov ecx, dword [edi + 0x1c]
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [edi + 0x18], ebx
add esp, 0x14
mov byte [esp + 0x74], 0xd
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x14]
push eax
push str.CO_ROUTINE__u
push 1
mov ebx, esi
call fcn.00494270
mov ebx, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
push ebx
push esi
call fcn.004cffe0
mov ax, word [ebx + 6]
mov edx, dword [edi + 0x10]
mov esi, dword [esp + 0x20]
mov word [edx + 0x2c], ax
mov ecx, dword [esp + 0x88]
mov eax, dword [edi + 0x1c]
or dword [edi + 0x28], 0x10
add esp, 0xc
mov dword [edi + 0x20], ecx
call fcn.00494470
mov eax, dword [esp + 0x70]
dec eax
mov edx, esi
call fcn.00494810
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov byte [eax + 0x13], cl
mov dword [eax + 0x1c], ecx
mov esi, eax
jmp 0x4d05a8
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x14]
push 0
push eax
push 0
push 0x46
push edx
mov dword [esp + 0x70], 0
mov dword [edi + 0x1c], eax
call fcn.00493fe0
mov dword [esp + 0x84], eax
inc eax
add esp, 0x14
test byte [edi + 0x28], 8
mov dword [edi + 0x18], eax
jne 0x4d04c2
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0x11
push eax
call fcn.00493fe0
add esp, 0x14
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
call fcn.004cff50
mov dword [esp + 0x1c], eax
test eax, eax
mov eax, dword [edi + 0x2c]
je 0x4d0505
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x14]
push 0
push edx
push eax
push 0x6f
push ecx
call fcn.00493fe0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x14]
mov cx, word [eax + 6]
mov edx, dword [esp + 0x44]
add esp, 0x14
mov word [edx + 6], cx
jmp 0x4d0551
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], eax
xor eax, eax
mov byte [esp + 0x74], 0xc
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov edx, dword [ecx + 0x14]
push edx
push str.MATERIALIZE__u
push 1
mov ebx, esi
call fcn.00494270
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea eax, [esp + 0x74]
push eax
push ecx
push esi
call fcn.004cffe0
mov ebx, dword [ebp + 0xc]
add esp, 0xc
cmp dword [esp + 0x5c], 0
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0x10]
mov cx, word [eax + 6]
mov word [edx + 0x2c], cx
je 0x4d0574
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
call fcn.00494810
mov edi, dword [edi + 0x1c]
mov edx, dword [esp + 0x14]
push 0
push 0
push edi
push 0x42
push edx
call fcn.00493fe0
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x84]
add esp, 0x14
call fcn.00494790
mov byte [esi + 0x13], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x49], 0
jne 0x4d2107
mov eax, ebx
call fcn.004a79d0
mov ecx, dword [esp + 0x48]
sub dword [esi + 0xcc], eax
mov dword [esi + 0xec], ecx
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
inc eax
cmp eax, dword [edi]
mov dword [esp + 0x34], eax
jl 0x4d02e1
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
mov edi, dword [ebx]
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov al, byte [ebx + 8]
and al, 1
and dl, 9
mov dword [esp + 0x70], edi
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x74], al
cmp dl, 1
jne 0x4d0643
mov eax, dword [esp + 0x8c]
push 0xffffffffffffffff
push eax
mov eax, edi
call fcn.004ad510
add esp, 8
test eax, eax
jne 0x4d0643
mov ecx, dword [esp + 0x2c]
and dword [ebx + 8], 0xfffffffe
push eax
push edi
push ecx
call fcn.004a8530
add esp, 0xc
mov dword [ebx + 0x28], eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x8c], 0
je 0x4d071b
mov edx, dword [esp + 0x8c]
push edx
mov edx, dword [edi]
push esi
xor ebx, ebx
call fcn.004ca1d0
mov edx, dword [esp + 0x94]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x28]
lea ecx, [eax + 1]
mov dword [esi + 0x28], ecx
mov ecx, dword [edx]
mov edx, dword [edi]
push ebx
mov ebx, dword [esp + 0x20]
lea ecx, [ecx + edx + 1]
push ecx
push eax
push 0x71
push ebx
mov dword [esp + 0xb0], eax
call fcn.00493fe0
mov ecx, dword [ebx]
add esp, 0x1c
cmp byte [ecx + 0x49], 0
mov dword [esp + 0x1c], eax
je 0x4d06bf
mov eax, dword [esp + 0x10]
mov edx, 0xfffffff7
call fcn.004949a0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
jmp 0x4d072a
cmp dword [esp + 0x1c], 0
jge 0x4d06cd
mov eax, dword [ebx + 0x88]
dec eax
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x4d06ff
mov edx, dword [esp + 0x10]
push edx
push eax
mov eax, 0xfffffff7
mov ecx, ebx
call fcn.00494b00
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0xa0], eax
jmp 0x4d072a
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4d070e
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
jmp 0x4d072a
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
jne 0x4d0746
mov ecx, dword [edi]
mov edx, dword [eax + 4]
push 0
push ecx
push edx
push 0x71
push ebx
call fcn.00493fe0
add esp, 0x14
mov eax, ebx
call fcn.004944a0
mov ecx, dword [ebp + 0xc]
test dword [ecx + 8], 0x4000
mov dword [esp + 0x108], eax
jne 0x4d0769
mov edx, 0x140
mov word [ecx + 6], dx
push eax
push ecx
call fcn.004cb320
mov eax, dword [ebp + 0xc]
add esp, 8
cmp dword [eax + 0xc], 0
jne 0x4d07a4
cmp dword [esp + 0xa0], 0
jl 0x4d07a4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xa0]
mov dl, 0x72
mov ecx, edi
call fcn.00494760
or byte [esp + 0xac], 1
jmp 0x4d07a8
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
test byte [ecx + 8], 1
mov esi, dword [ebp + 8]
je 0x4d086d
mov eax, dword [esi + 0x28]
mov dword [esp + 0x78], eax
inc eax
mov edx, ecx
mov dword [esi + 0x28], eax
mov eax, dword [edx]
push eax
push esi
xor edx, edx
xor ebx, ebx
call fcn.004ca1d0
mov ecx, dword [esp + 0x80]
push 0
push 0
push ecx
push 0x71
push edi
mov ebx, eax
call fcn.00493fe0
mov ecx, dword [edi]
add esp, 0x1c
cmp byte [ecx + 0x49], 0
mov edx, eax
mov dword [esp + 0x1c], edx
je 0x4d080b
mov eax, ebx
mov edx, 0xfffffff7
call fcn.004949a0
mov edx, dword [esp + 0x1c]
jmp 0x4d0848
test edx, edx
jge 0x4d0816
mov eax, dword [edi + 0x88]
dec eax
mov ecx, dword [edi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x4d083d
push ebx
push eax
mov eax, 0xfffffff7
mov ecx, edi
call fcn.00494b00
mov edx, dword [esp + 0x24]
add esp, 8
jmp 0x4d0848
test ebx, ebx
je 0x4d0848
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xf7
mov eax, dword [edi + 0x88]
mov dword [esp + 0x7c], edx
test eax, eax
jle 0x4d0866
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
mov ecx, 8
mov word [eax + edx*4 - 0x12], cx
mov byte [esp + 0x75], 3
jmp 0x4d0872
mov byte [esp + 0x75], 0
mov ebx, dword [esp + 0x24]
xor edx, edx
cmp dword [esp + 0x3c], edx
jne 0x4d0a83
cmp ebx, edx
jne 0x4d0a83
movzx edx, byte [esp + 0x74]
mov eax, dword [ebp + 0xc]
mov cx, word [eax + 8]
mov eax, dword [eax + 0x44]
neg edx
sbb edx, edx
mov ebx, 0x4000
and cx, bx
and edx, 0x100
or dx, cx
movzx ebx, dx
mov dword [esp + 0x48], eax
test eax, eax
je 0x4d08c2
push eax
call fcn.004e4c70
add esp, 4
mov eax, dword [ebp + 0xc]
movsx edx, word [eax + 6]
mov eax, dword [eax]
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x54]
push ebx
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push esi
call fcn.004e28a0
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4d2104
movzx eax, word [ebx + 0x48]
mov ecx, dword [ebp + 0xc]
cmp ax, word [ecx + 6]
jge 0x4d0904
mov word [ecx + 6], ax
cmp byte [esp + 0x74], 0
je 0x4d0916
mov al, byte [ebx + 0x33]
test al, al
je 0x4d0916
mov byte [esp + 0x75], al
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x4d0965
cmp byte [ebx + 0x34], 0
movsx ecx, byte [ebx + 0x2f]
mov dword [esp + 0x90], ecx
jne 0x4d0937
mov eax, dword [ebx + 0x20]
jmp 0x4d0948
movzx eax, byte [ebx + 0x2e]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + ebx + 0x2b0]
mov dword [esp + 0xa8], eax
cmp ecx, dword [edx]
jne 0x4d0965
mov dword [esp + 0x8c], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0xa0]
test eax, eax
jl 0x4d097b
test edx, edx
jne 0x4d097b
mov edx, edi
call fcn.00494ac0
cmp dword [esp + 0x48], 0
je 0x4d0a45
mov eax, edi
call fcn.004944a0
mov dword [esp + 0x1c], eax
mov eax, edi
call fcn.004944a0
mov dword [esp + 0x3c], eax
mov eax, edi
call fcn.004944a0
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
inc dword [esi + 0x2c]
mov edx, dword [ebp + 0xc]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x2c]
push esi
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.004e7100
mov ebx, dword [esp + 0x30]
push 0
push ebx
push 0
push 0xb
push edi
call fcn.00493fe0
mov edx, dword [esp + 0x38]
add esp, 0x1c
mov ecx, edi
call fcn.004944f0
mov edx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x10]
push ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x9c]
push edx
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [esp + 0xc4], 0
call fcn.004c9610
mov edx, dword [esp + 0x58]
add esp, 0x1c
mov ecx, edi
call fcn.004944f0
mov ecx, dword [esp + 0x38]
push 0
push 0
push ecx
push 0x42
push edi
call fcn.00493fe0
add esp, 0x14
mov edx, ebx
mov ecx, edi
call fcn.004944f0
jmp 0x4d2050
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x9c]
push eax
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c9610
add esp, 0x1c
push ebx
call fcn.004e32a0
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x4d2050
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], edx
cmp ebx, edx
je 0x4d0ae6
mov ecx, dword [eax]
mov eax, dword [ecx]
cmp eax, edx
jle 0x4d0ab2
add ecx, 0x1a
xor ebx, ebx
mov word [ecx], bx
dec eax
add ecx, 0x18
cmp eax, edx
jg 0x4d0aa1
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
cmp eax, edx
jle 0x4d0ad1
lea ecx, [ebx + 0x1a]
jmp 0x4d0ac0
xor ebx, ebx
mov word [ecx], bx
dec eax
add ecx, 0x18
cmp eax, edx
jg 0x4d0ac0
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
cmp word [eax + 6], 0x42
jle 0x4d0aec
mov ecx, 0x42
mov word [eax + 6], cx
jmp 0x4d0aec
xor edx, edx
mov word [eax + 6], dx
mov eax, dword [esp + 0x8c]
push 0xffffffffffffffff
push ebx
call fcn.004ad510
add esp, 8
test eax, eax
jne 0x4d0b0a
mov dword [esp + 0x4c], 1
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 0x3c]
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0x10], eax
mov dword [eax + 0x3c], ecx
test ebx, edx
jne 0x4d0b4c
lea eax, [ebx*8 + 4]
push 0
push eax
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
call fcn.00475660
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0x40], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4d0b5a
mov dword [eax + ebx*4], 0xffffffff
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
sub eax, ebx
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x24]
inc ecx
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], edx
mov dword [esp + 0xc8], ecx
test eax, eax
je 0x4d0bdb
mov edx, dword [eax]
mov dword [esp + 0xc4], edx
jmp 0x4d0be6
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0xe8]
push ecx
mov dword [esp + 0xd4], eax
call fcn.004adbf0
mov ebx, dword [esp + 0x90]
lea edx, [esp + 0xec]
add esp, 4
push edx
call fcn.004adbf0
xor ebx, ebx
add esp, 4
cmp dword [esp + 0x5c], ebx
je 0x4d0c8c
cmp dword [esp + 0x24], ebx
je 0x4d0c41
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, ebx
call fcn.004cff00
mov eax, dword [ebx + 0x24]
add esp, 4
mov dword [esp + 0x50], eax
xor ebx, ebx
mov edx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x110]
lea ecx, [esp + 0xec]
push eax
mov dword [esp + 0x118], 0x4ad960
mov dword [esp + 0x11c], 0x4adbd0
mov dword [esp + 0x120], 0x4adbe0
mov dword [esp + 0x124], ebx
mov dword [esp + 0x12c], ecx
call fcn.004a4a70
add esp, 8
mov ecx, dword [esp + 0xd8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0xe4]
cmp dword [eax + 0x28], ebx
jne 0x4d0cde
cmp dword [eax + 0x2c], ebx
jne 0x4d0cde
cmp ecx, 1
jne 0x4d0cde
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0xb4]
push edx
push eax
mov eax, dword [ecx]
call fcn.004ce390
mov ecx, dword [esp + 0xec]
add esp, 8
mov byte [esp + 0x47], al
jmp 0x4d0ce3
mov byte [esp + 0x47], 0
cmp ecx, ebx
mov dword [esp + 0x34], ebx
jle 0x4d0d40
mov dword [esp + 0x10], ebx
nop
mov edx, dword [esp + 0xe0]
or word [esp + 0x100], 8
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax]
mov ebx, dword [ecx + 0x14]
lea edx, [esp + 0xe8]
push edx
call fcn.004adbf0
mov ecx, dword [esp + 0xe8]
add dword [esp + 0x14], 0x10
mov eax, 0xfff7
and word [esp + 0x104], ax
mov eax, dword [esp + 0x38]
inc eax
add esp, 4
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x4d0cf0
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xcc], edx
cmp byte [eax + 0x49], 0
jne 0x4d20eb
cmp dword [esp + 0x24], 0
je 0x4d1bdd
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xd8]
mov dword [esp + 0xbc], eax
push ecx
inc eax
push esi
xor ebx, ebx
mov dword [esi + 0x28], eax
call fcn.004ca1d0
mov edx, dword [esp + 0xcc]
push ebx
push edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xcc]
push eax
push 0x72
push edi
call fcn.00493fe0
mov ecx, dword [edi]
add esp, 0x1c
mov dword [esp + 0x48], eax
cmp byte [ecx + 0x49], bl
je 0x4d0dbe
mov eax, dword [esp + 0x68]
lea edx, [ebx - 9]
call fcn.004949a0
jmp 0x4d0dfe
cmp dword [esp + 0x48], 0
jge 0x4d0dcc
mov eax, dword [edi + 0x88]
dec eax
mov edx, dword [edi + 0x58]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x68]
je 0x4d0df3
push ecx
push eax
mov eax, 0xfffffff7
mov ecx, edi
call fcn.00494b00
add esp, 8
jmp 0x4d0dfe
test ecx, ecx
je 0x4d0dfe
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x64], eax
inc eax
mov dword [esp + 0x10], eax
inc eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 0x3c]
lea ecx, [ebx - 1]
lea edx, [ebx + 1]
mov dword [esp + 0x58], eax
mov dword [eax + 0x3c], edx
test ebx, ecx
jne 0x4d0e51
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
lea edx, [ebx*8 + 4]
push 0
push edx
call fcn.00475660
mov ecx, dword [esp + 0x60]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0x40], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4d0e5f
mov dword [eax + ebx*4], 0xffffffff
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
or eax, 0xffffffff
sub eax, ebx
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 0x3c]
mov dword [esp + 0x38], edx
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], ebx
mov dword [eax + 0x3c], ecx
test ebx, edx
jne 0x4d0eb4
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
lea ecx, [ebx*8 + 4]
push 0
push ecx
call fcn.00475660
mov edx, dword [esp + 0x24]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
mov dword [edx + 0x40], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4d0ec2
mov dword [eax + ebx*4], 0xffffffff
mov eax, dword [esi + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
add eax, edx
lea edx, [eax + 1]
push 0
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x14]
push edx
mov dword [esi + 0x2c], eax
mov ecx, dword [ecx]
push 0
or ebx, 0xffffffff
sub ebx, dword [esp + 0x48]
add ecx, eax
push 0x46
push edi
mov dword [esp + 0x30], ebx
mov dword [esi + 0x2c], ecx
call fcn.00493fe0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov eax, dword [esp + 0x6c]
add esp, 0x14
lea edx, [ecx + eax - 1]
push edx
push eax
push 0
push 0x49
push edi
call fcn.00493fe0
mov eax, dword [esp + 0x4c]
add esp, 0x14
push 0
push ebx
push eax
push 0xc
push edi
call fcn.00493fe0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
add esp, 0x14
neg ecx
sbb ecx, ecx
and ecx, 0x200
or cx, 0x40
push 0
movzx edx, cx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x20]
push 0
push eax
push ecx
push edx
push esi
call fcn.004e28a0
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4d20eb
movsx eax, byte [eax + 0x2f]
mov ecx, dword [esp + 0x24]
cmp eax, dword [ecx]
jne 0x4d0f89
xor ebx, ebx
mov dword [esp + 0x50], ebx
jmp 0x4d12f6
cmp byte [esp + 0x74], 0
je 0x4d0f9e
mov edx, dword [ebp + 0xc]
test byte [edx + 8], 1
mov eax, str.DISTINCT
je 0x4d0fa3
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
mov ebx, esi
call fcn.00494270
mov eax, dword [esp + 0x30]
mov ebx, dword [eax]
mov ecx, dword [esp + 0xe4]
add esp, 0xc
mov dword [esp + 0x50], 1
mov dword [esp + 0x18], ebx
mov eax, ebx
test ecx, ecx
jle 0x4d0ff5
mov edx, dword [esp + 0xd4]
add edx, 0xc
mov dword [esp + 0x40], ecx
cmp dword [edx], eax
jl 0x4d0feb
inc dword [esp + 0x18]
inc eax
add edx, 0x18
sub dword [esp + 0x40], 1
jne 0x4d0fe2
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jne 0x4d1026
mov al, byte [esi + 0x13]
test al, al
jne 0x4d1011
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x4d1055
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + ecx*4 + 0x90]
mov dword [esp + 0x20], eax
jmp 0x4d1055
mov eax, dword [esi + 0x1c]
cmp ecx, eax
mov edx, dword [esi + 0x20]
mov dword [esp + 0x28], edx
jg 0x4d1044
add edx, ecx
sub eax, ecx
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
jmp 0x4d104f
mov eax, dword [esi + 0x2c]
add ecx, eax
lea edx, [eax + 1]
mov dword [esi + 0x2c], ecx
mov eax, edx
mov dword [esp + 0x20], edx
push 0
push 0
push eax
mov eax, dword [esp + 0x30]
push esi
call fcn.004ac800
xor eax, eax
add esp, 0x10
cmp dword [esp + 0xd8], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], eax
jle 0x4d10d9
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
cmp dword [edx + ecx + 0xc], eax
jl 0x4d10c2
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov ebx, dword [edx + ecx]
push eax
mov eax, dword [edx + ecx + 4]
push eax
mov eax, dword [edx + ecx + 8]
push edi
call fcn.004ab540
mov edx, dword [esp + 0xe0]
add esp, 0xc
inc dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add dword [esp + 0x40], 0x18
inc eax
cmp eax, dword [esp + 0xd8]
mov dword [esp + 0x34], eax
jl 0x4d1085
mov al, byte [esi + 0x13]
test al, al
jne 0x4d10e8
inc dword [esi + 0x2c]
mov ebx, dword [esi + 0x2c]
jmp 0x4d10f7
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov ebx, dword [esi + ecx*4 + 0x90]
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d111e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebx
push eax
push ecx
push 0x66
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1155
mov ecx, dword [edi + 0x58]
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x18]
mov byte [eax], 0x66
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esp + 0xbc]
jg 0x4d1181
push 0
mov eax, ecx
push ebx
push eax
push 0x84
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d11ad
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x84
mov word [eax + 2], dx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
test ebx, ebx
je 0x4d11cd
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4d11cd
movzx eax, al
mov dword [esi + eax*4 + 0x90], ebx
inc byte [esi + 0x13]
cmp ecx, 1
jne 0x4d11ec
test edx, edx
je 0x4d11f7
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4d11f7
movzx ecx, al
mov dword [esi + ecx*4 + 0x90], edx
inc byte [esi + 0x13]
jmp 0x4d11f7
cmp ecx, dword [esi + 0x1c]
jle 0x4d11f7
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e32a0
mov ecx, dword [esi + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x28], eax
mov al, byte [esi + 0x13]
add esp, 4
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc0], ecx
test al, al
jne 0x4d122b
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x20], edx
jmp 0x4d1240
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + edx*4 + 0x90]
mov dword [esp + 0x20], eax
mov edx, eax
mov eax, dword [edi + 0x88]
mov ebx, dword [edi + 0xc]
cmp dword [ebx + 0x30], eax
jg 0x4d1263
mov eax, dword [esp + 0x18]
push eax
push edx
push ecx
push 0x74
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1291
lea ebx, [eax + 1]
mov dword [edi + 0x88], ebx
mov ebx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x74
mov word [eax + 2], bx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esp + 0xbc]
jg 0x4d12bc
mov eax, dword [esp + 0x30]
push 0
push eax
push ecx
push 0x22
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d12ec
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x22
mov word [eax + 2], dx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esp + 0xb9], 1
xor ebx, ebx
cmp dword [esp + 0x4c], ebx
je 0x4d1350
mov edx, dword [esp + 0x2c]
test byte [edx + 0x44], 4
jne 0x4d1350
cmp dword [esp + 0x50], ebx
jne 0x4d1315
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x30], bl
je 0x4d1350
mov ecx, dword [edi]
mov dword [esp + 0x8c], ebx
cmp byte [ecx + 0x49], bl
jne 0x4d1350
mov eax, dword [esp + 0xa0]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
movsx edx, byte [eax + 1]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x10]
call fcn.004949a0
mov eax, dword [esp + 0x28]
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov byte [eax], 0xab
mov eax, dword [edi + 0x88]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x50], ebx
je 0x4d13c1
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esp + 0xbc]
jg 0x4d138f
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xbc]
push eax
push ecx
push edx
push 0x7f
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d13c1
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x7f
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp dword [eax], ebx
mov dword [esp + 0x14], ecx
jle 0x4d1481
add eax, 4
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x50], ebx
je 0x4d1444
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d140e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + ecx]
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
push 0x5a
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1467
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
add edx, ecx
mov byte [eax], 0x5a
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x4d146b
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
add eax, ecx
push eax
mov byte [esp + 0xbc], 1
mov eax, dword [edx]
push eax
push esi
call fcn.004ac740
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add dword [esp + 0x4c], 0x18
inc ecx
cmp ecx, dword [eax]
mov dword [esp + 0x14], ecx
jl 0x4d13da
mov ecx, dword [esp + 0x68]
cmp ecx, ebx
je 0x4d148b
inc dword [ecx]
mov ecx, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], ecx
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jg 0x4d14b8
mov ecx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
push 0x57
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d14f0
lea edx, [ecx + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
mov byte [eax], 0x57
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [edi]
cmp byte [ecx + 0x49], bl
je 0x4d1507
mov eax, dword [esp + 0x68]
mov edx, 0xfffffff7
call fcn.004949a0
jmp 0x4d1547
cmp eax, ebx
jge 0x4d1512
mov eax, dword [edi + 0x88]
dec eax
mov ecx, dword [edi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], bl
lea eax, [ecx + eax*4]
je 0x4d1538
mov edx, dword [esp + 0x68]
push edx
push eax
mov eax, 0xfffffff7
mov ecx, edi
call fcn.00494b00
add esp, 8
jmp 0x4d1547
mov ecx, dword [esp + 0x68]
cmp ecx, ebx
je 0x4d1547
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
mov dword [esp + 0x28], eax
lea ecx, [eax + 1]
jg 0x4d156d
push ecx
push ebx
push ecx
push 0x10
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1597
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x10
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [esi + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x88]
cmp dword [edx + 0x30], ecx
jg 0x4d15cd
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push ecx
push 0x4d
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1603
lea edx, [ecx + 1]
mov dword [eax + 0x88], edx
mov edx, dword [eax + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov byte [eax], 0x4d
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d162a
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
push ebx
push edx
push eax
push 0xc
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d165c
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x60]
mov byte [eax], 0xc
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 + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d1683
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ecx
push 0x2f
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d16b5
mov ecx, dword [edi + 0x58]
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x30]
mov byte [eax], 0x2f
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 + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d16dc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
push ebx
push edx
push eax
push 0xc
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d170e
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0xc
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 [esp + 0x28]
cmp eax, ebx
mov ecx, dword [edi + 0x88]
jge 0x4d171f
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x49], bl
je 0x4d172d
mov eax, 0x539e70
jmp 0x4d1736
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xb8]
push eax
push ecx
push esi
call fcn.004cfa20
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
add esp, 0xc
cmp dword [edx + 0x30], eax
jg 0x4d1773
mov eax, dword [esp + 0x64]
push ebx
push eax
push 1
push 0x46
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d17a5
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
xor ecx, ecx
mov byte [eax], 0x46
mov word [eax + 2], cx
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x50], ebx
je 0x4d17ff
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esp + 0xbc]
jg 0x4d17d5
mov eax, dword [esp + 0x18]
push ebx
push eax
push ecx
push 3
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d183d
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
xor edx, edx
mov byte [eax], 3
mov word [eax + 2], dx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
jmp 0x4d1837
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e32a0
mov ecx, dword [edi]
add esp, 4
cmp byte [ecx + 0x49], bl
jne 0x4d183d
mov eax, dword [esp + 0x48]
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
movsx edx, byte [eax + 1]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x10]
call fcn.004949a0
mov eax, dword [esp + 0x28]
mov byte [eax], 0xab
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d1864
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
push ebx
push edx
push eax
push 0xc
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1896
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x60]
mov byte [eax], 0xc
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 + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d18b9
mov eax, dword [esp + 0x30]
push ebx
push eax
push ebx
push 0xb
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d18e7
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov byte [eax], 0xb
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
mov dword [esp + 0x28], eax
jg 0x4d190f
mov edx, dword [esp + 0x10]
push ebx
push edx
push 1
push 0x46
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1941
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov byte [eax], 0x46
mov word [eax + 2], cx
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d1964
mov edx, dword [esp + 0x54]
push ebx
push ebx
push edx
push 0x42
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1992
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov byte [eax], 0x42
mov word [eax + 2], cx
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 + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x4d19b1
mov ecx, dword [esp + 0x60]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
mov dword [esp + 0x60], eax
lea ecx, [eax + 2]
jg 0x4d19db
mov eax, dword [esp + 0x64]
push ebx
push ecx
push eax
push 0x2f
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1a09
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x64]
mov byte [eax], 0x2f
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 + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d1a2c
mov edx, dword [esp + 0x54]
push ebx
push ebx
push edx
push 0x42
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1a5a
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov byte [eax], 0x42
mov word [eax + 2], cx
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
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call fcn.004cf950
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
add esp, 4
inc eax
push 0x10
push eax
push ecx
push esi
mov dword [esp + 0x58], eax
call fcn.004ace40
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xac]
push eax
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.004c9610
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
add esp, 0x2c
cmp dword [edx + 0x30], eax
jg 0x4d1ad4
mov eax, dword [esp + 0x54]
push ebx
push ebx
push eax
push 0x42
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1b02
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov byte [eax], 0x42
mov word [eax + 2], cx
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 + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x4d1b21
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x88]
sub eax, edx
mov dword [eax], ecx
lea edx, [esp + 0xb8]
push edx
mov eax, esi
call fcn.004cf830
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
add esp, 4
cmp dword [ecx + 0x30], eax
jg 0x4d1b56
mov edx, dword [esp + 0x64]
push ebx
push edx
push ebx
push 0x46
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d1b84
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
xor ecx, ecx
mov byte [eax], 0x46
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d1baa
mov edx, dword [esp + 0x38]
push ebx
push ebx
push edx
push 0x42
mov eax, edi
call fcn.00493fa0
add esp, 0x10
jmp 0x4d2031
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov byte [eax], 0x42
mov word [eax + 2], cx
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
jmp 0x4d2031
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4d1eff
mov edx, dword [eax]
cmp dword [edx], 1
jne 0x4d1eff
mov eax, dword [eax + 0x20]
cmp dword [eax], 1
jne 0x4d1eff
cmp dword [eax + 0x1c], 0
jne 0x4d1eff
mov ebx, dword [eax + 0x18]
cmp dword [ebx + 0x38], 0
mov edx, dword [edx + 4]
mov dword [esp + 0x38], ebx
jne 0x4d1eff
cmp byte [edx], 0x9f
jne 0x4d1eff
test ecx, ecx
je 0x4d1eff
mov eax, dword [esp + 0xe0]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x4d1eff
test byte [edx + 4], 0x10
jne 0x4d1eff
mov edx, dword [ebx + 0x48]
mov ecx, 0xfff0bdc0
mov dword [esp + 0x10], ecx
test edx, edx
je 0x4d1c8c
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0xc], edx
je 0x4d1c8c
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
add eax, 0xc
lea esp, [esp]
add eax, 0x10
inc ecx
cmp dword [eax], edx
jne 0x4d1c80
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [esp + 0x28], eax
inc eax
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x1c]
xor edx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], edx
cmp eax, edx
je 0x4d1cb5
mov dword [esp + 0x48], eax
jmp 0x4d1cbb
mov eax, esi
mov dword [esp + 0x48], esi
mov edx, dword [eax + 0x54]
mov eax, 1
shl eax, cl
test eax, edx
jne 0x4d1cdc
or edx, eax
mov eax, dword [esp + 0x48]
mov dword [eax + 0x54], edx
cmp ecx, 1
jne 0x4d1cdc
call fcn.004b81f0
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x10]
push ecx
push 0
push edx
mov eax, esi
call fcn.004b2510
mov eax, dword [esp + 0x44]
add esp, 0xc
test byte [eax + 0x24], 0x20
je 0x4d1d26
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x4d1d22
jmp 0x4d1d10
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
je 0x4d1d22
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4d1d10
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4d1d62
test byte [eax + 0x38], 4
jne 0x4d1d57
movzx ecx, word [eax + 0x30]
cmp cx, word [ebx + 0x2e]
jge 0x4d1d57
cmp dword [eax + 0x24], 0
jne 0x4d1d57
test edx, edx
je 0x4d1d55
cmp cx, word [edx + 0x30]
jge 0x4d1d57
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4d1d35
mov dword [esp + 0x20], edx
test edx, edx
je 0x4d1d7e
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
push esi
mov dword [esp + 0x20], eax
call fcn.004b8980
add esp, 4
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
push ecx
push edx
push ebx
push 0x6d
push edi
call fcn.00493fe0
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x49], 0
jne 0x4d1db4
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], 1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d1e01
mov ecx, dword [edi]
cmp byte [ecx + 0x49], 0
je 0x4d1dd0
mov edx, 0xfffffff7
call fcn.004949a0
jmp 0x4d1e01
mov ecx, dword [edi + 0x88]
mov edx, dword [edi + 0x58]
dec ecx
lea ecx, [ecx + ecx*4]
cmp byte [edx + ecx*4 + 1], 0
lea ecx, [edx + ecx*4]
je 0x4d1dfa
push eax
push ecx
mov eax, 0xfffffff7
mov ecx, edi
call fcn.00494b00
add esp, 8
jmp 0x4d1e01
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d1e2d
push 0
push ecx
push ebx
push 0x68
mov eax, edi
call fcn.00493fa0
add esp, 0x10
xor ecx, ecx
jmp 0x4d1e59
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x68
mov word [eax + 2], dx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d1e7c
push 0
push 0
push ebx
push 0x75
mov eax, edi
call fcn.00493fa0
add esp, 0x10
xor ecx, ecx
jmp 0x4d1ea6
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x75
mov word [eax + 2], dx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], dl
cmp byte [esi + 0xc3], 2
jne 0x4d1ff8
mov eax, dword [esp + 0x20]
cmp eax, ecx
je 0x4d1ed9
mov ecx, dword [esp + 0x38]
test byte [ecx + 0x24], 0x20
je 0x4d1ed0
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
je 0x4d1ed9
mov ecx, dword [eax]
mov eax, str._USING_COVERING_INDEX
jmp 0x4d1ee0
mov ecx, 0x511b20
mov eax, ecx
push ecx
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push ecx
push str.SCAN_TABLE__s_s_s
push 0
mov ebx, esi
call fcn.00494270
add esp, 0x14
jmp 0x4d1ff8
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0xdc], eax
je 0x4d1f4e
cmp eax, ecx
jge 0x4d1f32
mov edx, dword [esp + 0xe0]
add edx, 4
lea esp, [esp]
mov ebx, dword [edx]
test byte [ebx + 4], 0x20
jne 0x4d1f30
inc eax
add edx, 0x10
cmp eax, ecx
jl 0x4d1f20
cmp eax, ecx
jne 0x4d1f4e
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push 0
push eax
push 0
push 0x46
push edi
mov dword [esp + 0x24], eax
call fcn.00493fe0
add esp, 0x14
lea edx, [esp + 0xb8]
push edx
mov eax, esi
call fcn.004cf830
movzx ax, byte [esp + 0x4b]
mov edx, dword [esp + 0xb8]
add esp, 4
push 0
movzx ecx, ax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x20]
push 0
push edx
push eax
push ecx
push esi
call fcn.004e28a0
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4d20eb
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xb8]
push edx
push eax
push esi
call fcn.004cfa20
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x4d1fc4
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 1
push 0x46
push edi
call fcn.00493fe0
add esp, 0x14
cmp byte [ebx + 0x2f], 0
jle 0x4d1fdd
mov edx, dword [ebx + 0x24]
push 0
push edx
push 0
push 0xb
push edi
call fcn.00493fe0
add esp, 0x14
push ebx
call fcn.004e32a0
lea eax, [esp + 0xbc]
add esp, 4
push eax
mov ecx, esi
call fcn.004cf950
add esp, 4
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
push 0x10
push ebx
push ecx
push esi
mov dword [esp + 0x9c], 0
call fcn.004ace40
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push ebx
push edx
push 0
push 0
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.004c9610
add esp, 0x2c
xor ebx, ebx
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x4d2050
mov ecx, dword [esp + 0x30]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x88]
sub eax, edx
mov dword [eax], ecx
cmp byte [esp + 0x75], 3
jne 0x4d206d
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
mov ebx, esi
call fcn.00494270
add esp, 0xc
cmp dword [esp + 0x8c], 0
je 0x4d20bd
cmp dword [esp + 0x90], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x4d208b
mov eax, str.ORDER_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
mov ebx, esi
call fcn.00494270
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push edx
push ecx
lea edx, [esp + 0x94]
push edx
push eax
push esi
call fcn.004ca290
add esp, 0x14
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4d20df
mov ecx, dword [esp + 0x108]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x88]
sub eax, edx
mov dword [eax], ecx
xor edx, edx
cmp dword [esi + 0x24], edx
setg dl
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4d2104
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004a8d60
add esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0xd4]
mov edi, dword [esp + 0x2c]
mov ebx, eax
test eax, eax
je 0x4d21a6
cmp dword [edi + 0x1d8], 0
je 0x4d212e
mov ecx, edi
call fcn.00475120
jmp 0x4d21a6
cmp eax, dword [edi + 0x128]
jb 0x4d214e
cmp eax, dword [edi + 0x12c]
jae 0x4d214e
mov ecx, dword [edi + 0x124]
mov dword [eax], ecx
mov dword [edi + 0x124], eax
jmp 0x4d21a6
cmp dword [0x52e0e0], 0
je 0x4d219c
mov eax, dword [0x53a950]
test eax, eax
je 0x4d216a
push eax
call dword [0x52e13c]
add esp, 4
push ebx
call dword [0x52e118]
sub dword [0x53a8e8], eax
dec dword [0x53a90c]
add esp, 4
push ebx
call dword [0x52e110]
mov eax, dword [0x53a950]
add esp, 4
test eax, eax
je 0x4d21a6
push eax
call dword [0x52e144]
jmp 0x4d21a3
push eax
call dword [0x52e110]
add esp, 4
mov eax, dword [esp + 0xe0]
mov ebx, eax
test eax, eax
je 0x4d2241
cmp dword [edi + 0x1d8], 0
je 0x4d21c9
mov ecx, edi
call fcn.00475120
jmp 0x4d2241
cmp eax, dword [edi + 0x128]
jb 0x4d21e9
cmp eax, dword [edi + 0x12c]
jae 0x4d21e9
mov edx, dword [edi + 0x124]
mov dword [eax], edx
mov dword [edi + 0x124], eax
jmp 0x4d2241
cmp dword [0x52e0e0], 0
je 0x4d2237
mov eax, dword [0x53a950]
test eax, eax
je 0x4d2205
push eax
call dword [0x52e13c]
add esp, 4
push ebx
call dword [0x52e118]
sub dword [0x53a8e8], eax
dec dword [0x53a90c]
add esp, 4
push ebx
call dword [0x52e110]
mov eax, dword [0x53a950]
add esp, 4
test eax, eax
je 0x4d2241
push eax
call dword [0x52e144]
jmp 0x4d223e
push eax
call dword [0x52e110]
add esp, 4
mov eax, dword [esi + 0xd0]
test eax, eax
jne 0x4d225c
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
test eax, eax
jge 0x4d226a
mov eax, dword [ecx + 0x88]
dec eax
mov edx, dword [ecx]
cmp byte [edx + 0x49], 0
je 0x4d228b
mov eax, 0x539e70
mov eax, dword [eax + 8]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x28]
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