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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x57906c]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
mov esi, ecx
mov dword [esp + 0x70], 1
mov ecx, dword [ebp + 8]
mov eax, edx
push edi
mov dword [esp + 0x88], ecx
mov edi, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x9c], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
test edi, edi
jne 0x496246
cmp dword [esi + 0x74], edi
jne 0x496235
test byte [ecx + 0x50], 8
jne 0x496235
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.0044db60
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], edi
test eax, eax
je 0x498f95
cmp dword [esi + 0x24], 0
jne 0x498f95
push 0
push 0
push 0
mov edx, 0x15
mov ecx, esi
call fcn.00472920
add esp, 0xc
test eax, eax
jne 0x498f95
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x10]
cmp byte [eax], 6
ja 0x4962b5
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x4962a7
push eax
mov edx, fcn.00466450
mov ecx, esi
call fcn.0048cbb0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x30], 0
mov eax, dword [ecx + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [ecx + 4], eax
mov edx, ecx
mov ecx, esi
push 0
call fcn.00495850
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x498f08
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
test ecx, 0x800000
je 0x49632a
mov edx, dword [eax + 0x20]
lea eax, [edx + 8]
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.00496140
test eax, eax
je 0x496319
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x496305
mov eax, dword [ecx + 0x10]
mov eax, dword [eax]
push eax
push str.target_object_alias_may_not_appear_in_FROM_clause:__s
push esi
call fcn.0042f9e0
add esp, 0xc
jmp 0x498f08
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
and ecx, 0xff7fffff
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
cmp byte [ecx], 9
jne 0x49633f
mov edx, eax
mov ecx, esi
call fcn.00490010
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.004b13a0
test eax, eax
jne 0x498f08
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movq qword [esp + 0xe0], xmm0
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
shr eax, 3
and eax, 1
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc0], eax
xor eax, eax
mov dword [esp + 0x4c], eax
test edx, edx
jne 0x496554
nop dword [eax + eax]
mov esi, dword [esp + 0x2c]
cmp eax, dword [esi]
mov esi, dword [esp + 0xc]
jge 0x49654c
mov edx, dword [esp + 0x2c]
lea eax, [eax + eax*8]
lea edx, [edx + eax*8]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x94], eax
mov al, byte [edx + 0x2c]
and al, 0x18
mov dword [esp + 0x14], edx
cmp al, 8
jne 0x49641f
mov edx, dword [edx + 0x34]
mov ecx, dword [ecx + 0x24]
call fcn.0046c440
test eax, eax
je 0x49641b
mov eax, dword [esp + 0x58]
test dword [eax + 0x50], 0x2000
jne 0x49641b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
and byte [edx + 0x2c], 0xd7
mov edx, dword [edx + 0x34]
mov ecx, dword [eax + 0x24]
call fcn.0048db50
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x496538
mov eax, dword [edx + 0x1c]
mov edi, dword [esp + 0x94]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
movsx eax, word [edi + 0x22]
mov edi, dword [esp + 0x5c]
cmp eax, dword [esp + 0x6c]
jne 0x49659d
test byte [edx + 4], 8
jne 0x496538
mov eax, dword [edx + 0x30]
test eax, eax
je 0x4964ac
cmp dword [ecx + 0x30], 0
jne 0x496471
mov esi, dword [esp + 0x2c]
cmp dword [esi], 1
mov esi, dword [esp + 0xc]
jle 0x4964d9
cmp dword [edx + 0x3c], 0
jne 0x4964d9
test dword [edx + 4], 0x8000000
jne 0x4964d9
test dword [ecx + 4], 0x8000000
jne 0x4964d9
mov edx, dword [esp + 0x58]
test dword [edx + 0x50], 0x40000
jne 0x4964d9
mov ecx, dword [esp + 0x58]
mov edx, eax
call fcn.004663a0
mov eax, dword [esp + 0x18]
mov dword [eax + 0x30], 0
mov eax, dword [esp + 0x4c]
push dword [esp + 0x90]
mov edx, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.00493700
add esp, 8
test eax, eax
je 0x4964ff
cmp dword [esi + 0x24], 0
jne 0x498f08
or eax, 0xffffffff
jmp 0x496503
test eax, eax
je 0x4964ac
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4964b0
test dword [ecx + 4], 0x40000
je 0x4964b0
mov edx, dword [esp + 0x2c]
cmp dword [edx], 1
je 0x49653c
test byte [edx + 0x74], 0x22
jne 0x49653c
jmp 0x4964b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x58]
cmp byte [edx + 0x57], 0
jne 0x498f08
mov edx, dword [esp + 0x88]
cmp byte [edx], 8
jbe 0x49653c
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x30], edx
mov dword [esp + 0xc0], edx
jmp 0x49653c
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx + 0x34]
inc eax
mov dword [esp + 0x4c], eax
test edx, edx
je 0x4963b0
test edx, edx
je 0x49661d
push dword [esp + 0x88]
mov edx, ecx
mov ecx, esi
call fcn.004912b0
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
jne 0x496607
mov ecx, dword [esi + 0xdc]
test ecx, ecx
jne 0x4965be
mov dword [esi + 0xdc], ecx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
push dword [esp + 0x6c]
mov ecx, dword [esp + 0x98]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push esi
call fcn.0042f9e0
add esp, 0x14
jmp 0x498f08
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x4965c9
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4965f5
mov ecx, 0x632198
mov eax, edi
mov ecx, dword [ecx + 8]
mov dword [esi + 0xdc], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov ecx, dword [ecx + 8]
mov dword [esi + 0xdc], ecx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x496733
cmp byte [eax], 0x2c
jne 0x496733
mov eax, dword [esp + 0x58]
test dword [eax + 0x50], 0x8000
jne 0x496733
mov eax, dword [esi]
add eax, 0x57
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], eax
jmp 0x496664
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x24]
lea ecx, [esp + 0x110]
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
call fcn.00493f60
cmp dword [esp + 0x118], 0
je 0x496725
lea eax, [esp + 0x110]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], 0x494140
mov dword [esp + 0xac], fcn.00412b30
mov edx, dword [eax + 0x24]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
test edx, edx
je 0x49670c
lea ecx, [esp + 0xa4]
call fcn.00460e30
mov edx, dword [esp + 0x124]
test edx, edx
je 0x496725
mov ecx, dword [esp + 0x110]
mov ecx, dword [ecx]
call fcn.0042c2b0
cmp dword [esp + 0x11c], 0
jne 0x496660
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x64], eax
cmp dword [ecx], eax
jle 0x496bf9
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea esi, [ecx + eax*8]
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
mov dword [esp + 0x80], esi
jne 0x496782
mov eax, dword [esi + 8]
test eax, eax
je 0x496782
push dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov edx, 0x14
push 0x55faaf
push eax
call fcn.00472920
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [esp + 0x68], eax
test eax, eax
je 0x496be4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.00464810
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
add dword [ecx + 0xd8], eax
mov eax, dword [esp + 0x58]
test dword [eax + 0x50], 0x1000
jne 0x4967f0
test dword [esi + 0x28], 0x100
je 0x4967d8
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x12], 0
je 0x4967f0
cmp dword [eax], 2
jge 0x4967f0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
push esi
push dword [eax + 0x24]
call fcn.004941b0
mov ecx, dword [esp + 0x14]
add esp, 8
cmp dword [esp + 0x64], 0
mov eax, dword [ecx + 0xf8]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0xf8], eax
jne 0x49692d
mov edx, dword [esp + 0x2c]
cmp dword [edx], 1
je 0x496824
test byte [edx + 0x74], 0x22
je 0x49692d
test dword [esi + 0x28], 0x100
je 0x49683a
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x12], 0
je 0x49692d
test byte [edx + 0x2c], 0x40
jne 0x49692d
mov eax, dword [ecx + 0x2c]
mov edx, 0xa
mov edi, dword [edi + 0x6c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0x80]
lea esi, [edi + 1]
push esi
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x60]
push 0
push eax
call fcn.0044dd90
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov byte [esp + 0x110], 0xd
mov dword [esp + 0x118], 0
mov dword [esp + 0x124], 0
mov dword [eax + 0x18], esi
mov esi, eax
push esi
push str.CO_ROUTINE___S
push 1
mov eax, dword [esi + 0x1c]
push dword [esp + 0x18]
mov dword [esp + 0x124], eax
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
call fcn.0044e2c0
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x120]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004961d0
mov eax, dword [esp + 0x7c]
add esp, 0x14
mov ecx, dword [esi + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x11c]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x5c]
or dword [esi + 0x28], 0x20
mov dword [esi + 0x20], eax
call fcn.0044e450
mov edx, edi
mov edi, dword [esp + 0x5c]
mov ecx, edi
call fcn.0044e7b0
mov esi, dword [esp + 0xc]
mov byte [esi + 0x13], 0
mov dword [esi + 0x1c], 0
jmp 0x496b55
test dword [esi + 0x28], 0x100
je 0x49698b
mov eax, dword [esi + 0x44]
mov dword [esp + 0x18], eax
mov edx, dword [eax + 4]
test edx, edx
jle 0x49698b
push edx
push dword [eax + 8]
mov edx, 9
mov ecx, edi
call fcn.0044dec0
mov eax, dword [esp + 0x20]
add esp, 8
mov edx, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
je 0x49697a
push ecx
push edx
mov edx, 0x73
mov ecx, edi
call fcn.0044dec0
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x68]
mov ax, word [eax + 0x10]
mov word [ecx + 2], ax
jmp 0x496b51
mov eax, dword [esi + 0x14]
test dword [eax + 4], 0x1000000
jne 0x496a29
mov edx, dword [esp + 0x2c]
add edx, 8
mov dword [esp + 0x4c], edx
cmp edx, esi
jae 0x496a29
nop word [eax + eax]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x496a1a
test byte [edx + 0x28], 0x20
jne 0x496a1a
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x496a1a
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x18]
cmp edi, dword [eax + 0x3c]
mov edi, dword [esp + 0x5c]
jne 0x496a1a
mov eax, dword [esi + 8]
test eax, eax
je 0x496a1a
mov edx, eax
call fcn.0042fba0
test eax, eax
jne 0x496a16
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x18], eax
jne 0x496a09
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x496a16
test dword [ecx + 4], 0x1000000
je 0x496b95
mov edx, dword [esp + 0x4c]
add edx, 0x48
mov dword [esp + 0x4c], edx
cmp edx, esi
jb 0x4969b0
mov ecx, dword [esp + 0xc]
inc dword [ecx + 0x2c]
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, 8
mov eax, dword [ecx + 0x2c]
mov ecx, edi
mov dword [esi + 0x1c], eax
call fcn.0044de00
or dword [esi + 0x28], 0x10
mov dword [esp + 0x24], eax
inc eax
test byte [esi + 0x28], 8
mov dword [esp + 0x14], eax
mov dword [esi + 0x18], eax
jne 0x496a6a
mov edx, 0xe
mov ecx, edi
call fcn.0044de00
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
push esi
push str.MATERIALIZE___S
push 1
push dword [esp + 0x18]
mov byte [esp + 0x120], 0xc
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
call fcn.0044e2c0
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x120]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004961d0
mov eax, dword [esp + 0x7c]
add esp, 0x14
mov ecx, dword [esi + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x496af1
mov edx, eax
mov ecx, edi
call fcn.0044e7b0
push dword [esp + 0x14]
mov edx, 0x43
mov ecx, edi
push dword [esi + 0x1c]
call fcn.0044dec0
mov edx, dword [esp + 0x2c]
add esp, 8
mov ecx, edi
call fcn.0044e7b0
mov eax, dword [esp + 0xc]
mov byte [eax + 0x13], 0
mov dword [eax + 0x1c], 0
mov eax, dword [esi + 0x28]
and eax, 0x108
cmp eax, 0x100
jne 0x496b51
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x68]
mov ax, word [eax + 2]
mov word [ecx + 0x10], ax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x57], 0
jne 0x498f08
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.00464810
mov eax, dword [esp + 0x18]
sub dword [esi + 0xd8], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xf8], eax
jmp 0x496be8
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x496bb7
push ecx
push dword [eax + 0x1c]
mov edx, 9
mov ecx, edi
call fcn.0044dec0
mov eax, dword [esp + 0x54]
add esp, 8
push dword [eax + 0x2c]
mov edx, 0x73
mov ecx, edi
push dword [esi + 0x2c]
call fcn.0044dec0
mov eax, dword [esp + 0x54]
add esp, 8
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + 0x14]
mov ax, word [eax + 2]
mov word [ecx + 2], ax
jmp 0x496b51
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x64], eax
cmp eax, dword [ecx]
jl 0x496745
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x1c]
mov dl, byte [ecx + 4]
mov dword [esp + 0x84], eax
and dl, 1
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
and al, 9
mov byte [esp + 0x53], dl
mov byte [esp + 0x110], dl
cmp al, 1
jne 0x496c91
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.0046bf90
add esp, 4
test eax, eax
jne 0x496c91
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x44], eax
jne 0x496c91
and dword [ecx + 4], 0xfffffffe
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x58]
push eax
call fcn.00465800
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
or dword [eax + 4], 8
mov dword [eax + 0x28], ecx
mov al, 2
mov byte [esp + 0x53], al
mov byte [esp + 0x110], al
mov eax, dword [esp + 0x30]
test eax, eax
je 0x496cf0
mov ecx, dword [esp + 0x84]
mov edx, eax
push dword [ecx]
mov ecx, esi
push 0
call fcn.0048f4d0
mov edx, dword [esi + 0x28]
mov ecx, eax
push 0xfffffffffffffff8
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [edx + 1]
mov dword [esp + 0xd8], edx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [ecx]
inc ecx
push 0
mov eax, dword [eax]
add eax, ecx
mov ecx, edi
push eax
push edx
mov edx, 0x76
call fcn.0044e150
add esp, 0x1c
mov dword [esp + 0xd4], eax
jmp 0x496cfb
mov dword [esp + 0xd4], 0xffffffff
mov ecx, dword [esp + 0x88]
cmp byte [ecx], 0xc
jne 0x496de0
mov eax, dword [esp + 0x84]
mov edx, 0x76
push dword [eax]
push dword [ecx + 4]
mov ecx, edi
call fcn.0044dec0
mov eax, dword [esp + 0x18]
add esp, 8
test dword [eax + 4], 0x800
je 0x496de0
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
lea ecx, [eax - 1]
mov dword [esp + 0x20], ecx
test ecx, ecx
jle 0x496db6
mov esi, dword [esp + 0x84]
lea edx, [ecx + ecx*4]
mov edi, dword [esp + 0x58]
shl edx, 2
mov dword [esp + 0x7c], edx
test byte [edx + esi + 0x14], 0x40
jne 0x496dae
mov eax, dword [edx + esi + 8]
test eax, eax
je 0x496d80
mov edx, eax
mov ecx, edi
call fcn.00465170
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + esi + 0xc]
test eax, eax
je 0x496d99
mov edx, eax
mov ecx, edi
call fcn.0042c2b0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
mov eax, dword [esi]
dec ecx
dec eax
mov dword [esp + 0x20], ecx
sub edx, 0x14
mov dword [esi], eax
mov dword [esp + 0x7c], edx
test ecx, ecx
jg 0x496d60
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0xc]
xor edx, edx
test eax, eax
jle 0x496de0
mov eax, dword [esp + 0x84]
lea ecx, [eax + 8]
test byte [ecx + 0xc], 0x40
jne 0x496dd8
mov eax, dword [ecx]
mov byte [eax], 0x79
mov eax, dword [esp + 0x84]
inc edx
add ecx, 0x14
cmp edx, dword [eax]
jl 0x496dc6
mov eax, dword [esp + 0x10]
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0xa0], ecx
test dword [eax + 4], 0x4000
jne 0x496e03
mov edx, 0x140
mov word [eax + 2], dx
push ecx
mov edx, eax
mov ecx, esi
call fcn.004908c0
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [edx + 8], 0
jne 0x496e48
mov ecx, dword [esp + 0xd4]
test ecx, ecx
js 0x496e48
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x496e34
mov eax, 0x632198
jmp 0x496e3d
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
or byte [esp + 0xe0], 1
mov byte [eax], 0x77
test byte [edx + 4], 1
je 0x496f1b
mov eax, dword [esi + 0x28]
mov ecx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x114], eax
inc eax
mov dword [esi + 0x28], eax
mov edx, dword [edx + 0x1c]
push 0
push 0
call fcn.0048f4d0
mov edx, dword [edi + 0x6c]
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], edx
cmp dword [edi + 0x70], edx
jg 0x496ea4
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x76
mov ecx, edi
call fcn.0044dd50
mov edx, eax
add esp, 0xc
mov dword [esp + 0x6c], edx
jmp 0x496edb
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff8
push dword [esp + 0x18]
mov ecx, edi
call fcn.0044eaf0
mov eax, dword [esp + 0x74]
add esp, 8
mov dword [esp + 0x118], eax
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x496f0d
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x10]
mov byte [esp + 0x111], 3
jmp 0x496f23
mov byte [esp + 0x111], 0
cmp dword [esp + 0x90], 0
mov ecx, dword [esp + 0x54]
jne 0x497195
test ecx, ecx
jne 0x497195
cmp byte [esp + 0x53], cl
mov eax, 0x100
mov dword [esp + 0x14], 0x4000
cmovne ecx, eax
mov ax, word [edx + 4]
and ax, word [esp + 0x14]
or cx, ax
movzx eax, cx
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x24], eax
test eax, eax
je 0x496f7a
mov ecx, esi
call fcn.004b1df0
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 2]
mov ecx, esi
push eax
push dword [esp + 0x18]
push edx
push dword [edx + 0x1c]
mov edx, dword [esp + 0x3c]
push dword [esp + 0x40]
push dword [esp + 0x78]
call fcn.004ae6c0
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x498f08
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 0x38]
cmp dx, word [eax + 2]
jge 0x496fbd
mov word [eax + 2], dx
cmp byte [esp + 0x53], 0
je 0x496fe2
mov cl, byte [ecx + 0x33]
movzx edx, byte [esp + 0x111]
test cl, cl
movzx eax, cl
mov ecx, dword [esp + 0x20]
cmovne edx, eax
mov byte [esp + 0x111], dl
cmp dword [esp + 0x30], 0
je 0x497037
test byte [ecx + 0x34], 4
movsx edx, byte [ecx + 0x31]
mov dword [esp + 0xc4], edx
jne 0x496fff
mov eax, dword [ecx + 0x20]
jmp 0x49701c
movzx eax, byte [ecx + 0x30]
add eax, 7
lea eax, [eax + eax*2]
shl eax, 5
cmp dword [eax + ecx + 0x38], 0
je 0x497018
mov eax, dword [ecx + 0x20]
jmp 0x49701c
mov eax, dword [eax + ecx + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xdc], eax
xor eax, eax
cmp edx, dword [ecx]
cmove ecx, eax
mov dword [esp + 0xc0], ecx
jmp 0x49703b
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xd4]
test eax, eax
js 0x497053
test ecx, ecx
jne 0x497053
mov edx, eax
mov ecx, edi
call fcn.0044e9d0
cmp dword [esp + 0x24], 0
mov edx, dword [esp + 0x10]
je 0x49715a
mov eax, dword [esi + 0x38]
inc dword [esi + 0x2c]
lea ecx, [eax - 1]
sub eax, 2
mov dword [esp + 0x18], eax
dec eax
push ecx
mov dword [esp + 0x84], eax
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x2c]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004b4e70
add esp, 0xc
mov edx, 8
mov ecx, edi
push dword [esp + 0x80]
push 0
call fcn.0044dec0
mov ecx, dword [edi + 0xc]
add esp, 8
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4970ce
push edx
mov edx, edi
call fcn.0044e4c0
add esp, 4
jmp 0x4970d7
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
push dword [esp + 0x80]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x114]
push dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0xe4], 0
push dword [esp + 0x90]
push eax
lea eax, [esp + 0xd0]
push eax
push 0xffffffffffffffff
call fcn.0048e9e0
mov ecx, dword [edi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x497132
push edx
mov edx, edi
call fcn.0044e4c0
add esp, 4
jmp 0x49713b
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
push dword [esp + 0x24]
mov edx, 0x43
mov ecx, edi
call fcn.0044de60
mov edx, dword [esp + 0x84]
add esp, 4
jmp 0x498e25
mov eax, dword [esp + 0x20]
mov ecx, esi
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [esp + 0x118]
push dword [esp + 0x90]
push eax
lea eax, [esp + 0xd0]
push eax
push 0xffffffffffffffff
call fcn.0048e9e0
mov ecx, dword [esp + 0x38]
add esp, 0x18
call fcn.004af3f0
jmp 0x498e48
mov dword [esp + 0x48], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x8c], 0
test ecx, ecx
je 0x49726b
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x4971d6
add ecx, 0x1a
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x4971c4
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
test eax, eax
jle 0x4971f9
add ecx, 0x1a
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x4971e3
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
cmp word [edx + 2], 0x42
jle 0x497209
mov eax, 0x42
mov word [edx + 2], ax
mov edx, dword [esp + 0x30]
test edx, edx
je 0x497271
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x497271
xor edx, edx
test eax, eax
jle 0x49724c
mov edi, dword [esp + 0x30]
add ecx, 0x10
mov esi, dword [esp + 0x54]
sub edi, esi
nop word [eax + eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 0x14]
and al, 1
inc edx
mov byte [ecx - 0x14], al
cmp edx, dword [esi]
jl 0x497230
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.0046bf90
add esp, 4
test eax, eax
jne 0x497271
mov dword [esp + 0x8c], 1
jmp 0x497271
xor eax, eax
mov word [edx + 2], ax
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
push 0
push 0x34
test eax, eax
je 0x497296
mov ecx, eax
call fcn.0042c5b0
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4972a1
call fcn.0042bfc0
mov ecx, eax
mov dword [esp + 0x24], eax
add esp, 8
test ecx, ecx
je 0x49738a
push 0x34
push 0
push ecx
call fcn.00516f30
mov ecx, dword [esi]
add esp, 0xc
push 0
push 0xc
test ecx, ecx
je 0x4972ca
call fcn.0042c5b0
jmp 0x4972cf
call fcn.0042bfc0
mov ecx, dword [esp + 0x24]
mov edx, eax
add esp, 8
test edx, edx
je 0x4972f9
mov eax, dword [esi + 0x80]
mov dword [edx], eax
mov dword [esi + 0x80], edx
mov dword [edx + 4], ecx
mov dword [edx + 8], 0x4960b0
jmp 0x49738a
mov edx, dword [ecx + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
test edx, edx
je 0x497315
mov ecx, eax
call fcn.0042c2b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x497327
mov ecx, eax
call fcn.0042c2b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x49737d
cmp dword [edx + 0x210], 0
je 0x497345
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.0042c260
jmp 0x497386
cmp ecx, dword [edx + 0x164]
jae 0x49737d
cmp ecx, dword [edx + 0x15c]
jb 0x497365
mov eax, dword [edx + 0x158]
mov dword [ecx], eax
mov dword [edx + 0x158], ecx
jmp 0x49738a
cmp ecx, dword [edx + 0x160]
jb 0x49737d
mov eax, dword [edx + 0x150]
mov dword [ecx], eax
mov dword [edx + 0x150], ecx
jmp 0x49738a
push ecx
call fcn.0042c1f0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x57], 0
jne 0x498f08
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
mov edx, dword [esp + 0x54]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xf4], eax
mov eax, dword [esi + 0x2c]
inc eax
movlpd qword [esp + 0xfc], xmm0
movlpd qword [esp + 0x104], xmm0
mov dword [esp + 0x10c], 0
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf8], ecx
mov dword [ecx + 0x10], eax
test edx, edx
je 0x4973ee
mov eax, dword [edx]
jmp 0x4973f0
xor eax, eax
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x84]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xf0]
call fcn.0046cb10
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xf0]
call fcn.0046cb10
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4974d9
cmp dword [esp + 0x54], 0
je 0x497486
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0xa4], esi
mov edx, dword [eax + 0x2c]
mov dword [esp + 0xa8], 0x495f50
mov dword [esp + 0xbc], eax
test edx, edx
je 0x49747f
lea ecx, [esp + 0xa4]
call fcn.00460e30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x64], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0xa8], 0x46c860
mov edx, ecx
mov dword [esp + 0xac], 0x4610d0
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb0], 0x4610e0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], 0
call fcn.00460e30
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
mov dword [edx + 0x24], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x28], 0
jne 0x4975c9
cmp dword [eax + 0x2c], 0
jne 0x4975c9
cmp dword [edx + 0x2c], 1
jne 0x4975c9
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x4975c9
cmp dword [eax], 1
jne 0x4975c9
test dword [ecx + 4], 0x1000000
jne 0x4975c9
mov eax, dword [esp + 0x58]
test dword [eax + 0x50], 0x10000
jne 0x4975c9
mov eax, dword [ecx + 8]
mov edx, 0x56d988
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.0042fba0
test eax, eax
jne 0x49757a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx + 8]
call fcn.00466930
neg eax
mov byte [esp + 0x2b], 1
sbb al, al
and eax, 0xffffff02
mov dword [esp + 0x6c], eax
jmp 0x497596
mov ecx, dword [esp + 0x14]
mov edx, 0x56d99c
call fcn.0042fba0
test eax, eax
jne 0x4975c5
mov byte [esp + 0x6c], 1
mov byte [esp + 0x2b], 2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
push 0
mov edx, dword [edx + 0x14]
call fcn.00465800
mov ecx, eax
add esp, 4
mov dword [esp + 0x9c], ecx
test ecx, ecx
je 0x4975bf
mov eax, dword [esp + 0x6c]
mov byte [ecx + 0x10], al
mov edx, dword [esp + 0x1c]
jmp 0x4975ce
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x2b], 0
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x18], 0
test ecx, ecx
jle 0x4976b5
mov edx, dword [esp + 0x108]
xor esi, esi
mov edi, dword [esp + 0x1c]
nop
mov eax, dword [edi + 0x28]
lea ecx, [esp + 0xf0]
or edx, 0x20000
mov eax, dword [esi + eax]
mov dword [esp + 0x108], edx
mov dword [esp + 0x14], eax
mov edx, dword [eax + 0x14]
call fcn.0046cb10
mov eax, dword [esp + 0x14]
test dword [eax + 4], 0x1000000
je 0x49767e
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xa8], 0x46c860
mov dword [esp + 0xac], 0x4610d0
mov dword [esp + 0xb0], 0x4610e0
mov edx, dword [eax + 0x28]
lea eax, [esp + 0xf0]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], 0
test edx, edx
je 0x49767e
lea ecx, [esp + 0xa4]
call fcn.00460e30
mov edx, dword [esp + 0x108]
add esi, 0x14
mov eax, dword [esp + 0x18]
and edx, 0xfffdffff
inc eax
mov dword [esp + 0x108], edx
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x4975f0
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x57], 0
jne 0x498ef4
cmp dword [esp + 0x54], 0
je 0x49875a
cmp dword [edx + 0x2c], 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], 0
jne 0x4977cb
mov eax, dword [edx + 0x28]
cmp dword [eax + 0xc], 0
jl 0x4977cb
mov eax, dword [eax]
test eax, eax
je 0x4977cb
test dword [eax + 4], 0x1000
jne 0x4977cb
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4977cb
mov edx, dword [eax + 8]
test edx, edx
je 0x49773a
mov ecx, dword [esp + 0x58]
push 0
push 0
call fcn.00465380
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x497742
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
push 0
call fcn.00465800
mov ecx, eax
add esp, 4
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x49776f
mov edx, dword [esp + 0x20]
mov ecx, dword [esi]
call fcn.00465f80
mov dword [esp + 0x4c], eax
jmp 0x4977ba
mov eax, dword [ecx]
lea edx, [eax + 1]
cmp dword [ecx + 4], edx
jge 0x497790
mov eax, dword [esp + 0x20]
mov edx, ecx
mov ecx, dword [esi]
push eax
call fcn.00465ff0
add esp, 4
mov dword [esp + 0x4c], eax
jmp 0x4977ba
movups xmm0, xmmword [0x560884]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x4c]
mov dword [eax], edx
mov eax, dword [0x560894]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x28]
mov ecx, esi
mov dword [edx + 4], eax
inc dword [esi + 0x28]
push dword [edx + 0x20]
mov edx, dword [esp + 0x58]
push 0
call fcn.0048f4d0
mov ecx, dword [edi + 0x6c]
add esp, 8
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x70], ecx
jg 0x497821
push 0
push edx
push eax
mov edx, 0x77
mov ecx, edi
call fcn.0044dd50
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x497858
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x77
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 + 0x6c]
push 0xfffffffffffffff8
push dword [esp + 0x94]
mov edx, eax
mov ecx, edi
call fcn.0044eaf0
mov eax, dword [esi + 0x2c]
add esp, 8
mov edx, dword [esp + 0x54]
inc eax
mov dword [esp + 0x78], eax
inc eax
mov dword [esp + 0x70], eax
lea ecx, [eax + 2]
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x7c], eax
dec eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x30], ecx
add ecx, dword [edx]
mov dword [esp + 0x20], eax
mov dword [esi + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x98], eax
mov eax, dword [edx]
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4978d3
push 0
push dword [esp + 0x74]
mov edx, 0x47
mov ecx, edi
push 0
call fcn.0044dd50
mov edx, dword [esp + 0x60]
add esp, 0xc
jmp 0x49790a
mov esi, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0xc]
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 + 0x30]
mov ecx, dword [edi + 0x6c]
add edx, eax
cmp dword [edi + 0x70], ecx
jg 0x497934
mov eax, dword [esp + 0x30]
mov ecx, edi
push edx
inc eax
mov edx, 0x4b
push eax
push 0
call fcn.0044dd50
add esp, 0xc
jmp 0x49796c
mov esi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
inc esi
mov edi, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49798f
push 0
push dword [esp + 0x24]
mov edx, 9
mov ecx, edi
push dword [esp + 0x38]
call fcn.0044dd50
add esp, 0xc
jmp 0x4979c2
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x8c]
mov edx, 0x80
neg ecx
mov eax, 0x40
push 0
sbb ecx, ecx
and ecx, 0x200
cmp byte [esp + 0x57], 2
cmove eax, edx
mov edx, dword [esp + 0x30]
or cx, ax
or cx, word [esp + 0x1c]
movzx eax, cx
mov ecx, esi
push eax
mov eax, dword [esp + 0x54]
push 0
push eax
push dword [esp + 0x64]
push dword [esp + 0x78]
call fcn.004ae6c0
mov edx, eax
add esp, 0x18
mov dword [esp + 0x94], edx
test edx, edx
jne 0x497a39
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x498ef0
mov ecx, dword [esp + 0x58]
mov edx, eax
call fcn.004663a0
jmp 0x498ef0
movzx eax, byte [edx + 0x33]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
movsx eax, byte [edx + 0x31]
cmp eax, dword [ecx]
jne 0x497a58
xor eax, eax
mov dword [esp + 0x64], eax
jmp 0x497dec
cmp byte [esp + 0x53], 0
je 0x497a6e
mov eax, dword [esp + 0x10]
test byte [eax + 4], 1
mov eax, str.DISTINCT
je 0x497a73
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push esi
call fcn.0044e2c0
mov eax, dword [esp + 0x64]
add esp, 0x10
mov dword [esp + 0x64], 1
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x60], eax
mov edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edi, dword [eax + 0x20]
test edi, edi
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x5c]
jle 0x497af1
mov esi, dword [eax + 0x1c]
mov edi, edx
add esi, 0x12
nop dword [eax]
movsx ecx, word [esi]
lea eax, [edi + 1]
cmp ecx, edx
lea esi, [esi + 0x14]
cmovl eax, edi
mov edi, eax
lea eax, [edx + 1]
cmovl eax, edx
sub dword [esp + 0x48], 1
mov edx, eax
jne 0x497ac0
mov esi, dword [esp + 0xc]
mov ecx, edi
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x74], ecx
cmp ecx, 1
jne 0x497b1e
mov al, byte [esi + 0x13]
test al, al
jne 0x497b09
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x497b44
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov dword [esp + 0x2c], eax
jmp 0x497b44
mov edx, dword [esi + 0x20]
mov dword [esp + 0x2c], edx
cmp ecx, dword [esi + 0x1c]
jg 0x497b35
sub dword [esi + 0x1c], ecx
lea eax, [ecx + edx]
mov dword [esi + 0x20], eax
jmp 0x497b44
mov eax, dword [esi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esi + 0x2c], eax
mov edx, dword [esp + 0x54]
mov ecx, esi
push 0
push 0
push dword [esp + 0x34]
call fcn.0046b000
mov eax, dword [esp + 0x28]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x48], ecx
cmp dword [eax + 0x20], ecx
jle 0x497bc0
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x24], eax
mov edx, dword [esi + 0x1c]
add edx, eax
movsx eax, word [edx + 0x12]
cmp eax, dword [esp + 0x60]
jl 0x497ba7
mov eax, dword [esp + 0x60]
mov ecx, edi
add eax, dword [esp + 0x2c]
push eax
movsx eax, word [edx + 0x10]
push eax
push dword [edx + 8]
mov edx, dword [edx]
call fcn.00469290
mov ecx, dword [esp + 0x54]
add esp, 0xc
inc dword [esp + 0x60]
mov eax, dword [esp + 0x24]
inc ecx
add eax, 0x14
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], eax
cmp ecx, dword [esi + 0x20]
jl 0x497b73
mov esi, dword [esp + 0xc]
mov al, byte [esi + 0x13]
test al, al
jne 0x497bcf
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x497bde
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x60], eax
cmp dword [edi + 0x70], ecx
jg 0x497c09
mov edx, dword [esp + 0x74]
mov ecx, edi
push eax
push edx
push dword [esp + 0x34]
mov edx, 0x61
call fcn.0044dd50
mov edx, dword [esp + 0x6c]
add esp, 0xc
jmp 0x497c3c
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x6c]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
cmp dword [edi + 0x70], ecx
jg 0x497c68
push 0
push edx
push eax
mov edx, 0x8b
mov ecx, edi
call fcn.0044dd50
mov edx, dword [esp + 0x6c]
add esp, 0xc
jmp 0x497c9b
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x8b
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 0x497cb3
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x497cb3
movzx eax, al
mov dword [esi + eax*4 + 0x98], edx
inc byte [esi + 0x13]
mov eax, dword [esp + 0x74]
cmp eax, 1
jne 0x497cda
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x497ce9
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x497ce9
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
jmp 0x497ce9
cmp eax, dword [esi + 0x1c]
jle 0x497ce9
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x94]
call fcn.004af3f0
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x48], edx
mov dword [eax + 8], edx
mov al, byte [esi + 0x13]
inc dword [esi + 0x28]
test al, al
jne 0x497d15
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x497d24
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x60], eax
cmp dword [edi + 0x70], ecx
jg 0x497d4b
mov edx, dword [esp + 0x74]
mov ecx, edi
push edx
push eax
push dword [esp + 0x50]
mov edx, 0x79
call fcn.0044dd50
add esp, 0xc
jmp 0x497d7e
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x497da5
push 0
push dword [esp + 0x6c]
mov ecx, edi
push edx
mov edx, 0x21
call fcn.0044dd50
add esp, 0xc
jmp 0x497dd8
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4], 0x21
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 + 0x1c]
mov edx, dword [esp + 0x94]
mov byte [eax + 1], 1
mov eax, 1
cmp dword [esp + 0x8c], 0
je 0x497e4d
mov ecx, dword [esp + 0x58]
test byte [ecx + 0x50], 4
jne 0x497e4d
test eax, eax
jne 0x497e0a
test byte [edx + 0x34], 8
je 0x497e4d
mov ecx, dword [edi]
mov dword [esp + 0xc0], 0
cmp byte [ecx + 0x57], 0
jne 0x497e4d
mov eax, dword [esp + 0xd4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.0044e920
mov word [esi], 0xb7
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x64], 0
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
je 0x497ec0
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
cmp dword [edi + 0x70], ecx
jg 0x497e89
push dword [esp + 0x48]
mov edx, 0x85
mov ecx, edi
push dword [esp + 0x64]
push eax
call fcn.0044dd50
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x497ec0
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x60]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x8c], eax
mov ecx, dword [ecx]
mov dword [esp + 0x74], ecx
test ecx, ecx
jle 0x497f9d
mov ecx, dword [esp + 0x54]
add ecx, 8
mov dword [esp + 0x60], ecx
nop word [eax + eax]
mov ecx, dword [esp + 0x98]
add ecx, eax
cmp dword [esp + 0x64], 0
mov dword [esp + 0x24], ecx
je 0x497f5f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x497f27
mov edx, dword [esp + 0x24]
mov ecx, edi
push edx
push eax
push dword [esp + 0x50]
mov edx, 0x5e
call fcn.0044dd50
add esp, 0xc
jmp 0x497f73
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x497f73
mov byte [edx], 1
mov edx, dword [esp + 0x60]
push ecx
mov ecx, esi
mov edx, dword [edx]
call fcn.0046ae90
add esp, 4
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x8c]
add dword [esp + 0x60], 0x14
inc eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], ecx
cmp eax, ecx
jl 0x497ef0
mov eax, dword [esp + 0x90]
test eax, eax
je 0x497fb4
inc dword [eax]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x24], edx
cmp dword [edi + 0x70], edx
jg 0x497fdf
mov eax, dword [esp + 0x30]
mov edx, 0x5a
push ecx
push dword [esp + 0x9c]
inc eax
mov ecx, edi
push eax
call fcn.0044dd50
add esp, 0xc
jmp 0x49801e
mov esi, dword [esp + 0xc]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x30]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x98]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
push 0xfffffffffffffff8
push dword [esp + 0x94]
mov edx, eax
mov ecx, edi
call fcn.0044eaf0
mov eax, dword [edi + 0x6c]
add esp, 8
mov dword [esp + 0x8c], eax
lea edx, [eax + 1]
cmp dword [edi + 0x70], eax
jg 0x49805a
push edx
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.0044dd50
add esp, 0xc
jmp 0x498086
mov esi, dword [esp + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [edi + 0x6c], edx
mov dword [eax + ecx*4], 0xd
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 ecx, dword [esi + 8]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], ecx
mov edx, dword [ecx + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x90], eax
cmp dword [ecx + 0x70], edx
jg 0x4980bf
push eax
mov eax, dword [esp + 0x34]
mov edx, 0x4f
inc eax
push eax
push dword [esp + 0xa0]
call fcn.0044dd50
add esp, 0xc
jmp 0x498101
mov edi, dword [esp + 0x5c]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x98]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
inc edx
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x498129
mov eax, dword [esp + 0x70]
mov edx, 9
push 0
push dword [esp + 0x80]
inc eax
mov ecx, edi
push eax
call fcn.0044dd50
add esp, 0xc
jmp 0x498161
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x498184
push 0
push dword [esp + 0x6c]
mov edx, 0x31
mov ecx, edi
push dword [esp + 0x78]
call fcn.0044dd50
add esp, 0xc
jmp 0x4981b7
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
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 [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4981da
push 0
push dword [esp + 0x24]
mov edx, 9
mov ecx, edi
push dword [esp + 0x38]
call fcn.0044dd50
add esp, 0xc
jmp 0x49820d
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49821f
mov eax, 0x632198
jmp 0x498237
mov ecx, dword [esp + 0x8c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
push dword [esp + 0x14]
mov dword [eax + 8], edx
mov ecx, esi
push dword [esp + 0x20]
mov edx, dword [esp + 0x80]
call fcn.00495ae0
mov ecx, dword [edi + 0x6c]
add esp, 8
cmp dword [edi + 0x70], ecx
jg 0x498274
push 0
push dword [esp + 0x7c]
mov edx, 0x47
mov ecx, edi
push 1
call fcn.0044dd50
add esp, 0xc
jmp 0x4982a7
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
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 dword [esp + 0x64], 0
je 0x498306
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x4982d5
push 0
push dword [esp + 0x30]
mov ecx, edi
push edx
mov edx, 0x24
call fcn.0044dd50
add esp, 0xc
jmp 0x498347
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
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
jmp 0x498343
mov ecx, dword [esp + 0x94]
call fcn.004af3f0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
jne 0x498347
mov eax, dword [esp + 0x6c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.0044e920
add esp, 4
mov word [esi], 0xb7
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x49835a
mov ecx, dword [esp + 0x58]
mov edx, eax
call fcn.004663a0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x498382
mov eax, dword [esp + 0x70]
mov edx, 9
push 0
push dword [esp + 0x80]
inc eax
mov ecx, edi
push eax
call fcn.0044dd50
add esp, 0xc
jmp 0x4983ba
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4983db
push 0
push dword [esp + 0x6c]
mov edx, 8
mov ecx, edi
push 0
call fcn.0044dd50
add esp, 0xc
jmp 0x49840e
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 8
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 [edi + 0x6c]
mov dword [esp + 0x6c], ecx
cmp dword [edi + 0x70], ecx
jg 0x498437
push 0
push dword [esp + 0x74]
mov edx, 0x47
mov ecx, edi
push 1
call fcn.0044dd50
mov edx, dword [esp + 0x7c]
add esp, 0xc
jmp 0x49846a
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
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 [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49848b
push 0
lea eax, [edx + 1]
mov ecx, edi
push 0
push eax
mov edx, 0x43
call fcn.0044dd50
add esp, 0xc
jmp 0x4984c3
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
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 [edi + 0xc]
mov edx, dword [esp + 0x7c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4984e1
push edx
mov edx, edi
call fcn.0044e4c0
add esp, 4
jmp 0x4984ea
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [edi + 0x6c]
lea ecx, [eax + 1]
lea edx, [eax + 2]
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x70], eax
jg 0x498517
push 0
push edx
push dword [esp + 0x80]
mov edx, 0x31
mov ecx, edi
call fcn.0044dd50
add esp, 0xc
jmp 0x498547
mov esi, dword [esp + 0x78]
mov dword [edi + 0x6c], ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0xc]
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 [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49856a
mov eax, dword [esp + 0x70]
mov edx, 0x43
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.0044dd50
add esp, 0xc
jmp 0x4985a2
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
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 edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.00495a00
push 0x10
push dword [esp + 0x28]
push dword [esp + 0x88]
push esi
call fcn.0046b780
push dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x124]
push dword [esp + 0x38]
mov ecx, esi
push dword [esp + 0xa0]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
call fcn.0048e9e0
mov ecx, dword [edi + 0x6c]
add esp, 0x28
cmp dword [edi + 0x70], ecx
jg 0x498612
mov eax, dword [esp + 0x70]
mov edx, 0x43
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.0044dd50
add esp, 0xc
jmp 0x49864a
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
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 [edi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x498668
push edx
mov edx, edi
call fcn.0044e4c0
add esp, 4
jmp 0x498671
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.00495930
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49869d
push 0
push dword [esp + 0x7c]
mov edx, 0x47
mov ecx, edi
push 0
call fcn.0044dd50
add esp, 0xc
jmp 0x4986d0
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
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 [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4986f1
push 0
push 0
push dword [esp + 0x38]
mov edx, 0x43
mov ecx, edi
call fcn.0044dd50
add esp, 0xc
jmp 0x498724
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
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
cmp word [esp + 0x18], 0
je 0x498e21
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x498e21
mov eax, dword [esp + 0x1c]
mov edx, ecx
mov ecx, esi
mov eax, dword [eax + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.0048e910
add esp, 8
jmp 0x498e21
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x24], 0
jne 0x498b54
mov eax, dword [edx + 0x1c]
cmp dword [eax], 1
jne 0x498b54
mov eax, dword [edx + 0x20]
cmp dword [eax], 1
jne 0x498b54
cmp dword [eax + 0x1c], 0
jne 0x498b54
cmp ecx, 1
jne 0x498b54
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x78], ecx
cmp byte [ecx + 0x2b], 0
jne 0x498b4f
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 8]
cmp byte [eax], 0xa8
jne 0x498b4f
mov esi, dword [edx + 0x1c]
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 8]
mov esi, dword [esp + 0xc]
cmp dword [edi + 0x28], eax
mov edi, dword [esp + 0x5c]
jne 0x498b4f
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x498b4f
mov esi, dword [edx + 0x1c]
mov eax, dword [esi + 8]
mov esi, dword [esp + 0xc]
test dword [eax + 4], 0x1000004
jne 0x498b4f
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], 0xffff8000
test eax, eax
je 0x49882d
mov eax, dword [esi]
xor ecx, ecx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edi
je 0x49882d
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edi
jne 0x498821
mov dword [esp + 0x48], ecx
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [esp + 0x20], eax
inc eax
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], ecx
mov ecx, esi
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [ecx + 0x54]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov eax, 1
shl eax, cl
test dword [esp + 0x64], eax
jne 0x498899
mov eax, dword [esp + 0x64]
bts eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x64]
mov dword [eax + 0x54], edi
cmp ecx, 1
jne 0x49889e
mov ecx, eax
call fcn.00479d80
jmp 0x4988c8
cmp ecx, 1
je 0x4988cc
mov eax, dword [esi]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x4988cc
mov eax, dword [esp + 0x78]
mov ecx, esi
mov edx, dword [esp + 0x48]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.004729c0
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
test byte [eax + 0x1c], 0x80
je 0x4988fb
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
test ecx, ecx
je 0x4988fd
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4988f5
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4988e5
mov dword [esp + 0x7c], ecx
jmp 0x4988fd
xor ecx, ecx
mov eax, dword [edx + 0x20]
test byte [eax + 0x30], 1
jne 0x498946
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 8]
test eax, eax
je 0x498946
mov edi, dword [esp + 0x78]
test byte [eax + 0x38], 4
jne 0x498937
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x28]
jge 0x498937
cmp dword [eax + 0x24], 0
jne 0x498937
test ecx, ecx
je 0x498935
cmp dx, word [ecx + 0x30]
jge 0x498937
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x498915
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x7c], ecx
test ecx, ecx
je 0x49895e
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0047a610
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x70], ecx
jg 0x49898b
push dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov ecx, edi
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, 0x70
call fcn.0044dd50
add esp, 0xc
mov ecx, eax
jmp 0x4989c2
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4989dd
mov eax, dword [edi + 0x68]
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 0x498a29
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4989fd
push edx
mov edx, 0xfffffff8
call fcn.0044e920
add esp, 4
jmp 0x498a29
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x498a22
push 0xfffffffffffffff8
push edx
lea edx, [eax - 0x14]
mov ecx, edi
call fcn.0044ea20
add esp, 8
jmp 0x498a29
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xf8
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x6c]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x70], ecx
jg 0x498a5b
push 0
push eax
push dword [esp + 0x28]
mov edx, 0x62
mov ecx, edi
call fcn.0044dd50
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x498a92
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x498ab0
push 0
push 0
push edx
mov edx, 0x7a
mov ecx, edi
call fcn.0044dd50
add esp, 0xc
jmp 0x498ae3
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x7a
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 [esi + 0xcf], 2
jne 0x498de2
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
test ecx, ecx
je 0x498b17
test byte [edx + 0x1c], 0x80
je 0x498b0b
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x498b17
mov eax, dword [ecx]
mov dword [esp + 0x14], 1
jmp 0x498b24
mov dword [esp + 0x14], 0
mov eax, 0x55faaf
cmp dword [esp + 0x14], 0
mov ecx, 0x55faaf
push eax
mov eax, str._USING_COVERING_INDEX
cmove eax, ecx
push eax
push dword [edx]
push str.SCAN__s_s_s
push 0
push esi
call fcn.0044e2c0
add esp, 0x18
jmp 0x498de2
mov ecx, 1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
cmp dword [edx + 0x24], 0
je 0x498c21
xor eax, eax
test ecx, ecx
jle 0x498bb4
mov edi, dword [edx + 0x28]
xor esi, esi
mov eax, dword [edi]
test dword [eax + 4], 0x1000000
jne 0x498b99
mov eax, dword [edi + 4]
test byte [eax + 4], 0x20
jne 0x498ba4
mov ecx, dword [edx + 0x2c]
inc esi
add edi, 0x14
cmp esi, ecx
jl 0x498b85
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x498c45
inc dword [esi + 0x2c]
mov ecx, dword [edi + 0x6c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x70], ecx
jg 0x498be8
push 0
push eax
push 0
mov edx, 0x47
mov ecx, edi
call fcn.0044dd50
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x498c45
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x5c]
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
jmp 0x498c45
cmp ecx, 1
jne 0x498c45
mov eax, dword [edx + 0x28]
cmp dword [eax + 0xc], 0
jl 0x498c45
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x24], eax
mov ecx, esi
call fcn.00495930
mov al, byte [esp + 0x2b]
mov ecx, esi
mov edx, dword [esp + 0x2c]
movzx eax, al
or ax, word [esp + 0x24]
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x24]
push dword [esp + 0xac]
push dword [esp + 0x78]
call fcn.004ae6c0
add esp, 0x18
mov dword [esp + 0x48], eax
test eax, eax
je 0x498ef0
movzx eax, byte [eax + 0x33]
mov ecx, esi
mov edx, dword [esp + 0x20]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00495ae0
mov edx, dword [esp + 0x1c]
add esp, 8
test edx, edx
je 0x498cc7
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x498cc7
push dword [eax + 0x10]
mov ecx, esi
push dword [eax + 0xc]
call fcn.0048e910
add esp, 8
mov edx, dword [esp + 0x20]
test edx, edx
je 0x498d20
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x498ced
push 0
push edx
push 1
mov edx, 0x47
mov ecx, edi
call fcn.0044dd50
add esp, 0xc
jmp 0x498d20
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
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 + 0x2b], 0
mov eax, dword [esp + 0x48]
je 0x498dd0
test byte [eax + 0x34], 4
je 0x498dd0
cmp byte [eax + 0x31], 0
je 0x498dd0
movzx ecx, byte [eax + 0x30]
sub ecx, 1
js 0x498d6c
lea edx, [ecx + 8]
lea edx, [edx + edx*2]
shl edx, 5
add edx, eax
mov eax, dword [edx + 0x50]
test byte [eax + 0x2c], 4
jne 0x498d8d
sub edx, 0x60
sub ecx, 1
jns 0x498d57
mov eax, dword [esp + 0x48]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 0x24]
cmp dword [edi + 0x70], ecx
jg 0x498d99
push 0
push edx
push 0
mov edx, 8
mov ecx, edi
call fcn.0044dd50
add esp, 0xc
jmp 0x498dcc
mov edx, dword [edx + 0x10]
mov ecx, edi
call fcn.0044df30
jmp 0x498dcc
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 8
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 eax, dword [esp + 0x48]
mov ecx, eax
call fcn.004af3f0
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.00495a00
push 0x10
push dword [esp + 0x6c]
mov dword [esp + 0xc8], 0
push dword [esp + 0x88]
push esi
call fcn.0046b780
mov eax, dword [esp + 0x78]
mov ecx, esi
mov edx, dword [esp + 0x20]
push eax
push eax
push dword [esp + 0xa0]
push 0
push 0
push 0xffffffffffffffff
call fcn.0048e9e0
add esp, 0x28
mov edx, dword [esp + 0x68]
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x498e3f
push edx
mov edx, edi
call fcn.0044e4c0
add esp, 4
jmp 0x498e48
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x111], 3
jne 0x498e67
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push esi
call fcn.0044e2c0
add esp, 0x10
cmp dword [esp + 0xc0], 0
je 0x498eba
cmp dword [esp + 0xc4], 0
mov ecx, str.ORDER_BY
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push esi
call fcn.0044e2c0
mov eax, dword [esp + 0x94]
mov ecx, esi
push dword [esp + 0x98]
mov edx, dword [esp + 0x24]
push dword [eax]
lea eax, [esp + 0xd8]
push eax
call fcn.0048f580
add esp, 0x1c
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0xa0]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x498edb
push edx
mov edx, edi
call fcn.0044e4c0
add esp, 4
jmp 0x498ee4
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
xor eax, eax
cmp dword [esi + 0x24], eax
setg al
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x498f08
mov edx, ecx
mov ecx, eax
call fcn.004663a0
mov ecx, dword [esi + 0xdc]
test ecx, ecx
jne 0x498f32
xor eax, eax
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x74]
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 8]
test ecx, ecx
jns 0x498f3d
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x498f6b
mov eax, 0x632198
mov eax, dword [eax + 8]
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x74]
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x68]
lea eax, [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x74]
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret