Function at 0x525570
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 0x5255ba
cmp dword [ebx + 0x74], esi
jne 0x5255af
test byte [eax + 0x50], 8
jne 0x5255af
mov byte [ebx + 0x17], 1
push ebx
call fcn.0052ec00
add esp, 4
mov esi, eax
mov edi, dword [esp + 0xf0]
test edi, edi
je 0x5255e0
cmp dword [ebx + 0x24], 0
jne 0x5255e0
push 0
push 0
push 0
push 0x15
push ebx
call fcn.004fb7f0
add esp, 0x14
test eax, eax
je 0x5255ef
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 0x525628
mov eax, dword [edi + 0x30]
test eax, eax
je 0x52561a
push eax
push 0x50bc60
push ebx
call fcn.0051f150
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.005281f0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x527acb
mov eax, dword [edi + 4]
test eax, 0x800000
je 0x5256b6
mov edx, dword [edi + 0x20]
mov ecx, 1
mov dword [esp + 0x10], ecx
cmp dword [edx], ecx
jle 0x5256ae
mov eax, dword [edx + 0x18]
lea ebp, [edx + 0x5c]
mov dword [esp + 0x48], eax
cmp eax, dword [ebp + 4]
jne 0x525698
mov edx, dword [edx + 0x14]
mov eax, dword [ebp]
test edx, edx
jne 0x525677
neg eax
sbb eax, eax
jmp 0x525689
test eax, eax
je 0x525691
push eax
push edx
call fcn.00529880
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x5258e1
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 0x525662
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0xf8]
and eax, 0xff7fffff
mov dword [edi + 4], eax
cmp byte [ebp], 9
jne 0x5256c6
push edi
push ebx
call fcn.00513ae0
add esp, 8
push edi
push ebx
call fcn.00542f80
add esp, 8
test eax, eax
jne 0x527acb
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 0x5258ac
cmp ebp, dword [edx]
jge 0x5258ac
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 0x5257b8
push dword [eax + 0x2c]
push dword [edi + 0x24]
call fcn.0050b5b0
add esp, 8
test eax, eax
je 0x5257b0
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x2000
jne 0x5257b0
mov eax, dword [esp + 0x14]
push dword [eax + 0x2c]
and byte [eax + 0x24], 0xd7
push dword [edi + 0x24]
call fcn.00545e70
add esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
test ebp, ebp
je 0x525899
mov eax, dword [ebp + 0x1c]
movsx ecx, word [ecx + 0x22]
cmp ecx, dword [eax]
jne 0x525905
mov eax, dword [ebp + 4]
test al, 8
jne 0x525899
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x525820
cmp dword [edi + 0x30], 0
jne 0x5257ec
cmp dword [edx], 1
jle 0x525820
cmp dword [ebp + 0x3c], 0
jne 0x525820
test eax, 0x8000000
jne 0x525820
test dword [edi + 4], 0x8000000
jne 0x525820
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x40000
jne 0x525820
push ecx
push eax
call fcn.004cc370
add esp, 8
mov dword [ebp + 0x30], 0
cmp dword [ebp + 0x30], 0
mov eax, dword [esp + 0x20]
je 0x525846
test eax, eax
jne 0x525846
test dword [edi + 4], 0x40000
je 0x525846
mov edx, dword [esp + 0x18]
cmp dword [edx], 1
je 0x525899
test byte [edx + 0x74], 0xa
jne 0x525899
push dword [esp + 0x24]
push eax
push edi
push ebx
call fcn.004cf260
add esp, 0x10
test eax, eax
je 0x52586a
cmp dword [ebx + 0x24], 0
jne 0x527acb
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 0x527acb
mov eax, dword [esp + 0xf8]
cmp byte [eax], 8
jbe 0x525899
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 0x525751
cmp dword [edi + 0x34], 0
je 0x525925
push dword [esp + 0xf8]
push edi
push ebx
call fcn.004e97d0
add esp, 0xc
mov esi, eax
cmp dword [edi + 0x38], 0
jne 0x5258d4
push ebx
call fcn.005360a0
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 0x5258f1
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.00506fd0
add esp, 0xc
jmp 0x527acb
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.00506fd0
add esp, 0x14
jmp 0x527acb
mov eax, dword [edi + 0x24]
test eax, eax
je 0x525948
cmp byte [eax], 0x2c
jne 0x525948
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x8000
jne 0x525948
push edi
push ebx
call fcn.004f14f0
add esp, 8
mov ebp, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x48], eax
cmp dword [ebp], eax
jle 0x525d59
jmp 0x525960
lea eax, [eax + eax*8]
lea ebp, [ebp + eax*8]
mov eax, dword [ebp + 0x40]
add ebp, 8
or eax, dword [ebp + 0x3c]
jne 0x52598d
mov eax, dword [ebp + 8]
test eax, eax
je 0x52598d
push dword [ebp + 4]
push 0x56dd34
push eax
push 0x14
push ebx
call fcn.004fb7f0
add esp, 0x14
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x525d43
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call fcn.004e3250
mov eax, dword [esp + 0x18]
add esp, 8
add dword [ebx + 0xd8], eax
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x1000
jne 0x5259fb
test byte [ebp + 0x28], 0x80
je 0x5259dd
mov eax, dword [ebp + 0x44]
cmp byte [eax + 0x12], 0
je 0x5259fb
cmp dword [eax], 2
jge 0x5259fb
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.004f1960
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 0x525b1e
cmp dword [ecx], 1
je 0x525a2c
test byte [ecx + 0x74], 0xa
je 0x525b1e
test byte [ebp + 0x28], 0x80
je 0x525a3f
mov eax, dword [ebp + 0x44]
cmp byte [eax + 0x12], 0
je 0x525b1e
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.0052e1e0
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.00536010
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x58]
push ebx
call fcn.00525570
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.0052f290
mov edx, dword [esi + 0x74]
add esp, 0x38
dec edi
jns 0x525aec
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x525afb
mov eax, 0x74c854
jmp 0x525b04
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 0x525d0b
test byte [ebp + 0x28], 0x80
je 0x525b72
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x10], eax
cmp dword [eax + 4], 0
jle 0x525b72
push dword [eax + 4]
push dword [eax + 8]
push 0xc
push esi
call fcn.0052e180
mov eax, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
je 0x525b61
push ecx
push edx
push 0x71
push esi
call fcn.0052e180
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov ax, word [eax + 0x10]
mov word [ecx + 2], ax
jmp 0x525d0b
push ebp
push ecx
call fcn.004e4b10
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x525bc7
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x525b9e
push ecx
push dword [eax + 0x1c]
push 0xc
push esi
call fcn.0052e180
mov eax, dword [esp + 0x20]
add esp, 0x10
push dword [eax + 0x2c]
push dword [ebp + 0x2c]
push 0x71
push esi
call fcn.0052e180
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 0x525d0b
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.0052e180
mov dword [esp + 0x24], eax
add esp, 0x10
inc eax
test byte [ebp + 0x28], 8
mov dword [ebp + 0x18], eax
jne 0x525c02
push 0x11
push esi
call fcn.0052e0d0
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.00536010
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x44]
push ebx
call fcn.00525570
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 0x525c9d
mov edx, dword [esi + 0x74]
jns 0x525c82
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x525c91
mov eax, 0x74c854
jmp 0x525c9a
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.0052e120
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, eax
test ecx, ecx
jns 0x525cb9
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x525cc8
mov eax, 0x74c854
jmp 0x525cd1
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 0x525d0b
test al, 8
jne 0x525d0b
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 0x527acb
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call fcn.004e3250
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 0x525960
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 0x525dce
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push eax
call fcn.0050bbe0
add esp, 0xc
test eax, eax
jne 0x525dca
mov ecx, dword [esp + 0x60]
cmp dword [edi + 0x44], eax
jne 0x525dce
and dword [edi + 4], 0xfffffffe
push eax
push ecx
push dword [esp + 0x30]
call fcn.0050bc80
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 0x525e1b
push dword [ecx]
push 0
push eax
push ebx
call fcn.00519e40
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.0052e240
add esp, 0x2c
mov dword [esp + 0xb4], eax
jmp 0x525e26
mov dword [esp + 0xb4], 0xffffffff
mov ecx, dword [esp + 0xf8]
cmp byte [ecx], 0xc
jne 0x525e8b
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 0x525e58
push 0
push edx
push eax
push 0x74
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x525e8b
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 0x525eaa
mov ecx, 0x140
mov word [edi + 2], cx
push eax
push edi
push ebx
call fcn.004c5f60
add esp, 0xc
cmp dword [edi + 8], 0
jne 0x525ee9
mov ecx, dword [esp + 0xb4]
test ecx, ecx
js 0x525ee9
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x525ed5
mov eax, 0x74c854
jmp 0x525ede
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 0x525f58
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.00519e40
add esp, 0x10
push eax
push 0
push 0
push edi
push 0x74
push esi
call fcn.0052e240
mov dword [esp + 0xb8], eax
add esp, 0x1c
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x525f47
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 0x525f60
mov byte [esp + 0x95], 0
cmp dword [esp + 0x24], 0
jne 0x526192
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x526192
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 0x525fb1
push edi
push ebx
call fcn.00540e70
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.0053ca00
mov ebp, eax
add esp, 0x20
test ebp, ebp
je 0x527acb
movzx eax, word [ebp + 0x38]
cmp ax, word [edi + 2]
jge 0x525fe8
mov word [edi + 2], ax
cmp byte [esp + 0x36], 0
je 0x525ffd
mov al, byte [ebp + 0x33]
test al, al
je 0x525ffd
mov byte [esp + 0x95], al
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x52603f
test byte [ebp + 0x34], 4
movsx ecx, byte [ebp + 0x31]
mov dword [esp + 0xa4], ecx
jne 0x52601b
mov eax, dword [ebp + 0x20]
jmp 0x526029
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 0x526058
test edx, edx
jne 0x526058
push eax
push esi
call fcn.0052e7a0
add esp, 8
cmp dword [esp + 0x10], 0
je 0x52615e
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.00541350
mov ebp, dword [esp + 0x24]
push ebp
push 0
push 0xb
push esi
call fcn.0052e180
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 0x5260c0
push edx
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x5260c9
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.004f7b10
mov ecx, dword [esi + 0xc]
add esp, 0x20
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x526117
push ebp
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x526120
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.0052e120
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 0x526150
push edx
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x527a12
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x527a12
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.004f7b10
push ebp
call fcn.0053f5b0
add esp, 0x24
jmp 0x527a12
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x5c], 0
test ebp, ebp
je 0x526259
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x5261d0
add ecx, 0x1a
xor edx, edx
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], dx
test eax, eax
jg 0x5261c2
mov eax, dword [ebp]
test eax, eax
jle 0x5261ee
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 0x5261e0
cmp word [edi + 2], 0x42
jle 0x5261fe
mov eax, 0x42
mov word [edi + 2], ax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x52625f
mov eax, dword [ebp]
cmp eax, dword [ecx]
jne 0x52625f
xor edx, edx
test eax, eax
jle 0x52623f
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 0x526220
mov ebx, dword [esp + 0xf0]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push ebp
call fcn.0050bbe0
add esp, 0xc
test eax, eax
jne 0x52625f
mov dword [esp + 0x5c], 1
jmp 0x52625f
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 0x526286
push 0
push 0x34
push eax
call fcn.00504c90
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x50], ebp
jmp 0x5262e6
cmp dword [0x7475d8], 0
je 0x5262d5
mov eax, dword [0x74c528]
test eax, eax
je 0x5262a2
push eax
call dword [0x747628]
add esp, 4
lea eax, [esp + 0x10]
push eax
push 0x34
call fcn.004e8c00
mov eax, dword [0x74c528]
add esp, 8
test eax, eax
je 0x5262cb
push eax
call dword [0x747630]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x54], ebp
jmp 0x5262e3
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x50], ebp
jmp 0x5262e6
push 0x34
call dword [0x7475f8]
mov ebp, eax
mov dword [esp + 0x54], eax
add esp, 4
test ebp, ebp
je 0x526303
push 0x34
push 0
push ebp
call sub.MSVCRT.dll_memset
push ebp
push 0x4bbf30
push ebx
call fcn.0051f150
add esp, 0x18
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x57], 0
jne 0x527acb
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 0x52637d
mov eax, dword [ecx]
jmp 0x52637f
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.005077d0
push dword [esp + 0x24]
lea eax, [esp + 0xd4]
push eax
call fcn.005077d0
mov ecx, dword [esp + 0x58]
add esp, 0x10
test ecx, ecx
je 0x526467
cmp dword [esp + 0x2c], 0
je 0x52641a
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], 0x4e3100
mov dword [esp + 0x8c], edi
test eax, eax
je 0x526413
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0054e080
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], 0x4bcfa0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x74]
push ecx
push eax
mov dword [esp + 0x84], 0x53c910
mov dword [esp + 0x88], 0x53c900
mov dword [esp + 0x8c], 0
mov dword [esp + 0x7c], 0
call fcn.0054e080
add esp, 8
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x24], eax
cmp dword [edi + 0x28], 0
jne 0x52649e
cmp dword [edi + 0x2c], 0
jne 0x52649e
cmp dword [ebp + 0x2c], 1
jne 0x52649e
lea eax, [esp + 0x90]
push eax
mov eax, dword [ebp + 0x28]
push dword [eax]
push dword [esp + 0x30]
call fcn.004e9140
add esp, 0xc
mov byte [esp + 0x37], al
jmp 0x5264a3
mov byte [esp + 0x37], 0
cmp dword [ebp + 0x2c], 0
jle 0x52657a
mov ecx, dword [esp + 0xe0]
xor edi, edi
xor ebx, ebx
jmp 0x5264c0
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.005077d0
mov eax, dword [esp + 0x1c]
add esp, 8
test dword [eax + 4], 0x1000000
je 0x52654b
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x78], 0x4bcfa0
mov dword [esp + 0x7c], 0x53c910
mov dword [esp + 0x80], 0x53c900
mov eax, dword [eax + 0x28]
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x74], 0
test eax, eax
je 0x52654b
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0054e080
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 0x5264c0
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 0x527ab6
cmp dword [esp + 0x2c], 0
je 0x527476
cmp dword [ebp + 0x2c], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], 0
jne 0x526623
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0xc], 0
jl 0x526623
mov eax, dword [eax]
test eax, eax
je 0x526623
test dword [eax + 4], 0x800
jne 0x526623
mov eax, dword [eax + 0x14]
test eax, eax
je 0x526623
mov eax, dword [eax + 8]
test eax, eax
je 0x5265ed
push 0
push 0
push eax
push ecx
call fcn.004cbb60
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x5265f5
mov dword [esp + 0x10], 0
push 0
push dword [esp + 0x30]
push ecx
call fcn.0050bc80
push dword [esp + 0x1c]
push eax
push ebx
call fcn.0050b8d0
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.00519e40
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 0x52666f
push 0
push edx
push eax
push 0x76
push esi
call fcn.004e2c80
mov edx, eax
add esp, 0x14
mov dword [esp + 0x10], edx
jmp 0x5266a9
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 0x5266c5
mov edx, dword [esp + 0x64]
push edx
push 0xfffffffffffffff7
push ecx
call fcn.004cfa50
add esp, 0xc
jmp 0x5266fb
test edx, edx
jns 0x5266cd
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 0x5266f0
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.00547a80
add esp, 0x10
jmp 0x5266fb
test edx, edx
je 0x5266fb
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 0x52675a
push 0
push dword [esp + 0x40]
push 0
push 0x47
push esi
call fcn.004e2c80
mov edx, dword [esp + 0x40]
add esp, 0x14
jmp 0x526794
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 0x5267ba
mov eax, dword [esp + 0x1c]
push edx
inc eax
push eax
push 0
push 0x4a
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x5267f5
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 0x526814
push 0
push dword [esp + 0x70]
push dword [esp + 0x24]
push 0xc
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x526847
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.0053ca00
mov edx, eax
add esp, 0x20
mov dword [esp + 0x24], edx
test edx, edx
jne 0x5268a6
mov eax, dword [esp + 0x58]
test eax, eax
je 0x527ab2
push eax
push dword [esp + 0x2c]
call fcn.004cc370
add esp, 8
jmp 0x527ab2
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 0x5268c5
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x526be8
cmp byte [esp + 0x36], 0
je 0x5268d7
test byte [edi + 4], 1
mov eax, str.DISTINCT
je 0x5268dc
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00536010
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 0x52692b
mov ecx, dword [ebp + 0x1c]
mov ebp, eax
add ecx, 0x12
movsx eax, word [ecx]
cmp eax, edx
jl 0x52691d
inc edi
inc edx
add ecx, 0x14
dec ebp
jne 0x526914
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x54], edi
cmp edi, 1
jne 0x526958
mov al, byte [ebx + 0x13]
test al, al
jne 0x526943
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x526982
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x18], eax
jmp 0x526982
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x18], ecx
cmp edi, edx
jg 0x526973
lea eax, [edi + ecx]
sub edx, edi
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], edx
jmp 0x526982
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.00507d50
xor edx, edx
add esp, 0x14
mov dword [esp + 0x44], edx
cmp dword [ebp + 0x20], edx
jle 0x5269f4
mov ebx, dword [esp + 0x4c]
xor edi, edi
jmp 0x5269b0
mov ecx, dword [ebp + 0x1c]
add ecx, edi
movsx eax, word [ecx + 0x12]
cmp eax, ebx
jl 0x5269dc
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.00508170
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 0x5269b0
mov ebx, dword [esp + 0xf0]
mov edi, dword [esp + 0x54]
mov al, byte [ebx + 0x13]
test al, al
jne 0x526a03
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x526a12
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 0x526a35
push eax
push edi
push dword [esp + 0x20]
push 0x60
push esi
call fcn.004e2c80
mov edx, dword [esp + 0x58]
add esp, 0x14
jmp 0x526a64
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 0x526a8b
push 0
push edx
push eax
push 0x8a
push esi
call fcn.004e2c80
mov edx, dword [esp + 0x58]
add esp, 0x14
jmp 0x526abe
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 0x526ad6
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x526ad6
movzx eax, al
mov dword [ebx + eax*4 + 0x98], edx
inc byte [ebx + 0x13]
cmp edi, 1
jne 0x526af9
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x526b08
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x526b08
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
jmp 0x526b08
cmp edi, dword [ebx + 0x1c]
jle 0x526b08
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], eax
push dword [esp + 0x24]
call fcn.0053f5b0
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 0x526b30
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x526b3f
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 0x526b5b
push edi
push eax
push edx
push 0x78
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x526b8d
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 0x526bac
push 0
push dword [esp + 0x34]
push edx
push 0x24
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x526bdb
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 0x526c44
mov ecx, dword [esp + 0x28]
test byte [ecx + 0x50], 4
jne 0x526c44
test eax, eax
jne 0x526c03
test byte [edx + 0x34], 8
je 0x526c44
mov edx, dword [esi]
mov dword [esp + 0xa0], 0
cmp byte [edx + 0x57], 0
jne 0x526c44
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.004cfa50
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 0x526c71
mov edx, dword [ebp + 4]
cmp dword [esi + 0x78], ecx
jg 0x526cb5
push dword [esp + 0x54]
push dword [esp + 0x48]
push edx
push 0x84
push esi
call fcn.004e2c80
add esp, 0x14
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp dword [eax], edi
jle 0x526d48
lea ecx, [eax + 8]
mov dword [esp + 0x5c], ecx
lea ebx, [ebx]
cmp dword [esp + 0x40], 0
je 0x526d16
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x526ce6
mov eax, dword [esp + 0x20]
add eax, edi
push eax
push edi
push edx
push 0x5d
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x526d2c
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 0x526c75
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 0x526d30
mov eax, dword [esp + 0x20]
add eax, edi
mov byte [ebp], 1
push eax
push dword [ecx]
push ebx
call fcn.00507cb0
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 0x526c90
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x526d52
inc dword [ecx]
mov edx, dword [esi + 0x74]
mov edi, dword [eax]
cmp dword [esi + 0x78], edx
jg 0x526d76
mov eax, dword [esp + 0x1c]
push edi
push dword [esp + 0x24]
inc eax
push eax
push 0x59
push esi
call fcn.004e2c80
add esp, 0x14
mov edx, eax
jmp 0x526db1
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 0x526dcb
mov edx, dword [esp + 0x64]
push edx
push 0xfffffffffffffff7
push eax
call fcn.004cfa50
add esp, 0xc
jmp 0x526e01
test edx, edx
jns 0x526dd3
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 0x526df6
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.00547a80
add esp, 0x10
jmp 0x526e01
test edx, edx
je 0x526e01
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 0x526e1d
push edx
push 0
push edx
push 0x10
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x526e4c
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 0x526e79
push eax
mov eax, dword [esp + 0x20]
inc eax
push eax
push dword [esp + 0x28]
push 0x4e
push edx
call fcn.004e2c80
add esp, 0x14
jmp 0x526eb4
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 0x526ed5
mov eax, dword [esp + 0x3c]
push 0
push dword [esp + 0x74]
inc eax
push eax
push 0xc
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x526f0d
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 0x526f2c
push 0
push dword [esp + 0x34]
push dword [esp + 0x44]
push 0x31
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x526f5f
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 0x526f7e
push 0
push dword [esp + 0x70]
push dword [esp + 0x24]
push 0xc
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x526fb1
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 0x526fbb
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x526fca
mov eax, 0x74c854
jmp 0x526fd3
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.00545f00
mov ecx, dword [esi + 0x74]
add esp, 0x10
cmp dword [esi + 0x78], ecx
jg 0x527003
push 0
push edi
push 1
push 0x47
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527032
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 0x527086
mov ecx, dword [esi + 0x74]
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x527059
push 0
push edi
push edx
push 3
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x5270c5
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 0x5270c5
push dword [esp + 0x24]
call fcn.0053f5b0
mov edx, dword [esi]
add esp, 4
cmp byte [edx + 0x57], 0
jne 0x5270c5
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.004cfa50
add esp, 0xc
mov word [edi], 0xb6
mov dword [edi + 0x10], 0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5270da
push eax
push dword [esp + 0x2c]
call fcn.004cc370
add esp, 8
mov edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x74]
inc edi
cmp dword [esi + 0x78], ecx
jg 0x5270fb
push 0
push dword [esp + 0x74]
push edi
push 0xc
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x52712a
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 0x527147
push 0
push dword [esp + 0x34]
push 0
push 0xb
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x52717a
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 0x52719b
push 0
push dword [esp + 0x40]
push 1
push 0x47
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x5271ce
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 0x5271e8
push 0
push 0
push edi
push 0x43
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527217
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 0x527235
push edx
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x52723e
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 0x52725d
push 0
push edx
push dword [esp + 0x40]
push 0x31
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527293
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 0x5272b2
mov eax, dword [esp + 0x3c]
push 0
push 0
inc eax
push eax
push 0x43
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x5272ea
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.004cd370
push 0x10
inc edi
push edi
push dword [esp + 0x58]
push ebx
call fcn.0050ad40
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.004f7b10
mov ecx, dword [esi + 0x74]
add esp, 0x38
cmp dword [esi + 0x78], ecx
jg 0x52734d
mov eax, dword [esp + 0x3c]
push 0
push 0
inc eax
push eax
push 0x43
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527381
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 0x52739f
push edx
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x5273a8
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
push ebp
push ebx
call fcn.004f4b90
mov ecx, dword [esi + 0x74]
add esp, 8
cmp dword [esi + 0x78], ecx
jg 0x5273cf
push 0
push dword [esp + 0x3c]
push 0
push 0x47
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527402
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 0x52741f
push 0
push 0
push dword [esp + 0x24]
push 0x43
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527452
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 0x52746d
mov eax, dword [ebp + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
push ecx
push ebx
call fcn.004cd880
add esp, 0x10
mov ebp, dword [esp + 0x30]
jmp 0x5279ef
cmp dword [edi + 0x24], 0
jne 0x5277df
mov edx, dword [edi + 0x1c]
cmp dword [edx], 1
jne 0x5277df
mov ecx, dword [edi + 0x20]
cmp dword [ecx], 1
jne 0x5277df
cmp dword [ecx + 0x1c], 0
jne 0x5277df
cmp dword [ebp + 0x2c], 1
jne 0x5277df
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x38], ecx
cmp byte [ecx + 0x2b], 0
jne 0x5277df
mov edx, dword [edx + 8]
cmp byte [edx], 0xa8
jne 0x5277df
cmp dword [edx + 0x28], ebp
jne 0x5277df
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x5277df
test dword [edx + 4], 0x1000002
jne 0x5277df
mov ebp, dword [ecx + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x40], edx
test ebp, ebp
je 0x527520
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 0x527520
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ebp
jne 0x527514
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 0x527543
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 0x52757d
or dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x54], ecx
cmp edx, 1
jne 0x527582
push eax
call fcn.0051c4f0
add esp, 4
jmp 0x5275aa
cmp edx, 1
je 0x5275aa
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 0x5275aa
mov ecx, dword [esp + 0x38]
push dword [ecx]
push 0
push dword [ecx + 0x14]
push edx
push ebx
call fcn.004e7920
add esp, 0x14
mov edx, dword [esp + 0x38]
test byte [edx + 0x1c], 0x80
je 0x5275d0
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x5275d0
jmp 0x5275c0
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x5275d0
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x5275c0
mov eax, dword [edi + 0x20]
test byte [eax + 0x30], 1
jne 0x527609
mov eax, dword [edx + 8]
test eax, eax
je 0x527609
test byte [eax + 0x38], 4
jne 0x527602
movzx ecx, word [eax + 0x30]
cmp cx, word [edx + 0x28]
jge 0x527602
cmp dword [eax + 0x24], 0
jne 0x527602
test ebp, ebp
je 0x527600
cmp cx, word [ebp + 0x30]
jge 0x527602
mov ebp, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5275e0
test ebp, ebp
je 0x527622
mov eax, dword [ebp + 0x2c]
push ebp
push ebx
mov dword [esp + 0x2c], eax
call fcn.00519ed0
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x78], ecx
jg 0x52764b
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x28]
push edx
push dword [esp + 0x28]
push 0x65
push esi
call fcn.004e2c80
add esp, 0x14
mov ecx, eax
jmp 0x527682
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 0x52769d
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 0x5276e5
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5276bb
push edx
push 0xfffffffffffffff7
push eax
call fcn.004cfa50
add esp, 0xc
jmp 0x5276e5
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 0x5276de
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.00547a80
add esp, 0x10
jmp 0x5276e5
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 0x52770b
push 0
push edx
push dword [esp + 0x28]
push 0x61
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527741
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 0x52775e
push 0
push 0
push dword [esp + 0x28]
push 0x79
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527791
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 0x5279ba
mov ecx, dword [esp + 0x38]
test ebp, ebp
je 0x5277bf
test byte [ecx + 0x1c], 0x80
je 0x5277b5
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x5277bf
mov eax, dword [ebp]
mov edx, str._USING_COVERING_INDEX
jmp 0x5277c6
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.00536010
add esp, 0x18
jmp 0x5279ba
cmp dword [ebp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
je 0x5278a1
mov eax, dword [ebp + 0x2c]
xor ecx, ecx
test eax, eax
jle 0x52783d
mov edi, dword [ebp + 0x28]
xor edx, edx
nop
mov eax, dword [edi + edx]
test dword [eax + 4], 0x1000000
jne 0x527826
mov eax, dword [edi + edx + 4]
test byte [eax + 4], 0x20
jne 0x527833
mov eax, dword [ebp + 0x2c]
inc ecx
add edx, 0x14
cmp ecx, eax
jl 0x527810
jmp 0x527836
mov eax, dword [ebp + 0x2c]
mov edi, dword [esp + 0xf4]
cmp ecx, eax
jne 0x5278c6
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 0x527869
push 0
push edx
push 0
push 0x47
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x5278c6
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 0x5278c6
cmp dword [ebp + 0x2c], 1
jne 0x5278c6
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0xc], 0
jl 0x5278c6
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.004f4b90
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.0053ca00
add esp, 0x28
mov dword [esp + 0x14], eax
test eax, eax
je 0x527ab2
movzx eax, byte [eax + 0x33]
push eax
push ebp
push dword [esp + 0x18]
mov dword [esp + 0x58], eax
push ebx
call fcn.00545f00
mov ecx, dword [esp + 0x5c]
add esp, 0x10
test ecx, ecx
je 0x52793b
mov eax, dword [ebp + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
push ecx
push ebx
call fcn.004cd880
add esp, 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x527993
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x52795d
push 0
push edx
push 1
push 0x47
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x527993
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 0x5279a7
push dword [esp + 0x14]
push esi
call fcn.00540890
add esp, 8
push dword [esp + 0x14]
call fcn.0053f5b0
push ebp
push ebx
call fcn.004cd370
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.0050ad40
push ebp
push ebp
push dword [esp + 0x110]
push 0
push 0
push 0xffffffffffffffff
push edi
push ebx
call fcn.004f7b10
add esp, 0x30
mov ecx, dword [esi + 0xc]
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x527a09
push ebp
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x527a12
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebp*4], eax
cmp byte [esp + 0x95], 3
jne 0x527a31
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00536010
add esp, 0x10
cmp dword [esp + 0xa0], 0
je 0x527a7c
cmp dword [esp + 0xa4], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x527a4f
mov eax, str.ORDER_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00536010
push dword [esp + 0x108]
mov eax, dword [esp + 0x74]
push dword [eax]
lea eax, [esp + 0xb8]
push eax
push edi
push ebx
call fcn.004e0a40
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 0x527a9d
push edx
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x527aa6
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 0x527acb
push eax
push ecx
call fcn.004cc370
add esp, 8
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
jne 0x527aec
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 0x527af7
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x527b06
mov eax, 0x74c854
jmp 0x527b0f
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