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

Disassembly:
sub esp, 0xdc
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov dword [esp + 0x64], 1
mov esi, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x24], eax
test esi, esi
jne 0x5257ba
cmp dword [ebx + 0x74], esi
jne 0x5257af
test byte [eax + 0x50], 8
jne 0x5257af
mov byte [ebx + 0x17], 1
push ebx
call fcn.0052ee00
add esp, 4
mov esi, eax
mov edi, dword [esp + 0xf0]
test edi, edi
je 0x5257e0
cmp dword [ebx + 0x24], 0
jne 0x5257e0
push 0
push 0
push 0
push 0x15
push ebx
call fcn.004fb9f0
add esp, 0x14
test eax, eax
je 0x5257ef
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xdc
ret
push ebp
mov ebp, dword [esp + 0xf8]
cmp byte [ebp], 6
ja 0x525828
mov eax, dword [edi + 0x30]
test eax, eax
je 0x52581a
push eax
push 0x50be60
push ebx
call fcn.0051f350
add esp, 0xc
mov dword [edi + 0x30], 0
mov eax, dword [edi + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [edi + 4], eax
push 0
push edi
push ebx
call fcn.005283f0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x527ccb
mov eax, dword [edi + 4]
test eax, 0x800000
je 0x5258b6
mov edx, dword [edi + 0x20]
mov ecx, 1
mov dword [esp + 0x10], ecx
cmp dword [edx], ecx
jle 0x5258ae
mov eax, dword [edx + 0x18]
lea ebp, [edx + 0x5c]
mov dword [esp + 0x48], eax
cmp eax, dword [ebp + 4]
jne 0x525898
mov edx, dword [edx + 0x14]
mov eax, dword [ebp]
test edx, edx
jne 0x525877
neg eax
sbb eax, eax
jmp 0x525889
test eax, eax
je 0x525891
push eax
push edx
call fcn.00529a80
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x525ae1
mov eax, dword [esp + 0x48]
mov edx, dword [edi + 0x20]
inc ecx
add ebp, 0x48
mov dword [esp + 0x10], ecx
cmp ecx, dword [edx]
jl 0x525862
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0xf8]
and eax, 0xff7fffff
mov dword [edi + 4], eax
cmp byte [ebp], 9
jne 0x5258c6
push edi
push ebx
call fcn.00513ce0
add esp, 8
push edi
push ebx
call fcn.00543180
add esp, 8
test eax, eax
jne 0x527ccb
mov eax, dword [edi + 4]
xor ebp, ebp
mov edx, dword [edi + 0x20]
shr eax, 3
and eax, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
xor eax, 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 + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x20], ebp
cmp dword [edi + 0x34], ebp
jne 0x525aac
cmp ebp, dword [edx]
jge 0x525aac
lea eax, [ebp*8 + 1]
add eax, ebp
test byte [edx + eax*8 + 0x24], 8
mov ecx, dword [edx + eax*8 + 0x10]
lea eax, [edx + eax*8]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
je 0x5259b8
push dword [eax + 0x2c]
push dword [edi + 0x24]
call fcn.0050b7b0
add esp, 8
test eax, eax
je 0x5259b0
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x2000
jne 0x5259b0
mov eax, dword [esp + 0x14]
push dword [eax + 0x2c]
and byte [eax + 0x24], 0xd7
push dword [edi + 0x24]
call fcn.00546070
add esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
test ebp, ebp
je 0x525a99
mov eax, dword [ebp + 0x1c]
movsx ecx, word [ecx + 0x22]
cmp ecx, dword [eax]
jne 0x525b05
mov eax, dword [ebp + 4]
test al, 8
jne 0x525a99
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x525a20
cmp dword [edi + 0x30], 0
jne 0x5259ec
cmp dword [edx], 1
jle 0x525a20
cmp dword [ebp + 0x3c], 0
jne 0x525a20
test eax, 0x8000000
jne 0x525a20
test dword [edi + 4], 0x8000000
jne 0x525a20
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x40000
jne 0x525a20
push ecx
push eax
call fcn.004cc570
add esp, 8
mov dword [ebp + 0x30], 0
cmp dword [ebp + 0x30], 0
mov eax, dword [esp + 0x20]
je 0x525a46
test eax, eax
jne 0x525a46
test dword [edi + 4], 0x40000
je 0x525a46
mov edx, dword [esp + 0x18]
cmp dword [edx], 1
je 0x525a99
test byte [edx + 0x74], 0xa
jne 0x525a99
push dword [esp + 0x24]
push eax
push edi
push ebx
call fcn.004cf460
add esp, 0x10
test eax, eax
je 0x525a6a
cmp dword [ebx + 0x24], 0
jne 0x527ccb
or eax, 0xffffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x18], edx
cmp byte [eax + 0x57], 0
jne 0x527ccb
mov eax, dword [esp + 0xf8]
cmp byte [eax], 8
jbe 0x525a99
mov eax, dword [edi + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa0], eax
mov ebp, dword [esp + 0x20]
inc ebp
cmp dword [edi + 0x34], 0
mov dword [esp + 0x20], ebp
je 0x525951
cmp dword [edi + 0x34], 0
je 0x525b25
push dword [esp + 0xf8]
push edi
push ebx
call fcn.004e99d0
add esp, 0xc
mov esi, eax
cmp dword [edi + 0x38], 0
jne 0x525ad4
push ebx
call fcn.005362a0
add esp, 4
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xdc
ret
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x525af1
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push eax
push str.target_object_alias_may_not_appear_in_FROM_clause:__s
push ebx
call fcn.005071d0
add esp, 0xc
jmp 0x527ccb
push dword [eax]
mov eax, dword [esp + 0x3c]
push dword [eax]
movsx eax, word [eax + 0x22]
push eax
push str.expected__d_columns_for__s_but_got__d
push ebx
call fcn.005071d0
add esp, 0x14
jmp 0x527ccb
mov eax, dword [edi + 0x24]
test eax, eax
je 0x525b48
cmp byte [eax], 0x2c
jne 0x525b48
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x8000
jne 0x525b48
push edi
push ebx
call fcn.004f16f0
add esp, 8
mov ebp, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x48], eax
cmp dword [ebp], eax
jle 0x525f59
jmp 0x525b60
lea eax, [eax + eax*8]
lea ebp, [ebp + eax*8]
mov eax, dword [ebp + 0x40]
add ebp, 8
or eax, dword [ebp + 0x3c]
jne 0x525b8d
mov eax, dword [ebp + 8]
test eax, eax
je 0x525b8d
push dword [ebp + 4]
push 0x56dd34
push eax
push 0x14
push ebx
call fcn.004fb9f0
add esp, 0x14
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x525f43
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call fcn.004e3450
mov eax, dword [esp + 0x18]
add esp, 8
add dword [ebx + 0xd8], eax
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x1000
jne 0x525bfb
test byte [ebp + 0x28], 0x80
je 0x525bdd
mov eax, dword [ebp + 0x44]
cmp byte [eax + 0x12], 0
je 0x525bfb
cmp dword [eax], 2
jge 0x525bfb
movzx eax, byte [ebp + 0x24]
shr eax, 5
and eax, 1
push eax
push dword [ebp + 0x2c]
push dword [edi + 0x24]
push dword [esp + 0x3c]
push ebx
call fcn.004f1b60
add esp, 0x14
cmp dword [esp + 0x48], 0
mov eax, dword [ebx + 0xf8]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xf8], eax
jne 0x525d1e
cmp dword [ecx], 1
je 0x525c2c
test byte [ecx + 0x74], 0xa
je 0x525d1e
test byte [ebp + 0x28], 0x80
je 0x525c3f
mov eax, dword [ebp + 0x44]
cmp byte [eax + 0x12], 0
je 0x525d1e
mov edi, dword [esi + 0x74]
mov eax, dword [ebx + 0x2c]
inc edi
push edi
inc eax
push 0
push eax
push 0xd
mov dword [ebx + 0x2c], eax
push esi
mov dword [ebp + 0x1c], eax
call fcn.0052e3e0
mov eax, dword [ebp + 0x1c]
push ebp
push str.CO_ROUTINE___S
push 1
push ebx
mov dword [ebp + 0x18], edi
mov byte [esp + 0x98], 0xd
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
call fcn.00536210
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x58]
push ebx
call fcn.00525770
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
push dword [ebp + 0x1c]
mov eax, dword [esp + 0xb4]
or dword [ebp + 0x28], 0x10
push esi
mov dword [ebp + 0x20], eax
call fcn.0052f490
mov edx, dword [esi + 0x74]
add esp, 0x38
dec edi
jns 0x525cec
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x525cfb
mov eax, 0x784c9c
jmp 0x525d04
mov eax, dword [esi + 0x70]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0xf4]
mov dword [eax + 8], edx
mov byte [ebx + 0x13], 0
mov dword [ebx + 0x1c], 0
jmp 0x525f0b
test byte [ebp + 0x28], 0x80
je 0x525d72
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x10], eax
cmp dword [eax + 4], 0
jle 0x525d72
push dword [eax + 4]
push dword [eax + 8]
push 0xc
push esi
call fcn.0052e380
mov eax, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
je 0x525d61
push ecx
push edx
push 0x71
push esi
call fcn.0052e380
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov ax, word [eax + 0x10]
mov word [ecx + 2], ax
jmp 0x525f0b
push ebp
push ecx
call fcn.004e4d10
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x525dc7
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x525d9e
push ecx
push dword [eax + 0x1c]
push 0xc
push esi
call fcn.0052e380
mov eax, dword [esp + 0x20]
add esp, 0x10
push dword [eax + 0x2c]
push dword [ebp + 0x2c]
push 0x71
push esi
call fcn.0052e380
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
mov ax, word [eax + 2]
mov word [ecx + 2], ax
jmp 0x525f0b
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x2c]
inc eax
push eax
push 0
push 0x47
mov dword [ebx + 0x2c], eax
push esi
mov dword [ebp + 0x1c], eax
call fcn.0052e380
mov dword [esp + 0x24], eax
add esp, 0x10
inc eax
test byte [ebp + 0x28], 8
mov dword [ebp + 0x18], eax
jne 0x525e02
push 0x11
push esi
call fcn.0052e2d0
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x2c]
push ebp
push str.MATERIALIZE___S
push 1
push ebx
mov byte [esp + 0x84], 0xc
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.00536210
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x44]
push ebx
call fcn.00525770
mov eax, dword [esp + 0x4c]
add esp, 0x1c
mov ecx, dword [ebp + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x525e9d
mov edx, dword [esi + 0x74]
jns 0x525e82
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x525e91
mov eax, 0x784c9c
jmp 0x525e9a
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
push dword [ebp + 0x1c]
push 0x43
push esi
call fcn.0052e320
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, eax
test ecx, ecx
jns 0x525eb9
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x525ec8
mov eax, 0x784c9c
jmp 0x525ed1
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov byte [ebx + 0x13], 0
mov dword [ebx + 0x1c], 0
mov eax, dword [ebp + 0x28]
test al, al
jns 0x525f0b
test al, 8
jne 0x525f0b
mov ecx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
mov ax, word [eax + 2]
mov word [ecx + 0x10], ax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x57], 0
jne 0x527ccb
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call fcn.004e3450
mov eax, dword [esp + 0x18]
add esp, 8
sub dword [ebx + 0xd8], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0xf8], eax
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x18]
inc eax
mov dword [esp + 0x48], eax
cmp eax, dword [ebp]
jl 0x525b60
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x48], eax
mov al, byte [edi + 4]
and al, 1
mov dword [esp + 0x60], ecx
mov byte [esp + 0x36], al
mov byte [esp + 0x94], al
mov eax, dword [edi + 4]
and al, 9
cmp al, 1
jne 0x525fce
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push eax
call fcn.0050bde0
add esp, 0xc
test eax, eax
jne 0x525fca
mov ecx, dword [esp + 0x60]
cmp dword [edi + 0x44], eax
jne 0x525fce
and dword [edi + 4], 0xfffffffe
push eax
push ecx
push dword [esp + 0x30]
call fcn.0050be80
mov ecx, eax
add esp, 0xc
or dword [edi + 4], 8
mov dword [esp + 0x2c], ecx
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x52601b
push dword [ecx]
push 0
push eax
push ebx
call fcn.0051a040
mov edx, dword [ebx + 0x28]
push 0xfffffffffffffff7
push eax
mov eax, dword [esp + 0x34]
lea ecx, [edx + 1]
mov dword [esp + 0xc0], edx
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 0x78]
mov eax, dword [eax]
push 0
inc eax
mov ecx, dword [ecx]
add eax, ecx
push eax
push edx
push 0x74
push esi
call fcn.0052e440
add esp, 0x2c
mov dword [esp + 0xb4], eax
jmp 0x526026
mov dword [esp + 0xb4], 0xffffffff
mov ecx, dword [esp + 0xf8]
cmp byte [ecx], 0xc
jne 0x52608b
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x78], ecx
jg 0x526058
push 0
push edx
push eax
push 0x74
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x52608b
mov ebp, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
dec dword [ebx + 0x38]
test dword [edi + 4], 0x4000
mov eax, dword [ebx + 0x38]
mov dword [esp + 0xe8], eax
jne 0x5260aa
mov ecx, 0x140
mov word [edi + 2], cx
push eax
push edi
push ebx
call fcn.004c6160
add esp, 0xc
cmp dword [edi + 8], 0
jne 0x5260e9
mov ecx, dword [esp + 0xb4]
test ecx, ecx
js 0x5260e9
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5260d5
mov eax, 0x784c9c
jmp 0x5260de
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
or byte [esp + 0xc0], 1
mov byte [eax], 0x76
test byte [edi + 4], 1
je 0x526158
mov edi, dword [ebx + 0x28]
push 0xfffffffffffffff7
push 0
push 0
lea eax, [edi + 1]
mov dword [esp + 0xa4], edi
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x100]
push dword [eax + 0x1c]
push ebx
call fcn.0051a040
add esp, 0x10
push eax
push 0
push 0
push edi
push 0x74
push esi
call fcn.0052e440
mov dword [esp + 0xb8], eax
add esp, 0x1c
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x526147
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0xf4]
mov byte [esp + 0x95], 3
jmp 0x526160
mov byte [esp + 0x95], 0
cmp dword [esp + 0x24], 0
jne 0x526392
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x526392
movzx ecx, byte [esp + 0x36]
mov edx, 0x4000
mov ax, word [edi + 4]
neg ecx
sbb ecx, ecx
and ax, dx
and ecx, 0x100
or cx, ax
movzx eax, cx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x10], eax
test eax, eax
je 0x5261b1
push edi
push ebx
call fcn.00541070
add esp, 8
movsx eax, word [edi + 2]
push eax
push dword [esp + 0x18]
push edi
push dword [edi + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x54]
push ebp
push ebx
call fcn.0053cc00
mov ebp, eax
add esp, 0x20
test ebp, ebp
je 0x527ccb
movzx eax, word [ebp + 0x38]
cmp ax, word [edi + 2]
jge 0x5261e8
mov word [edi + 2], ax
cmp byte [esp + 0x36], 0
je 0x5261fd
mov al, byte [ebp + 0x33]
test al, al
je 0x5261fd
mov byte [esp + 0x95], al
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x52623f
test byte [ebp + 0x34], 4
movsx ecx, byte [ebp + 0x31]
mov dword [esp + 0xa4], ecx
jne 0x52621b
mov eax, dword [ebp + 0x20]
jmp 0x526229
movzx eax, byte [ebp + 0x30]
imul eax, eax, 0x58
mov eax, dword [eax + ebp + 0x2b8]
sub ecx, dword [edx]
neg ecx
mov dword [esp + 0xbc], eax
sbb ecx, ecx
and edx, ecx
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0xb4]
test eax, eax
js 0x526258
test edx, edx
jne 0x526258
push eax
push esi
call fcn.0052e9a0
add esp, 8
cmp dword [esp + 0x10], 0
je 0x52635e
mov eax, dword [ebx + 0x38]
inc dword [ebx + 0x2c]
lea ecx, [eax - 1]
sub eax, 2
mov dword [esp + 0x14], eax
dec eax
push ecx
mov dword [esp + 0x14], eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x2c]
push eax
push ebp
push edi
push ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x38], eax
call fcn.00541550
mov ebp, dword [esp + 0x24]
push ebp
push 0
push 0xb
push esi
call fcn.0052e380
mov ecx, dword [esi + 0xc]
add esp, 0x24
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5262c0
push edx
push esi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x5262c9
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
push ebp
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x98]
push ebp
push dword [esp + 0x100]
mov dword [esp + 0xc8], 0
push eax
lea eax, [esp + 0xb0]
push eax
push 0xffffffffffffffff
push edi
push ebx
call fcn.004f7d10
mov ecx, dword [esi + 0xc]
add esp, 0x20
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x526317
push ebp
push esi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x526320
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebp*4], eax
push dword [esp + 0x24]
push 0x43
push esi
call fcn.0052e320
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x526350
push edx
push esi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x527c12
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x527c12
push dword [ebp + 0x24]
lea eax, [esp + 0x98]
push dword [ebp + 0x20]
push dword [esp + 0x100]
push eax
lea eax, [esp + 0xb0]
push eax
push 0xffffffffffffffff
push edi
push ebx
call fcn.004f7d10
push ebp
call fcn.0053f7b0
add esp, 0x24
jmp 0x527c12
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x5c], 0
test ebp, ebp
je 0x526459
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x5263d0
add ecx, 0x1a
xor edx, edx
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], dx
test eax, eax
jg 0x5263c2
mov eax, dword [ebp]
test eax, eax
jle 0x5263ee
lea ecx, [ebp + 0x1a]
lea ebx, [ebx]
xor edx, edx
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], dx
test eax, eax
jg 0x5263e0
cmp word [edi + 2], 0x42
jle 0x5263fe
mov eax, 0x42
mov word [edi + 2], ax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x52645f
mov eax, dword [ebp]
cmp eax, dword [ecx]
jne 0x52645f
xor edx, edx
test eax, eax
jle 0x52643f
mov ebx, dword [esp + 0x2c]
lea ecx, [ebp + 0x10]
mov ebp, dword [esp + 0x1c]
sub ebp, ebx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 0x14]
and al, 1
inc edx
mov byte [ecx - 0x14], al
cmp edx, dword [ebx]
jl 0x526420
mov ebx, dword [esp + 0xf0]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push ebp
call fcn.0050bde0
add esp, 0xc
test eax, eax
jne 0x52645f
mov dword [esp + 0x5c], 1
jmp 0x52645f
xor eax, eax
mov word [edi + 2], ax
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x526486
push 0
push 0x34
push eax
call fcn.00504e90
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x50], ebp
jmp 0x5264e6
cmp dword [0x77f9b8], 0
je 0x5264d5
mov eax, dword [0x784970]
test eax, eax
je 0x5264a2
push eax
call dword [0x77fa08]
add esp, 4
lea eax, [esp + 0x10]
push eax
push 0x34
call fcn.004e8e00
mov eax, dword [0x784970]
add esp, 8
test eax, eax
je 0x5264cb
push eax
call dword [0x77fa10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x54], ebp
jmp 0x5264e3
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x50], ebp
jmp 0x5264e6
push 0x34
call dword [0x77f9d8]
mov ebp, eax
mov dword [esp + 0x54], eax
add esp, 4
test ebp, ebp
je 0x526503
push 0x34
push 0
push ebp
call sub.MSVCRT.dll_memset
push ebp
push 0x4bc130
push ebx
call fcn.0051f350
add esp, 0x18
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x57], 0
jne 0x527ccb
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x30], eax
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xd0], ebp
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x52657d
mov eax, dword [ecx]
jmp 0x52657f
xor eax, eax
push dword [esp + 0x60]
mov dword [ebp + 0xc], eax
lea eax, [esp + 0xcc]
push eax
mov dword [ebp + 0x18], ecx
call fcn.005079d0
push dword [esp + 0x24]
lea eax, [esp + 0xd4]
push eax
call fcn.005079d0
mov ecx, dword [esp + 0x58]
add esp, 0x10
test ecx, ecx
je 0x526667
cmp dword [esp + 0x2c], 0
je 0x52661a
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x4e3300
mov dword [esp + 0x8c], edi
test eax, eax
je 0x526613
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0054e280
mov ecx, dword [esp + 0x50]
add esp, 8
mov eax, dword [edi + 0x24]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x78], 0x4bd1a0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x74]
push ecx
push eax
mov dword [esp + 0x84], 0x53cb10
mov dword [esp + 0x88], 0x53cb00
mov dword [esp + 0x8c], 0
mov dword [esp + 0x7c], 0
call fcn.0054e280
add esp, 8
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x24], eax
cmp dword [edi + 0x28], 0
jne 0x52669e
cmp dword [edi + 0x2c], 0
jne 0x52669e
cmp dword [ebp + 0x2c], 1
jne 0x52669e
lea eax, [esp + 0x90]
push eax
mov eax, dword [ebp + 0x28]
push dword [eax]
push dword [esp + 0x30]
call fcn.004e9340
add esp, 0xc
mov byte [esp + 0x37], al
jmp 0x5266a3
mov byte [esp + 0x37], 0
cmp dword [ebp + 0x2c], 0
jle 0x52677a
mov ecx, dword [esp + 0xe0]
xor edi, edi
xor ebx, ebx
jmp 0x5266c0
mov eax, dword [ebp + 0x28]
or ecx, 0x20000
mov eax, dword [edi + eax]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x14], eax
push dword [eax + 0x14]
lea eax, [esp + 0xcc]
push eax
call fcn.005079d0
mov eax, dword [esp + 0x1c]
add esp, 8
test dword [eax + 4], 0x1000000
je 0x52674b
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x78], 0x4bd1a0
mov dword [esp + 0x7c], 0x53cb10
mov dword [esp + 0x80], 0x53cb00
mov eax, dword [eax + 0x28]
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x74], 0
test eax, eax
je 0x52674b
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0054e280
add esp, 8
mov ecx, dword [esp + 0xe0]
inc ebx
and ecx, 0xfffdffff
add edi, 0x14
mov dword [esp + 0xe0], ecx
cmp ebx, dword [ebp + 0x2c]
jl 0x5266c0
mov ebx, dword [esp + 0xf0]
mov edi, dword [esp + 0xf4]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0x14], eax
cmp byte [ecx + 0x57], 0
jne 0x527cb6
cmp dword [esp + 0x2c], 0
je 0x527676
cmp dword [ebp + 0x2c], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], 0
jne 0x526823
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0xc], 0
jl 0x526823
mov eax, dword [eax]
test eax, eax
je 0x526823
test dword [eax + 4], 0x800
jne 0x526823
mov eax, dword [eax + 0x14]
test eax, eax
je 0x526823
mov eax, dword [eax + 8]
test eax, eax
je 0x5267ed
push 0
push 0
push eax
push ecx
call fcn.004cbd60
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x5267f5
mov dword [esp + 0x10], 0
push 0
push dword [esp + 0x30]
push ecx
call fcn.0050be80
push dword [esp + 0x1c]
push eax
push ebx
call fcn.0050bad0
add esp, 0x18
mov dword [esp + 0x58], eax
neg eax
sbb ecx, ecx
and ecx, 0x500
mov eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp + 4], eax
inc dword [ebx + 0x28]
push dword [ebp + 0x20]
push 0
push dword [esp + 0x34]
push ebx
call fcn.0051a040
mov ecx, dword [esi + 0x74]
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x78], ecx
jg 0x52686f
push 0
push edx
push eax
push 0x76
push esi
call fcn.004e2e80
mov edx, eax
add esp, 0x14
mov dword [esp + 0x10], edx
jmp 0x5268a9
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xf4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov eax, edx
cmp byte [ecx + 0x57], 0
je 0x5268c5
mov edx, dword [esp + 0x64]
push edx
push 0xfffffffffffffff7
push ecx
call fcn.004cfc50
add esp, 0xc
jmp 0x5268fb
test edx, edx
jns 0x5268cd
mov eax, dword [esi + 0x74]
dec eax
mov edx, dword [esp + 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x5268f0
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.00547c80
add esp, 0x10
jmp 0x5268fb
test edx, edx
je 0x5268fb
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [ebx + 0x2c]
mov edx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x38], eax
inc eax
mov dword [esp + 0x3c], eax
lea ecx, [eax + 2]
mov eax, dword [ebx + 0x38]
dec eax
mov dword [ebx + 0x2c], ecx
mov dword [esp + 0x70], eax
dec eax
mov dword [ebx + 0x38], eax
mov dword [esp + 0x1c], ecx
add ecx, dword [edx]
mov dword [esp + 0x6c], eax
mov dword [ebx + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov eax, dword [edx]
add eax, ecx
mov dword [ebx + 0x2c], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52695a
push 0
push dword [esp + 0x40]
push 0
push 0x47
push esi
call fcn.004e2e80
mov edx, dword [esp + 0x40]
add esp, 0x14
jmp 0x526994
mov edi, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0xf4]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edx]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
add edx, eax
cmp dword [esi + 0x78], ecx
jg 0x5269ba
mov eax, dword [esp + 0x1c]
push edx
inc eax
push eax
push 0
push 0x4a
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x5269f5
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0xf0]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
inc ebp
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x526a14
push 0
push dword [esp + 0x70]
push dword [esp + 0x24]
push 0xc
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x526a47
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x5c]
neg eax
push 0
sbb eax, eax
and eax, 0x200
or ax, word [esp + 0x28]
or ax, 0x40
movzx eax, ax
push eax
push 0
push dword [esp + 0x64]
push dword [esp + 0x3c]
push dword [esp + 0x54]
push dword [esp + 0x30]
push ebx
call fcn.0053cc00
mov edx, eax
add esp, 0x20
mov dword [esp + 0x24], edx
test edx, edx
jne 0x526aa6
mov eax, dword [esp + 0x58]
test eax, eax
je 0x527cb2
push eax
push dword [esp + 0x2c]
call fcn.004cc570
add esp, 8
jmp 0x527cb2
movzx eax, byte [edx + 0x33]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
movsx eax, byte [edx + 0x31]
cmp eax, dword [ecx]
jne 0x526ac5
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x526de8
cmp byte [esp + 0x36], 0
je 0x526ad7
test byte [edi + 4], 1
mov eax, str.DISTINCT
je 0x526adc
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00536210
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x40], 1
mov edx, dword [eax]
mov edi, edx
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], edx
test eax, eax
jle 0x526b2b
mov ecx, dword [ebp + 0x1c]
mov ebp, eax
add ecx, 0x12
movsx eax, word [ecx]
cmp eax, edx
jl 0x526b1d
inc edi
inc edx
add ecx, 0x14
dec ebp
jne 0x526b14
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x54], edi
cmp edi, 1
jne 0x526b58
mov al, byte [ebx + 0x13]
test al, al
jne 0x526b43
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x526b82
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x18], eax
jmp 0x526b82
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x18], ecx
cmp edi, edx
jg 0x526b73
lea eax, [edi + ecx]
sub edx, edi
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], edx
jmp 0x526b82
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
add eax, edi
mov dword [esp + 0x18], ecx
mov dword [ebx + 0x2c], eax
push 0
push 0
push dword [esp + 0x20]
push dword [esp + 0x38]
push ebx
call fcn.00507f50
xor edx, edx
add esp, 0x14
mov dword [esp + 0x44], edx
cmp dword [ebp + 0x20], edx
jle 0x526bf4
mov ebx, dword [esp + 0x4c]
xor edi, edi
jmp 0x526bb0
mov ecx, dword [ebp + 0x1c]
add ecx, edi
movsx eax, word [ecx + 0x12]
cmp eax, ebx
jl 0x526bdc
mov eax, dword [esp + 0x18]
add eax, ebx
push eax
movsx eax, word [ecx + 0x10]
push eax
push dword [ecx + 8]
push dword [ecx]
push esi
call fcn.00508370
mov edx, dword [esp + 0x58]
add esp, 0x14
inc ebx
inc edx
add edi, 0x14
mov dword [esp + 0x44], edx
cmp edx, dword [ebp + 0x20]
jl 0x526bb0
mov ebx, dword [esp + 0xf0]
mov edi, dword [esp + 0x54]
mov al, byte [ebx + 0x13]
test al, al
jne 0x526c03
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x526c12
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x44], eax
cmp dword [esi + 0x78], ecx
jg 0x526c35
push eax
push edi
push dword [esp + 0x20]
push 0x60
push esi
call fcn.004e2e80
mov edx, dword [esp + 0x58]
add esp, 0x14
jmp 0x526c64
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov eax, dword [ebp + 4]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x78], ecx
jg 0x526c8b
push 0
push edx
push eax
push 0x8a
push esi
call fcn.004e2e80
mov edx, dword [esp + 0x58]
add esp, 0x14
jmp 0x526cbe
mov ebp, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
je 0x526cd6
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x526cd6
movzx eax, al
mov dword [ebx + eax*4 + 0x98], edx
inc byte [ebx + 0x13]
cmp edi, 1
jne 0x526cf9
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x526d08
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x526d08
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
jmp 0x526d08
cmp edi, dword [ebx + 0x1c]
jle 0x526d08
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], eax
push dword [esp + 0x24]
call fcn.0053f7b0
mov edx, dword [ebx + 0x28]
add esp, 4
mov dword [ebp + 8], edx
mov al, byte [ebx + 0x13]
inc dword [ebx + 0x28]
mov dword [esp + 0x54], edx
test al, al
jne 0x526d30
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x526d3f
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x44], eax
cmp dword [esi + 0x78], ecx
jg 0x526d5b
push edi
push eax
push edx
push 0x78
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x526d8d
mov ebx, dword [esp + 0xf0]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [ebp + 4]
cmp dword [esi + 0x78], ecx
jg 0x526dac
push 0
push dword [esp + 0x34]
push edx
push 0x24
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x526ddb
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x24]
mov eax, 1
mov byte [ebp + 1], 1
cmp dword [esp + 0x5c], 0
je 0x526e44
mov ecx, dword [esp + 0x28]
test byte [ecx + 0x50], 4
jne 0x526e44
test eax, eax
jne 0x526e03
test byte [edx + 0x34], 8
je 0x526e44
mov edx, dword [esi]
mov dword [esp + 0xa0], 0
cmp byte [edx + 0x57], 0
jne 0x526e44
mov eax, dword [esp + 0xb4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
push dword [eax + ecx*4 + 0x10]
lea edi, [eax + ecx*4]
movsx eax, byte [edi + 1]
push eax
push edx
call fcn.004cfc50
add esp, 0xc
mov word [edi], 0xb6
mov dword [edi + 0x10], 0
cmp dword [esp + 0x40], 0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x18], ecx
je 0x526e71
mov edx, dword [ebp + 4]
cmp dword [esi + 0x78], ecx
jg 0x526eb5
push dword [esp + 0x54]
push dword [esp + 0x48]
push edx
push 0x84
push esi
call fcn.004e2e80
add esp, 0x14
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp dword [eax], edi
jle 0x526f48
lea ecx, [eax + 8]
mov dword [esp + 0x5c], ecx
lea ebx, [ebx]
cmp dword [esp + 0x40], 0
je 0x526f16
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x526ee6
mov eax, dword [esp + 0x20]
add eax, edi
push eax
push edi
push edx
push 0x5d
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x526f2c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x526e75
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
jmp 0x526f30
mov eax, dword [esp + 0x20]
add eax, edi
mov byte [ebp], 1
push eax
push dword [ecx]
push ebx
call fcn.00507eb0
add esp, 0xc
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
inc edi
mov ecx, dword [esp + 0x5c]
add ecx, 0x14
mov dword [esp + 0x5c], ecx
cmp edi, dword [eax]
jl 0x526e90
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x526f52
inc dword [ecx]
mov edx, dword [esi + 0x74]
mov edi, dword [eax]
cmp dword [esi + 0x78], edx
jg 0x526f76
mov eax, dword [esp + 0x1c]
push edi
push dword [esp + 0x24]
inc eax
push eax
push 0x59
push esi
call fcn.004e2e80
add esp, 0x14
mov edx, eax
jmp 0x526fb1
mov ebp, dword [esp + 0x1c]
lea eax, [edx + 1]
mov ebx, dword [esp + 0xf0]
lea ecx, [edx + edx*4]
mov dword [esi + 0x74], eax
inc ebp
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x526fcb
mov edx, dword [esp + 0x64]
push edx
push 0xfffffffffffffff7
push eax
call fcn.004cfc50
add esp, 0xc
jmp 0x527001
test edx, edx
jns 0x526fd3
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x64]
je 0x526ff6
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.00547c80
add esp, 0x10
jmp 0x527001
test edx, edx
je 0x527001
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov edi, dword [esi + 0x74]
lea edx, [edi + 1]
cmp dword [esi + 0x78], edi
jg 0x52701d
push edx
push 0
push edx
push 0x10
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x52704c
mov ebp, dword [esp + 0x50]
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edx + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
cmp dword [edx + 0x78], ecx
jg 0x527079
push eax
mov eax, dword [esp + 0x20]
inc eax
push eax
push dword [esp + 0x28]
push 0x4e
push edx
call fcn.004e2e80
add esp, 0x14
jmp 0x5270b4
mov ebx, dword [esp + 0xf0]
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
inc edx
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x5270d5
mov eax, dword [esp + 0x3c]
push 0
push dword [esp + 0x74]
inc eax
push eax
push 0xc
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x52710d
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov ebp, dword [esp + 0x50]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
inc edx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52712c
push 0
push dword [esp + 0x34]
push dword [esp + 0x44]
push 0x31
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x52715f
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52717e
push 0
push dword [esp + 0x70]
push dword [esp + 0x24]
push 0xc
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x5271b1
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
test edi, edi
jns 0x5271bb
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5271ca
mov eax, 0x784c9c
jmp 0x5271d3
mov eax, dword [esi + 0x70]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
push dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
push ebp
push edi
push ebx
mov dword [eax + 8], edx
call fcn.00546100
mov ecx, dword [esi + 0x74]
add esp, 0x10
cmp dword [esi + 0x78], ecx
jg 0x527203
push 0
push edi
push 1
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527232
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x40], 0
je 0x527286
mov ecx, dword [esi + 0x74]
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x527259
push 0
push edi
push edx
push 3
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x5272c5
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 3
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5272c5
push dword [esp + 0x24]
call fcn.0053f7b0
mov edx, dword [esi]
add esp, 4
cmp byte [edx + 0x57], 0
jne 0x5272c5
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
push dword [eax + ecx*4 + 0x10]
lea edi, [eax + ecx*4]
movsx eax, byte [edi + 1]
push eax
push edx
call fcn.004cfc50
add esp, 0xc
mov word [edi], 0xb6
mov dword [edi + 0x10], 0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5272da
push eax
push dword [esp + 0x2c]
call fcn.004cc570
add esp, 8
mov edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x74]
inc edi
cmp dword [esi + 0x78], ecx
jg 0x5272fb
push 0
push dword [esp + 0x74]
push edi
push 0xc
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x52732a
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x527347
push 0
push dword [esp + 0x34]
push 0
push 0xb
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x52737a
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x78], ecx
jg 0x52739b
push 0
push dword [esp + 0x40]
push 1
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x5273ce
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x5273e8
push 0
push 0
push edi
push 0x43
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527417
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x70]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x527435
push edx
push esi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x52743e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edi, dword [esi + 0x74]
lea edx, [edi + 2]
cmp dword [esi + 0x78], edi
jg 0x52745d
push 0
push edx
push dword [esp + 0x40]
push 0x31
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527493
mov ebx, dword [esp + 0x38]
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xf0]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x5274b2
mov eax, dword [esp + 0x3c]
push 0
push 0
inc eax
push eax
push 0x43
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x5274ea
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov ebp, dword [esp + 0x50]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
inc edx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push ebp
push ebx
call fcn.004cd570
push 0x10
inc edi
push edi
push dword [esp + 0x58]
push ebx
call fcn.0050af40
push dword [esp + 0x64]
lea eax, [esp + 0xb0]
push edi
push dword [esp + 0x118]
mov edi, dword [esp + 0x118]
push eax
lea eax, [esp + 0xc8]
push eax
push 0xffffffffffffffff
push edi
push ebx
call fcn.004f7d10
mov ecx, dword [esi + 0x74]
add esp, 0x38
cmp dword [esi + 0x78], ecx
jg 0x52754d
mov eax, dword [esp + 0x3c]
push 0
push 0
inc eax
push eax
push 0x43
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527581
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
inc edx
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x6c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52759f
push edx
push esi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x5275a8
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
push ebp
push ebx
call fcn.004f4d90
mov ecx, dword [esi + 0x74]
add esp, 8
cmp dword [esi + 0x78], ecx
jg 0x5275cf
push 0
push dword [esp + 0x3c]
push 0
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527602
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52761f
push 0
push 0
push dword [esp + 0x24]
push 0x43
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527652
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x52766d
mov eax, dword [ebp + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
push ecx
push ebx
call fcn.004cda80
add esp, 0x10
mov ebp, dword [esp + 0x30]
jmp 0x527bef
cmp dword [edi + 0x24], 0
jne 0x5279df
mov edx, dword [edi + 0x1c]
cmp dword [edx], 1
jne 0x5279df
mov ecx, dword [edi + 0x20]
cmp dword [ecx], 1
jne 0x5279df
cmp dword [ecx + 0x1c], 0
jne 0x5279df
cmp dword [ebp + 0x2c], 1
jne 0x5279df
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x38], ecx
cmp byte [ecx + 0x2b], 0
jne 0x5279df
mov edx, dword [edx + 8]
cmp byte [edx], 0xa8
jne 0x5279df
cmp dword [edx + 0x28], ebp
jne 0x5279df
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x5279df
test dword [edx + 4], 0x1000002
jne 0x5279df
mov ebp, dword [ecx + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x40], edx
test ebp, ebp
je 0x527720
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x40], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ebp
je 0x527720
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ebp
jne 0x527714
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0x28]
xor ebp, ebp
mov dword [esp + 0x20], eax
inc eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x527743
mov eax, ebx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x58], ecx
mov ecx, edx
mov dword [esp + 0x10], 1
shl dword [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
test dword [esp + 0x58], ecx
jne 0x52777d
or dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x54], ecx
cmp edx, 1
jne 0x527782
push eax
call fcn.0051c6f0
add esp, 4
jmp 0x5277aa
cmp edx, 1
je 0x5277aa
mov eax, dword [ebx]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x5277aa
mov ecx, dword [esp + 0x38]
push dword [ecx]
push 0
push dword [ecx + 0x14]
push edx
push ebx
call fcn.004e7b20
add esp, 0x14
mov edx, dword [esp + 0x38]
test byte [edx + 0x1c], 0x80
je 0x5277d0
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x5277d0
jmp 0x5277c0
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x5277d0
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x5277c0
mov eax, dword [edi + 0x20]
test byte [eax + 0x30], 1
jne 0x527809
mov eax, dword [edx + 8]
test eax, eax
je 0x527809
test byte [eax + 0x38], 4
jne 0x527802
movzx ecx, word [eax + 0x30]
cmp cx, word [edx + 0x28]
jge 0x527802
cmp dword [eax + 0x24], 0
jne 0x527802
test ebp, ebp
je 0x527800
cmp cx, word [ebp + 0x30]
jge 0x527802
mov ebp, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5277e0
test ebp, ebp
je 0x527822
mov eax, dword [ebp + 0x2c]
push ebp
push ebx
mov dword [esp + 0x2c], eax
call fcn.0051a0d0
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x78], ecx
jg 0x52784b
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x28]
push edx
push dword [esp + 0x28]
push 0x65
push esi
call fcn.004e2e80
add esp, 0x14
mov ecx, eax
jmp 0x527882
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x65
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x52789d
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov edx, dword [esp + 0x14]
test edx, edx
je 0x5278e5
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5278bb
push edx
push 0xfffffffffffffff7
push eax
call fcn.004cfc50
add esp, 0xc
jmp 0x5278e5
mov eax, dword [esi + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x5278de
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.00547c80
add esp, 0x10
jmp 0x5278e5
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 8]
cmp dword [esi + 0x78], ecx
jg 0x52790b
push 0
push edx
push dword [esp + 0x28]
push 0x61
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527941
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xf4]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52795e
push 0
push 0
push dword [esp + 0x28]
push 0x79
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527991
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebx + 0xcf], 2
jne 0x527bba
mov ecx, dword [esp + 0x38]
test ebp, ebp
je 0x5279bf
test byte [ecx + 0x1c], 0x80
je 0x5279b5
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x5279bf
mov eax, dword [ebp]
mov edx, str._USING_COVERING_INDEX
jmp 0x5279c6
mov eax, 0x56dd34
mov edx, eax
push eax
push edx
push dword [ecx]
push str.SCAN__s_s_s
push 0
push ebx
call fcn.00536210
add esp, 0x18
jmp 0x527bba
cmp dword [ebp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
je 0x527aa1
mov eax, dword [ebp + 0x2c]
xor ecx, ecx
test eax, eax
jle 0x527a3d
mov edi, dword [ebp + 0x28]
xor edx, edx
nop
mov eax, dword [edi + edx]
test dword [eax + 4], 0x1000000
jne 0x527a26
mov eax, dword [edi + edx + 4]
test byte [eax + 4], 0x20
jne 0x527a33
mov eax, dword [ebp + 0x2c]
inc ecx
add edx, 0x14
cmp ecx, eax
jl 0x527a10
jmp 0x527a36
mov eax, dword [ebp + 0x2c]
mov edi, dword [esp + 0xf4]
cmp ecx, eax
jne 0x527ac6
inc dword [ebx + 0x2c]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x10], edx
cmp dword [esi + 0x78], ecx
jg 0x527a69
push 0
push edx
push 0
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527ac6
mov edi, dword [esp + 0xf4]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x527ac6
cmp dword [ebp + 0x2c], 1
jne 0x527ac6
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0xc], 0
jl 0x527ac6
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x24], eax
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x14], eax
push ebp
push ebx
call fcn.004f4d90
mov al, byte [esp + 0x3f]
push 0
movzx eax, al
or ax, word [esp + 0x20]
movzx eax, ax
push eax
push 0
push dword [esp + 0x38]
push dword [esp + 0xa8]
push dword [esp + 0x5c]
push dword [esp + 0x38]
push ebx
call fcn.0053cc00
add esp, 0x28
mov dword [esp + 0x14], eax
test eax, eax
je 0x527cb2
movzx eax, byte [eax + 0x33]
push eax
push ebp
push dword [esp + 0x18]
mov dword [esp + 0x58], eax
push ebx
call fcn.00546100
mov ecx, dword [esp + 0x5c]
add esp, 0x10
test ecx, ecx
je 0x527b3b
mov eax, dword [ebp + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
push ecx
push ebx
call fcn.004cda80
add esp, 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x527b93
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x527b5d
push 0
push edx
push 1
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x527b93
mov edi, dword [esp + 0xf4]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x37], 0
je 0x527ba7
push dword [esp + 0x14]
push esi
call fcn.00540a90
add esp, 8
push dword [esp + 0x14]
call fcn.0053f7b0
push ebp
push ebx
call fcn.004cd570
add esp, 0xc
mov ebp, dword [esp + 0x30]
push 0x10
push ebp
push dword [esp + 0x50]
mov dword [esp + 0xac], 0
push ebx
call fcn.0050af40
push ebp
push ebp
push dword [esp + 0x110]
push 0
push 0
push 0xffffffffffffffff
push edi
push ebx
call fcn.004f7d10
add esp, 0x30
mov ecx, dword [esi + 0xc]
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x527c09
push ebp
push esi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x527c12
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebp*4], eax
cmp byte [esp + 0x95], 3
jne 0x527c31
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00536210
add esp, 0x10
cmp dword [esp + 0xa0], 0
je 0x527c7c
cmp dword [esp + 0xa4], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x527c4f
mov eax, str.ORDER_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00536210
push dword [esp + 0x108]
mov eax, dword [esp + 0x74]
push dword [eax]
lea eax, [esp + 0xb8]
push eax
push edi
push ebx
call fcn.004e0c40
add esp, 0x24
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xe8]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x527c9d
push edx
push esi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x527ca6
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
setg al
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x527ccb
push eax
push ecx
call fcn.004cc570
add esp, 8
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
jne 0x527cec
pop ebp
pop edi
xor eax, eax
mov dword [ebx + 0xdc], eax
mov eax, dword [esp + 0x60]
pop esi
pop ebx
add esp, 0xdc
ret
mov esi, dword [ebx + 8]
test ecx, ecx
jns 0x527cf7
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x527d06
mov eax, 0x784c9c
jmp 0x527d0f
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x70]
lea eax, [ecx + edx*4]
mov eax, dword [eax + 8]
pop ebp
pop edi
mov dword [ebx + 0xdc], eax
mov eax, dword [esp + 0x60]
pop esi
pop ebx
add esp, 0xdc
ret