Function at 0x558140
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 0x55818a
cmp dword [ebx + 0x74], esi
jne 0x55817f
test byte [eax + 0x50], 8
jne 0x55817f
mov byte [ebx + 0x17], 1
push ebx
call fcn.005617d0
add esp, 4
mov esi, eax
mov edi, dword [esp + 0xf0]
test edi, edi
je 0x5581b0
cmp dword [ebx + 0x24], 0
jne 0x5581b0
push 0
push 0
push 0
push 0x15
push ebx
call fcn.0052e3c0
add esp, 0x14
test eax, eax
je 0x5581bf
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 0x5581f8
mov eax, dword [edi + 0x30]
test eax, eax
je 0x5581ea
push eax
push 0x53e830
push ebx
call fcn.00551d20
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.0055adc0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x55a69b
mov eax, dword [edi + 4]
test eax, 0x800000
je 0x558286
mov edx, dword [edi + 0x20]
mov ecx, 1
mov dword [esp + 0x10], ecx
cmp dword [edx], ecx
jle 0x55827e
mov eax, dword [edx + 0x18]
lea ebp, [edx + 0x5c]
mov dword [esp + 0x48], eax
cmp eax, dword [ebp + 4]
jne 0x558268
mov edx, dword [edx + 0x14]
mov eax, dword [ebp]
test edx, edx
jne 0x558247
neg eax
sbb eax, eax
jmp 0x558259
test eax, eax
je 0x558261
push eax
push edx
call fcn.0055c450
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x5584b1
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 0x558232
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0xf8]
and eax, 0xff7fffff
mov dword [edi + 4], eax
cmp byte [ebp], 9
jne 0x558296
push edi
push ebx
call fcn.005466b0
add esp, 8
push edi
push ebx
call fcn.00575b50
add esp, 8
test eax, eax
jne 0x55a69b
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 0x55847c
cmp ebp, dword [edx]
jge 0x55847c
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 0x558388
push dword [eax + 0x2c]
push dword [edi + 0x24]
call fcn.0053e180
add esp, 8
test eax, eax
je 0x558380
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x2000
jne 0x558380
mov eax, dword [esp + 0x14]
push dword [eax + 0x2c]
and byte [eax + 0x24], 0xd7
push dword [edi + 0x24]
call fcn.00578a40
add esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
test ebp, ebp
je 0x558469
mov eax, dword [ebp + 0x1c]
movsx ecx, word [ecx + 0x22]
cmp ecx, dword [eax]
jne 0x5584d5
mov eax, dword [ebp + 4]
test al, 8
jne 0x558469
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x5583f0
cmp dword [edi + 0x30], 0
jne 0x5583bc
cmp dword [edx], 1
jle 0x5583f0
cmp dword [ebp + 0x3c], 0
jne 0x5583f0
test eax, 0x8000000
jne 0x5583f0
test dword [edi + 4], 0x8000000
jne 0x5583f0
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x40000
jne 0x5583f0
push ecx
push eax
call fcn.004fef40
add esp, 8
mov dword [ebp + 0x30], 0
cmp dword [ebp + 0x30], 0
mov eax, dword [esp + 0x20]
je 0x558416
test eax, eax
jne 0x558416
test dword [edi + 4], 0x40000
je 0x558416
mov edx, dword [esp + 0x18]
cmp dword [edx], 1
je 0x558469
test byte [edx + 0x74], 0xa
jne 0x558469
push dword [esp + 0x24]
push eax
push edi
push ebx
call fcn.00501e30
add esp, 0x10
test eax, eax
je 0x55843a
cmp dword [ebx + 0x24], 0
jne 0x55a69b
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 0x55a69b
mov eax, dword [esp + 0xf8]
cmp byte [eax], 8
jbe 0x558469
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 0x558321
cmp dword [edi + 0x34], 0
je 0x5584f5
push dword [esp + 0xf8]
push edi
push ebx
call fcn.0051c3a0
add esp, 0xc
mov esi, eax
cmp dword [edi + 0x38], 0
jne 0x5584a4
push ebx
call fcn.00568c70
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 0x5584c1
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.00539ba0
add esp, 0xc
jmp 0x55a69b
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.00539ba0
add esp, 0x14
jmp 0x55a69b
mov eax, dword [edi + 0x24]
test eax, eax
je 0x558518
cmp byte [eax], 0x2c
jne 0x558518
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x8000
jne 0x558518
push edi
push ebx
call fcn.005240c0
add esp, 8
mov ebp, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x48], eax
cmp dword [ebp], eax
jle 0x558929
jmp 0x558530
lea eax, [eax + eax*8]
lea ebp, [ebp + eax*8]
mov eax, dword [ebp + 0x40]
add ebp, 8
or eax, dword [ebp + 0x3c]
jne 0x55855d
mov eax, dword [ebp + 8]
test eax, eax
je 0x55855d
push dword [ebp + 4]
push section..rdata
push eax
push 0x14
push ebx
call fcn.0052e3c0
add esp, 0x14
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x558913
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call fcn.00515e20
mov eax, dword [esp + 0x18]
add esp, 8
add dword [ebx + 0xd8], eax
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x1000
jne 0x5585cb
test byte [ebp + 0x28], 0x80
je 0x5585ad
mov eax, dword [ebp + 0x44]
cmp byte [eax + 0x12], 0
je 0x5585cb
cmp dword [eax], 2
jge 0x5585cb
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.00524530
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 0x5586ee
cmp dword [ecx], 1
je 0x5585fc
test byte [ecx + 0x74], 0xa
je 0x5586ee
test byte [ebp + 0x28], 0x80
je 0x55860f
mov eax, dword [ebp + 0x44]
cmp byte [eax + 0x12], 0
je 0x5586ee
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.00560db0
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.00568be0
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x58]
push ebx
call fcn.00558140
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.00561e60
mov edx, dword [esi + 0x74]
add esp, 0x38
dec edi
jns 0x5586bc
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5586cb
mov eax, 0x973eec
jmp 0x5586d4
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 0x5588db
test byte [ebp + 0x28], 0x80
je 0x558742
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x10], eax
cmp dword [eax + 4], 0
jle 0x558742
push dword [eax + 4]
push dword [eax + 8]
push 0xc
push esi
call fcn.00560d50
mov eax, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
je 0x558731
push ecx
push edx
push 0x71
push esi
call fcn.00560d50
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov ax, word [eax + 0x10]
mov word [ecx + 2], ax
jmp 0x5588db
push ebp
push ecx
call fcn.005176e0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x558797
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x55876e
push ecx
push dword [eax + 0x1c]
push 0xc
push esi
call fcn.00560d50
mov eax, dword [esp + 0x20]
add esp, 0x10
push dword [eax + 0x2c]
push dword [ebp + 0x2c]
push 0x71
push esi
call fcn.00560d50
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 0x5588db
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.00560d50
mov dword [esp + 0x24], eax
add esp, 0x10
inc eax
test byte [ebp + 0x28], 8
mov dword [ebp + 0x18], eax
jne 0x5587d2
push 0x11
push esi
call fcn.00560ca0
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.00568be0
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x44]
push ebx
call fcn.00558140
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 0x55886d
mov edx, dword [esi + 0x74]
jns 0x558852
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x558861
mov eax, 0x973eec
jmp 0x55886a
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.00560cf0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, eax
test ecx, ecx
jns 0x558889
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x558898
mov eax, 0x973eec
jmp 0x5588a1
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 0x5588db
test al, 8
jne 0x5588db
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 0x55a69b
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call fcn.00515e20
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 0x558530
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 0x55899e
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push eax
call fcn.0053e7b0
add esp, 0xc
test eax, eax
jne 0x55899a
mov ecx, dword [esp + 0x60]
cmp dword [edi + 0x44], eax
jne 0x55899e
and dword [edi + 4], 0xfffffffe
push eax
push ecx
push dword [esp + 0x30]
call fcn.0053e850
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 0x5589eb
push dword [ecx]
push 0
push eax
push ebx
call fcn.0054ca10
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.00560e10
add esp, 0x2c
mov dword [esp + 0xb4], eax
jmp 0x5589f6
mov dword [esp + 0xb4], 0xffffffff
mov ecx, dword [esp + 0xf8]
cmp byte [ecx], 0xc
jne 0x558a5b
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 0x558a28
push 0
push edx
push eax
push 0x74
push esi
call fcn.00515850
add esp, 0x14
jmp 0x558a5b
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 0x558a7a
mov ecx, 0x140
mov word [edi + 2], cx
push eax
push edi
push ebx
call fcn.004f8b30
add esp, 0xc
cmp dword [edi + 8], 0
jne 0x558ab9
mov ecx, dword [esp + 0xb4]
test ecx, ecx
js 0x558ab9
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x558aa5
mov eax, 0x973eec
jmp 0x558aae
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 0x558b28
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.0054ca10
add esp, 0x10
push eax
push 0
push 0
push edi
push 0x74
push esi
call fcn.00560e10
mov dword [esp + 0xb8], eax
add esp, 0x1c
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x558b17
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 0x558b30
mov byte [esp + 0x95], 0
cmp dword [esp + 0x24], 0
jne 0x558d62
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x558d62
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 0x558b81
push edi
push ebx
call fcn.00573a40
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.0056f5d0
mov ebp, eax
add esp, 0x20
test ebp, ebp
je 0x55a69b
movzx eax, word [ebp + 0x38]
cmp ax, word [edi + 2]
jge 0x558bb8
mov word [edi + 2], ax
cmp byte [esp + 0x36], 0
je 0x558bcd
mov al, byte [ebp + 0x33]
test al, al
je 0x558bcd
mov byte [esp + 0x95], al
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x558c0f
test byte [ebp + 0x34], 4
movsx ecx, byte [ebp + 0x31]
mov dword [esp + 0xa4], ecx
jne 0x558beb
mov eax, dword [ebp + 0x20]
jmp 0x558bf9
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 0x558c28
test edx, edx
jne 0x558c28
push eax
push esi
call fcn.00561370
add esp, 8
cmp dword [esp + 0x10], 0
je 0x558d2e
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.00573f20
mov ebp, dword [esp + 0x24]
push ebp
push 0
push 0xb
push esi
call fcn.00560d50
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 0x558c90
push edx
push esi
push ecx
call fcn.005278f0
add esp, 0xc
jmp 0x558c99
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.0052a6e0
mov ecx, dword [esi + 0xc]
add esp, 0x20
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x558ce7
push ebp
push esi
push ecx
call fcn.005278f0
add esp, 0xc
jmp 0x558cf0
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.00560cf0
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 0x558d20
push edx
push esi
push ecx
call fcn.005278f0
add esp, 0xc
jmp 0x55a5e2
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x55a5e2
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.0052a6e0
push ebp
call fcn.00572180
add esp, 0x24
jmp 0x55a5e2
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x5c], 0
test ebp, ebp
je 0x558e29
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x558da0
add ecx, 0x1a
xor edx, edx
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], dx
test eax, eax
jg 0x558d92
mov eax, dword [ebp]
test eax, eax
jle 0x558dbe
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 0x558db0
cmp word [edi + 2], 0x42
jle 0x558dce
mov eax, 0x42
mov word [edi + 2], ax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x558e2f
mov eax, dword [ebp]
cmp eax, dword [ecx]
jne 0x558e2f
xor edx, edx
test eax, eax
jle 0x558e0f
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 0x558df0
mov ebx, dword [esp + 0xf0]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push ebp
call fcn.0053e7b0
add esp, 0xc
test eax, eax
jne 0x558e2f
mov dword [esp + 0x5c], 1
jmp 0x558e2f
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 0x558e56
push 0
push 0x34
push eax
call fcn.00537860
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x50], ebp
jmp 0x558eb6
cmp dword [0x8f4e38], 0
je 0x558ea5
mov eax, dword [0x973bc0]
test eax, eax
je 0x558e72
push eax
call dword [0x8f4e88]
add esp, 4
lea eax, [esp + 0x10]
push eax
push 0x34
call fcn.0051b7d0
mov eax, dword [0x973bc0]
add esp, 8
test eax, eax
je 0x558e9b
push eax
call dword [0x8f4e90]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x54], ebp
jmp 0x558eb3
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x50], ebp
jmp 0x558eb6
push 0x34
call dword [0x8f4e58]
mov ebp, eax
mov dword [esp + 0x54], eax
add esp, 4
test ebp, ebp
je 0x558ed3
push 0x34
push 0
push ebp
call sub.MSVCRT.dll_memset
push ebp
push 0x4eeb00
push ebx
call fcn.00551d20
add esp, 0x18
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x57], 0
jne 0x55a69b
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 0x558f4d
mov eax, dword [ecx]
jmp 0x558f4f
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.0053a3a0
push dword [esp + 0x24]
lea eax, [esp + 0xd4]
push eax
call fcn.0053a3a0
mov ecx, dword [esp + 0x58]
add esp, 0x10
test ecx, ecx
je 0x559037
cmp dword [esp + 0x2c], 0
je 0x558fea
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], 0x515cd0
mov dword [esp + 0x8c], edi
test eax, eax
je 0x558fe3
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00580c50
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], 0x4efb70
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x74]
push ecx
push eax
mov dword [esp + 0x84], 0x56f4e0
mov dword [esp + 0x88], 0x56f4d0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x7c], 0
call fcn.00580c50
add esp, 8
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x24], eax
cmp dword [edi + 0x28], 0
jne 0x55906e
cmp dword [edi + 0x2c], 0
jne 0x55906e
cmp dword [ebp + 0x2c], 1
jne 0x55906e
lea eax, [esp + 0x90]
push eax
mov eax, dword [ebp + 0x28]
push dword [eax]
push dword [esp + 0x30]
call fcn.0051bd10
add esp, 0xc
mov byte [esp + 0x37], al
jmp 0x559073
mov byte [esp + 0x37], 0
cmp dword [ebp + 0x2c], 0
jle 0x55914a
mov ecx, dword [esp + 0xe0]
xor edi, edi
xor ebx, ebx
jmp 0x559090
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.0053a3a0
mov eax, dword [esp + 0x1c]
add esp, 8
test dword [eax + 4], 0x1000000
je 0x55911b
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x78], 0x4efb70
mov dword [esp + 0x7c], 0x56f4e0
mov dword [esp + 0x80], 0x56f4d0
mov eax, dword [eax + 0x28]
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x74], 0
test eax, eax
je 0x55911b
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00580c50
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 0x559090
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 0x55a686
cmp dword [esp + 0x2c], 0
je 0x55a046
cmp dword [ebp + 0x2c], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], 0
jne 0x5591f3
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0xc], 0
jl 0x5591f3
mov eax, dword [eax]
test eax, eax
je 0x5591f3
test dword [eax + 4], 0x800
jne 0x5591f3
mov eax, dword [eax + 0x14]
test eax, eax
je 0x5591f3
mov eax, dword [eax + 8]
test eax, eax
je 0x5591bd
push 0
push 0
push eax
push ecx
call fcn.004fe730
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x5591c5
mov dword [esp + 0x10], 0
push 0
push dword [esp + 0x30]
push ecx
call fcn.0053e850
push dword [esp + 0x1c]
push eax
push ebx
call fcn.0053e4a0
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.0054ca10
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 0x55923f
push 0
push edx
push eax
push 0x76
push esi
call fcn.00515850
mov edx, eax
add esp, 0x14
mov dword [esp + 0x10], edx
jmp 0x559279
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 0x559295
mov edx, dword [esp + 0x64]
push edx
push 0xfffffffffffffff7
push ecx
call fcn.00502620
add esp, 0xc
jmp 0x5592cb
test edx, edx
jns 0x55929d
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 0x5592c0
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.0057a650
add esp, 0x10
jmp 0x5592cb
test edx, edx
je 0x5592cb
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 0x55932a
push 0
push dword [esp + 0x40]
push 0
push 0x47
push esi
call fcn.00515850
mov edx, dword [esp + 0x40]
add esp, 0x14
jmp 0x559364
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 0x55938a
mov eax, dword [esp + 0x1c]
push edx
inc eax
push eax
push 0
push 0x4a
push esi
call fcn.00515850
add esp, 0x14
jmp 0x5593c5
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 0x5593e4
push 0
push dword [esp + 0x70]
push dword [esp + 0x24]
push 0xc
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559417
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.0056f5d0
mov edx, eax
add esp, 0x20
mov dword [esp + 0x24], edx
test edx, edx
jne 0x559476
mov eax, dword [esp + 0x58]
test eax, eax
je 0x55a682
push eax
push dword [esp + 0x2c]
call fcn.004fef40
add esp, 8
jmp 0x55a682
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 0x559495
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x5597b8
cmp byte [esp + 0x36], 0
je 0x5594a7
test byte [edi + 4], 1
mov eax, str.DISTINCT
je 0x5594ac
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00568be0
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 0x5594fb
mov ecx, dword [ebp + 0x1c]
mov ebp, eax
add ecx, 0x12
movsx eax, word [ecx]
cmp eax, edx
jl 0x5594ed
inc edi
inc edx
add ecx, 0x14
dec ebp
jne 0x5594e4
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x54], edi
cmp edi, 1
jne 0x559528
mov al, byte [ebx + 0x13]
test al, al
jne 0x559513
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x559552
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x18], eax
jmp 0x559552
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x18], ecx
cmp edi, edx
jg 0x559543
lea eax, [edi + ecx]
sub edx, edi
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], edx
jmp 0x559552
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.0053a920
xor edx, edx
add esp, 0x14
mov dword [esp + 0x44], edx
cmp dword [ebp + 0x20], edx
jle 0x5595c4
mov ebx, dword [esp + 0x4c]
xor edi, edi
jmp 0x559580
mov ecx, dword [ebp + 0x1c]
add ecx, edi
movsx eax, word [ecx + 0x12]
cmp eax, ebx
jl 0x5595ac
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.0053ad40
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 0x559580
mov ebx, dword [esp + 0xf0]
mov edi, dword [esp + 0x54]
mov al, byte [ebx + 0x13]
test al, al
jne 0x5595d3
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x5595e2
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 0x559605
push eax
push edi
push dword [esp + 0x20]
push 0x60
push esi
call fcn.00515850
mov edx, dword [esp + 0x58]
add esp, 0x14
jmp 0x559634
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 0x55965b
push 0
push edx
push eax
push 0x8a
push esi
call fcn.00515850
mov edx, dword [esp + 0x58]
add esp, 0x14
jmp 0x55968e
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 0x5596a6
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x5596a6
movzx eax, al
mov dword [ebx + eax*4 + 0x98], edx
inc byte [ebx + 0x13]
cmp edi, 1
jne 0x5596c9
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5596d8
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x5596d8
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
jmp 0x5596d8
cmp edi, dword [ebx + 0x1c]
jle 0x5596d8
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], eax
push dword [esp + 0x24]
call fcn.00572180
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 0x559700
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x55970f
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 0x55972b
push edi
push eax
push edx
push 0x78
push esi
call fcn.00515850
add esp, 0x14
jmp 0x55975d
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 0x55977c
push 0
push dword [esp + 0x34]
push edx
push 0x24
push esi
call fcn.00515850
add esp, 0x14
jmp 0x5597ab
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 0x559814
mov ecx, dword [esp + 0x28]
test byte [ecx + 0x50], 4
jne 0x559814
test eax, eax
jne 0x5597d3
test byte [edx + 0x34], 8
je 0x559814
mov edx, dword [esi]
mov dword [esp + 0xa0], 0
cmp byte [edx + 0x57], 0
jne 0x559814
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.00502620
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 0x559841
mov edx, dword [ebp + 4]
cmp dword [esi + 0x78], ecx
jg 0x559885
push dword [esp + 0x54]
push dword [esp + 0x48]
push edx
push 0x84
push esi
call fcn.00515850
add esp, 0x14
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp dword [eax], edi
jle 0x559918
lea ecx, [eax + 8]
mov dword [esp + 0x5c], ecx
lea ebx, [ebx]
cmp dword [esp + 0x40], 0
je 0x5598e6
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x5598b6
mov eax, dword [esp + 0x20]
add eax, edi
push eax
push edi
push edx
push 0x5d
push esi
call fcn.00515850
add esp, 0x14
jmp 0x5598fc
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 0x559845
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 0x559900
mov eax, dword [esp + 0x20]
add eax, edi
mov byte [ebp], 1
push eax
push dword [ecx]
push ebx
call fcn.0053a880
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 0x559860
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x559922
inc dword [ecx]
mov edx, dword [esi + 0x74]
mov edi, dword [eax]
cmp dword [esi + 0x78], edx
jg 0x559946
mov eax, dword [esp + 0x1c]
push edi
push dword [esp + 0x24]
inc eax
push eax
push 0x59
push esi
call fcn.00515850
add esp, 0x14
mov edx, eax
jmp 0x559981
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 0x55999b
mov edx, dword [esp + 0x64]
push edx
push 0xfffffffffffffff7
push eax
call fcn.00502620
add esp, 0xc
jmp 0x5599d1
test edx, edx
jns 0x5599a3
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 0x5599c6
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.0057a650
add esp, 0x10
jmp 0x5599d1
test edx, edx
je 0x5599d1
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 0x5599ed
push edx
push 0
push edx
push 0x10
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559a1c
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 0x559a49
push eax
mov eax, dword [esp + 0x20]
inc eax
push eax
push dword [esp + 0x28]
push 0x4e
push edx
call fcn.00515850
add esp, 0x14
jmp 0x559a84
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 0x559aa5
mov eax, dword [esp + 0x3c]
push 0
push dword [esp + 0x74]
inc eax
push eax
push 0xc
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559add
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 0x559afc
push 0
push dword [esp + 0x34]
push dword [esp + 0x44]
push 0x31
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559b2f
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 0x559b4e
push 0
push dword [esp + 0x70]
push dword [esp + 0x24]
push 0xc
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559b81
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 0x559b8b
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x559b9a
mov eax, 0x973eec
jmp 0x559ba3
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.00578ad0
mov ecx, dword [esi + 0x74]
add esp, 0x10
cmp dword [esi + 0x78], ecx
jg 0x559bd3
push 0
push edi
push 1
push 0x47
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559c02
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 0x559c56
mov ecx, dword [esi + 0x74]
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x559c29
push 0
push edi
push edx
push 3
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559c95
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 0x559c95
push dword [esp + 0x24]
call fcn.00572180
mov edx, dword [esi]
add esp, 4
cmp byte [edx + 0x57], 0
jne 0x559c95
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.00502620
add esp, 0xc
mov word [edi], 0xb6
mov dword [edi + 0x10], 0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x559caa
push eax
push dword [esp + 0x2c]
call fcn.004fef40
add esp, 8
mov edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x74]
inc edi
cmp dword [esi + 0x78], ecx
jg 0x559ccb
push 0
push dword [esp + 0x74]
push edi
push 0xc
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559cfa
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 0x559d17
push 0
push dword [esp + 0x34]
push 0
push 0xb
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559d4a
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 0x559d6b
push 0
push dword [esp + 0x40]
push 1
push 0x47
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559d9e
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 0x559db8
push 0
push 0
push edi
push 0x43
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559de7
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 0x559e05
push edx
push esi
push ecx
call fcn.005278f0
add esp, 0xc
jmp 0x559e0e
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 0x559e2d
push 0
push edx
push dword [esp + 0x40]
push 0x31
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559e63
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 0x559e82
mov eax, dword [esp + 0x3c]
push 0
push 0
inc eax
push eax
push 0x43
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559eba
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.004fff40
push 0x10
inc edi
push edi
push dword [esp + 0x58]
push ebx
call fcn.0053d910
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.0052a6e0
mov ecx, dword [esi + 0x74]
add esp, 0x38
cmp dword [esi + 0x78], ecx
jg 0x559f1d
mov eax, dword [esp + 0x3c]
push 0
push 0
inc eax
push eax
push 0x43
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559f51
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 0x559f6f
push edx
push esi
push ecx
call fcn.005278f0
add esp, 0xc
jmp 0x559f78
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
push ebp
push ebx
call fcn.00527760
mov ecx, dword [esi + 0x74]
add esp, 8
cmp dword [esi + 0x78], ecx
jg 0x559f9f
push 0
push dword [esp + 0x3c]
push 0
push 0x47
push esi
call fcn.00515850
add esp, 0x14
jmp 0x559fd2
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 0x559fef
push 0
push 0
push dword [esp + 0x24]
push 0x43
push esi
call fcn.00515850
add esp, 0x14
jmp 0x55a022
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 0x55a03d
mov eax, dword [ebp + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
push ecx
push ebx
call fcn.00500450
add esp, 0x10
mov ebp, dword [esp + 0x30]
jmp 0x55a5bf
cmp dword [edi + 0x24], 0
jne 0x55a3af
mov edx, dword [edi + 0x1c]
cmp dword [edx], 1
jne 0x55a3af
mov ecx, dword [edi + 0x20]
cmp dword [ecx], 1
jne 0x55a3af
cmp dword [ecx + 0x1c], 0
jne 0x55a3af
cmp dword [ebp + 0x2c], 1
jne 0x55a3af
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x38], ecx
cmp byte [ecx + 0x2b], 0
jne 0x55a3af
mov edx, dword [edx + 8]
cmp byte [edx], 0xa8
jne 0x55a3af
cmp dword [edx + 0x28], ebp
jne 0x55a3af
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x55a3af
test dword [edx + 4], 0x1000002
jne 0x55a3af
mov ebp, dword [ecx + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x40], edx
test ebp, ebp
je 0x55a0f0
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 0x55a0f0
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ebp
jne 0x55a0e4
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 0x55a113
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 0x55a14d
or dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x54], ecx
cmp edx, 1
jne 0x55a152
push eax
call fcn.0054f0c0
add esp, 4
jmp 0x55a17a
cmp edx, 1
je 0x55a17a
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 0x55a17a
mov ecx, dword [esp + 0x38]
push dword [ecx]
push 0
push dword [ecx + 0x14]
push edx
push ebx
call fcn.0051a4f0
add esp, 0x14
mov edx, dword [esp + 0x38]
test byte [edx + 0x1c], 0x80
je 0x55a1a0
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x55a1a0
jmp 0x55a190
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x55a1a0
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x55a190
mov eax, dword [edi + 0x20]
test byte [eax + 0x30], 1
jne 0x55a1d9
mov eax, dword [edx + 8]
test eax, eax
je 0x55a1d9
test byte [eax + 0x38], 4
jne 0x55a1d2
movzx ecx, word [eax + 0x30]
cmp cx, word [edx + 0x28]
jge 0x55a1d2
cmp dword [eax + 0x24], 0
jne 0x55a1d2
test ebp, ebp
je 0x55a1d0
cmp cx, word [ebp + 0x30]
jge 0x55a1d2
mov ebp, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x55a1b0
test ebp, ebp
je 0x55a1f2
mov eax, dword [ebp + 0x2c]
push ebp
push ebx
mov dword [esp + 0x2c], eax
call fcn.0054caa0
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x78], ecx
jg 0x55a21b
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x28]
push edx
push dword [esp + 0x28]
push 0x65
push esi
call fcn.00515850
add esp, 0x14
mov ecx, eax
jmp 0x55a252
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 0x55a26d
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 0x55a2b5
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x55a28b
push edx
push 0xfffffffffffffff7
push eax
call fcn.00502620
add esp, 0xc
jmp 0x55a2b5
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 0x55a2ae
push 0xfffffffffffffff7
push edx
push eax
push esi
call fcn.0057a650
add esp, 0x10
jmp 0x55a2b5
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 0x55a2db
push 0
push edx
push dword [esp + 0x28]
push 0x61
push esi
call fcn.00515850
add esp, 0x14
jmp 0x55a311
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 0x55a32e
push 0
push 0
push dword [esp + 0x28]
push 0x79
push esi
call fcn.00515850
add esp, 0x14
jmp 0x55a361
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 0x55a58a
mov ecx, dword [esp + 0x38]
test ebp, ebp
je 0x55a38f
test byte [ecx + 0x1c], 0x80
je 0x55a385
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x55a38f
mov eax, dword [ebp]
mov edx, str._USING_COVERING_INDEX
jmp 0x55a396
mov eax, section..rdata
mov edx, eax
push eax
push edx
push dword [ecx]
push str.SCAN__s_s_s
push 0
push ebx
call fcn.00568be0
add esp, 0x18
jmp 0x55a58a
cmp dword [ebp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
je 0x55a471
mov eax, dword [ebp + 0x2c]
xor ecx, ecx
test eax, eax
jle 0x55a40d
mov edi, dword [ebp + 0x28]
xor edx, edx
nop
mov eax, dword [edi + edx]
test dword [eax + 4], 0x1000000
jne 0x55a3f6
mov eax, dword [edi + edx + 4]
test byte [eax + 4], 0x20
jne 0x55a403
mov eax, dword [ebp + 0x2c]
inc ecx
add edx, 0x14
cmp ecx, eax
jl 0x55a3e0
jmp 0x55a406
mov eax, dword [ebp + 0x2c]
mov edi, dword [esp + 0xf4]
cmp ecx, eax
jne 0x55a496
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 0x55a439
push 0
push edx
push 0
push 0x47
push esi
call fcn.00515850
add esp, 0x14
jmp 0x55a496
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 0x55a496
cmp dword [ebp + 0x2c], 1
jne 0x55a496
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0xc], 0
jl 0x55a496
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.00527760
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.0056f5d0
add esp, 0x28
mov dword [esp + 0x14], eax
test eax, eax
je 0x55a682
movzx eax, byte [eax + 0x33]
push eax
push ebp
push dword [esp + 0x18]
mov dword [esp + 0x58], eax
push ebx
call fcn.00578ad0
mov ecx, dword [esp + 0x5c]
add esp, 0x10
test ecx, ecx
je 0x55a50b
mov eax, dword [ebp + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
push ecx
push ebx
call fcn.00500450
add esp, 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x55a563
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x55a52d
push 0
push edx
push 1
push 0x47
push esi
call fcn.00515850
add esp, 0x14
jmp 0x55a563
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 0x55a577
push dword [esp + 0x14]
push esi
call fcn.00573460
add esp, 8
push dword [esp + 0x14]
call fcn.00572180
push ebp
push ebx
call fcn.004fff40
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.0053d910
push ebp
push ebp
push dword [esp + 0x110]
push 0
push 0
push 0xffffffffffffffff
push edi
push ebx
call fcn.0052a6e0
add esp, 0x30
mov ecx, dword [esi + 0xc]
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x55a5d9
push ebp
push esi
push ecx
call fcn.005278f0
add esp, 0xc
jmp 0x55a5e2
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebp*4], eax
cmp byte [esp + 0x95], 3
jne 0x55a601
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00568be0
add esp, 0x10
cmp dword [esp + 0xa0], 0
je 0x55a64c
cmp dword [esp + 0xa4], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x55a61f
mov eax, str.ORDER_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.00568be0
push dword [esp + 0x108]
mov eax, dword [esp + 0x74]
push dword [eax]
lea eax, [esp + 0xb8]
push eax
push edi
push ebx
call fcn.00513610
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 0x55a66d
push edx
push esi
push ecx
call fcn.005278f0
add esp, 0xc
jmp 0x55a676
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 0x55a69b
push eax
push ecx
call fcn.004fef40
add esp, 8
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
jne 0x55a6bc
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 0x55a6c7
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x55a6d6
mov eax, 0x973eec
jmp 0x55a6df
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