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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x529748]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x64], eax
mov esi, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov eax, dword [edi + 0x1d0]
mov dword [esp + 0xa0], eax
mov eax, dword [edi + 0x1d4]
mov dword [edi + 0x1d0], eax
inc eax
mov dword [edi + 0x1d4], eax
mov eax, dword [edi]
mov dword [esp + 0x60], eax
test esi, esi
je 0x4721c8
cmp byte [eax + 0x40], 0
jne 0x4721c8
cmp dword [edi + 0x40], 0
jne 0x4721c8
push 0
push 0
push 0
mov edx, 0x15
call fcn.00450d10
add esp, 0xc
test eax, eax
jne 0x4721c8
push 0x30
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.004c1b90
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp byte [eax], 8
ja 0x46ffa4
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x60]
call fcn.004497a0
mov eax, 0xfffe
mov dword [esi + 0x30], 0
and word [esi + 6], ax
push 0
mov edx, esi
mov ecx, edi
call fcn.0046f760
mov eax, dword [esi + 0x30]
xorps xmm0, xmm0
mov edx, dword [esi]
add esp, 4
cmp dword [edi + 0x40], 0
movdqa xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 0x20]
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0xc8], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
jne 0x4721b4
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x40], 0
jne 0x4721be
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x74], eax
call fcn.0046a850
mov esi, eax
mov dword [esp + 0x70], esi
test esi, esi
je 0x470050
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
cmp dword [ecx], 1
movzx eax, byte [edx]
jle 0x4700ba
cmp eax, 0xa
je 0x470042
cmp eax, 0xb
jne 0x4700ba
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.0041c450
add esp, 8
mov esi, 1
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa0]
mov dword [edi + 0x1d0], ecx
test esi, esi
jne 0x470084
mov ecx, dword [esp + 0x64]
cmp byte [ecx], 9
jne 0x470084
push edx
mov edx, eax
mov ecx, edi
call fcn.0046a000
add esp, 4
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0x60]
call fcn.00419d00
mov edx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x60]
call fcn.00419d00
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x48], ecx
cmp dword [eax + 0x34], ecx
jne 0x47012d
mov edx, dword [esp + 0x4c]
lea ecx, [ecx]
cmp ecx, dword [edx]
jge 0x470129
lea eax, [ecx + ecx*4]
shl eax, 4
add eax, 8
add eax, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x470116
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x470194
test byte [eax + 0x28], 4
jne 0x470116
push ecx
push dword [eax + 0x1c]
mov edx, 0x11
mov ecx, esi
call fcn.00436c50
mov edx, dword [esp + 0x54]
add esp, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
inc ecx
cmp dword [eax + 0x34], 0
mov dword [esp + 0x48], ecx
je 0x4700d0
mov edx, dword [esp + 0x64]
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x54], ecx
mov cl, byte [eax + 6]
and cl, 1
cmp dword [eax + 0x34], 0
mov byte [esp + 0x17], cl
mov byte [esp + 0xa4], cl
je 0x47041f
push edx
mov edx, eax
mov ecx, edi
call fcn.0046b240
mov ecx, dword [esp + 0xa4]
add esp, 4
mov dword [edi + 0x1d0], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
call fcn.00448390
add dword [edi + 0x1cc], eax
mov ecx, edi
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
push eax
call fcn.0046deb0
add esp, 0xc
test eax, eax
je 0x4701f5
cmp dword [esp + 0x10], 0
je 0x4701e9
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x48], eax
jmp 0x4703d7
mov eax, dword [esp + 0x4c]
cmp dword [eax], 1
jne 0x4702dd
mov eax, dword [esp + 0x60]
mov ecx, pe_nt_image_headers32
test word [eax + 0x3c], cx
jne 0x4702dd
mov ecx, dword [esp + 0x28]
mov edx, 0x14
mov edi, dword [esi + 0x20]
inc edi
push edi
mov eax, dword [ecx + 0x48]
inc eax
mov dword [ecx + 0x48], eax
mov ecx, dword [esp + 0x20]
push 0
push eax
mov dword [ecx + 0x1c], eax
mov ecx, esi
call fcn.00436b20
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x18], edi
mov dword [esp + 0x12c], eax
mov al, byte [ecx + 0x1d4]
mov word [esp + 0x128], 0xd
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov byte [edx + 0x2c], al
lea eax, [esp + 0x128]
mov edx, dword [esp + 0x5c]
push eax
call fcn.0046fee0
mov eax, dword [esp + 0x60]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.0041d870
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x10]
mov word [ecx + 0x1c], ax
mov ecx, esi
or dword [edx + 0x28], 4
mov eax, dword [esp + 0x138]
push dword [edx + 0x1c]
mov dword [edx + 0x20], eax
mov edx, 0x15
call fcn.00436be0
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.004370e0
mov edi, dword [esp + 0x28]
jmp 0x4703cc
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x54], eax
mov edx, 0x19
mov eax, dword [edi + 0x48]
inc eax
mov dword [edi + 0x48], eax
push eax
mov dword [ecx + 0x1c], eax
mov ecx, esi
push 0
call fcn.00436c50
mov edx, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x10], eax
inc eax
test byte [edx + 0x28], 2
mov dword [edx + 0x18], eax
jne 0x470324
mov ecx, edi
call fcn.00449c00
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov ecx, dword [edx + 0x30]
lea eax, [esp + 0x128]
mov dword [esp + 0x12c], ecx
mov cl, byte [edi + 0x1d4]
mov word [esp + 0x128], 0xc
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov byte [edx + 0x2c], cl
mov ecx, edi
mov edx, dword [esp + 0x5c]
push eax
call fcn.0046fee0
mov eax, dword [esp + 0x60]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.0041d870
mov ecx, dword [esp + 0x24]
add esp, 8
mov ecx, dword [ecx + 0x10]
mov word [ecx + 0x1c], ax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x47039b
mov edx, eax
mov ecx, esi
call fcn.004370e0
mov eax, dword [esp + 0x1c]
mov edx, 0x12
mov ecx, esi
push dword [eax + 0x1c]
call fcn.00436be0
mov dword [esp + 0x24], eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x20], eax
jbe 0x4703cc
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x20]
mov dword [ecx + edx*4 + 4], eax
mov dword [edi + 0x38], 0
mov byte [edi + 0x13], 0
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x40], 0
jne 0x470050
mov ecx, dword [esp + 0x24]
call fcn.00448390
sub dword [edi + 0x1cc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
mov edx, dword [eax + 0x20]
cmp byte [ecx], 8
mov dword [esp + 0x4c], edx
jbe 0x47011a
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xb0], ecx
jmp 0x47011a
mov al, byte [eax + 6]
and al, 5
cmp al, 1
jne 0x47056e
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.0044d410
add esp, 4
test eax, eax
jne 0x47056e
mov eax, dword [esp + 0x24]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x64]
call fcn.00448fb0
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax + 0x28], ecx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc4], 0xffffffff
mov eax, dword [esp + 0x64]
cmp byte [eax], 0xc
jne 0x4704a9
mov ecx, dword [esp + 0x50]
mov edx, 0x38
push dword [ecx]
mov ecx, esi
push dword [eax + 4]
call fcn.00436c50
add esp, 8
mov ecx, esi
call fcn.00436e50
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x98], ecx
mov edx, eax
push ecx
mov ecx, edi
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], SysReAllocString
call fcn.0046a8a0
mov edx, dword [esp + 0x28]
add esp, 4
cmp dword [edx + 8], 0
jne 0x470505
mov eax, dword [esp + 0xc4]
test eax, eax
js 0x470505
mov edx, eax
mov ecx, esi
call fcn.00437350
or byte [esp + 0xc8], 1
mov edx, dword [esp + 0x24]
mov byte [eax], 0x39
test byte [edx + 6], 1
je 0x4705c2
mov edi, dword [edi + 0x44]
mov ecx, dword [esp + 0x28]
push 0xfffffffffffffffa
push ecx
lea eax, [edi + 1]
mov dword [esp + 0xb0], edi
mov dword [ecx + 0x44], eax
mov edx, dword [edx]
push 0
push 0
call fcn.00469400
add esp, 0xc
mov edx, 0x38
mov ecx, esi
push eax
push 0
push 0
push edi
call fcn.00436cc0
mov ecx, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0xac], eax
test ecx, ecx
je 0x470562
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov edi, dword [esp + 0x28]
mov al, 3
mov edx, dword [esp + 0x24]
jmp 0x4705c4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47047d
push 0
push 0
mov edx, eax
mov ecx, edi
call fcn.00469400
mov edx, dword [edi + 0x44]
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x40]
lea ecx, [edx + 1]
mov dword [esp + 0xc8], edx
mov dword [edi + 0x44], ecx
mov ecx, esi
push 0
mov eax, dword [eax]
add eax, 2
push eax
push edx
mov edx, 0x38
call fcn.00436cc0
add esp, 0x1c
mov dword [esp + 0xc4], eax
jmp 0x470488
xor al, al
cmp dword [esp + 0x74], 0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xa5], al
mov dword [esp + 0x5c], eax
jne 0x4706ea
test ecx, ecx
jne 0x4706ea
push ecx
xor eax, eax
mov ecx, 0x400
cmp byte [esp + 0x1b], al
cmovne eax, ecx
mov ecx, edi
movzx eax, ax
push eax
push dword [edx]
mov edx, dword [esp + 0x58]
push dword [esp + 0x3c]
push dword [esp + 0x94]
call fcn.00480980
add esp, 0x14
mov dword [esp + 0x48], eax
test eax, eax
je 0x470050
mov cx, word [eax + 0x20]
call fcn.0041d920
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp edx, dword [eax + 0x1c]
ja 0x470641
jb 0x47063b
cmp ecx, dword [eax + 0x18]
jae 0x470641
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x48]
je 0x470671
mov eax, dword [esp + 0x5c]
mov cl, byte [edx + 0x28]
movzx eax, al
test cl, cl
mov dword [esp + 0x5c], eax
movzx eax, cl
mov ecx, dword [esp + 0x5c]
cmovne ecx, eax
mov dword [esp + 0x5c], ecx
mov byte [esp + 0xa5], cl
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x470692
movsx eax, byte [edx + 0x24]
xor edx, edx
cmp eax, dword [ecx]
mov dword [esp + 0xb4], eax
cmove ecx, edx
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0xc4]
test eax, eax
js 0x4706aa
test ecx, ecx
jne 0x4706aa
mov edx, eax
mov ecx, esi
call fcn.004371f0
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edx, dword [esp + 0x24]
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0xac]
push dword [esp + 0x6c]
push eax
lea eax, [esp + 0xc0]
push eax
push 0xffffffffffffffff
push dword [esp + 0x68]
call fcn.004687e0
mov ecx, dword [esp + 0x64]
add esp, 0x1c
call fcn.00481360
jmp 0x471fd3
mov dword [esp + 0x78], 0
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x47076d
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x70]
test eax, eax
jle 0x47072e
mov ecx, dword [esp + 0x10]
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x470718
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
test eax, eax
jle 0x470758
mov ecx, dword [esp + 0x10]
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x470742
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
cmp dword [edx + 0x1c], 0
ja 0x470764
cmp dword [edx + 0x18], 0x64
jbe 0x47077b
mov dword [edx + 0x18], 0x64
jmp 0x470774
mov dword [edx + 0x18], 1
mov dword [edx + 0x1c], 0
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.0044d410
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.00436e50
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
movdqa xmmword [esp + 0x100], xmm0
mov dword [esp + 0x104], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x10c], eax
mov eax, dword [edi + 0x48]
inc eax
movdqa xmmword [esp + 0x110], xmm0
mov dword [esp + 0x100], edi
mov dword [esp + 0xe0], eax
test ecx, ecx
je 0x4707fe
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xdc], eax
jmp 0x470809
mov dword [esp + 0xdc], 0
mov edx, dword [esp + 0x50]
mov dword [esp + 0xe8], ecx
lea ecx, [esp + 0x100]
call fcn.0044d930
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x100]
call fcn.0044d930
mov eax, dword [esp + 0x54]
test eax, eax
je 0x470846
mov edx, eax
lea ecx, [esp + 0x100]
call fcn.0044d8e0
cmp dword [esp + 0xfc], 0
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xf4], eax
jle 0x4708b7
mov al, byte [esp + 0x11c]
xor edi, edi
xor esi, esi
lea esp, [esp]
or al, 8
lea ecx, [esp + 0x100]
mov byte [esp + 0x11c], al
mov eax, dword [esp + 0xf8]
mov edx, dword [eax + edi]
mov edx, dword [edx + 0x14]
call fcn.0044d930
mov al, byte [esp + 0x11c]
lea edi, [edi + 0x10]
and al, 0xf7
inc esi
mov byte [esp + 0x11c], al
cmp esi, dword [esp + 0xfc]
jl 0x470870
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x40], 0
jne 0x470050
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x471c60
mov eax, dword [edi + 0x44]
mov edx, ecx
mov dword [esp + 0xd4], eax
mov ecx, edi
inc eax
push 0
push 0
mov dword [edi + 0x44], eax
call fcn.00469400
push 0xfffffffffffffffa
push eax
push 0
push dword [esp + 0xf0]
mov edx, 0x39
mov dword [esp + 0x38], eax
push dword [esp + 0xec]
mov ecx, esi
call fcn.00436cc0
mov dword [esp + 0x2c], eax
add esp, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, esi
inc eax
mov dword [esp + 0x30], eax
add eax, 2
mov dword [edi + 0x48], eax
call fcn.00436e50
inc dword [edi + 0x48]
mov ecx, esi
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x68], eax
call fcn.00436e50
mov edx, dword [edi + 0x48]
mov dword [esp + 0x6c], eax
lea eax, [edx + 1]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add ecx, edx
mov dword [edi + 0x48], ecx
mov eax, dword [eax]
add eax, ecx
mov dword [edi + 0x48], eax
lea edx, [ecx + 1]
mov eax, dword [esp + 0x30]
mov ecx, esi
inc eax
mov dword [esp + 0x74], edx
push eax
push 0
mov edx, 0x19
call fcn.00436c50
push dword [esp + 0x38]
mov edx, 0x19
mov ecx, esi
push 0
call fcn.00436c50
mov eax, dword [esp + 0x2c]
mov edx, 0x1c
mov ecx, dword [esp + 0xac]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, esi
call fcn.00436b20
add esp, 0x1c
mov edx, 0x11
mov ecx, esi
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.00436c50
mov eax, dword [esp + 0x60]
mov ecx, pe_nt_image_headers32
neg eax
push 0
sbb eax, eax
and eax, 0x800
mov edx, dword [esp + 0x58]
or ax, cx
movzx eax, ax
mov ecx, edi
push eax
push 0
push dword [esp + 0x30]
push dword [esp + 0x9c]
call fcn.00480980
mov edx, eax
add esp, 0x1c
mov dword [esp + 0x84], edx
test edx, edx
je 0x470050
mov eax, dword [esp + 0x1c]
movsx ecx, byte [edx + 0x24]
cmp ecx, dword [eax]
jne 0x470a32
xor eax, eax
mov dword [esp + 0x94], eax
jmp 0x470e69
cmp byte [esp + 0x17], 0
je 0x470a48
mov eax, dword [esp + 0x24]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x470a4d
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.004694c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x94], 1
mov eax, dword [eax]
mov dword [esp + 0x8c], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x78], ecx
mov edx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x470aa5
mov eax, dword [esp + 0xec]
add eax, 0xc
cmp dword [eax], ecx
jl 0x470a98
inc edx
inc ecx
add eax, 0x18
dec dword [esp + 0x2c]
jne 0x470a92
mov dword [esp + 0x48], edx
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x80], eax
cmp edx, ecx
jg 0x470ac2
add eax, edx
sub ecx, edx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], ecx
jmp 0x470ad4
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x80], ecx
mov dword [edi + 0x48], eax
mov ecx, edi
call fcn.0044b2c0
mov edx, dword [esp + 0x80]
push 0
push edx
mov edx, dword [esp + 0x24]
call fcn.0044c8a0
mov eax, dword [esp + 0x88]
mov edx, 0x45
add eax, dword [esp + 0x94]
mov ecx, esi
push eax
push dword [esp + 0xe0]
call fcn.00436c50
add esp, 0x10
mov dword [esp + 0x8c], 0
cmp dword [esp + 0xf0], 0
jle 0x470c1f
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
add edx, ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x2c], 0
jmp 0x470b50
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0xec]
cmp dword [eax + edi + 0xc], ecx
mov edi, dword [esp + 0x28]
jl 0x470bfe
mov ecx, dword [esp + 0x2c]
push 0
push edx
push dword [eax + ecx + 4]
mov edx, dword [eax + ecx]
push dword [eax + ecx + 8]
mov ecx, edi
call fcn.0044b210
mov edx, dword [esp + 0xa0]
add esp, 0x10
mov dword [esp + 0xc], eax
cmp edx, eax
je 0x470bed
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
cmp dword [ecx + 0x54], eax
jg 0x470bb9
mov ecx, esi
call fcn.00436aa0
mov edx, dword [esp + 0x90]
test eax, eax
jne 0x470bed
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x22
mov byte [eax + ecx*4 + 3], 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 [esp + 0x78]
inc ecx
inc edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x8c]
add dword [esp + 0x2c], 0x18
inc eax
mov dword [esp + 0x8c], eax
cmp eax, dword [esp + 0xf0]
jl 0x470b50
mov al, byte [edi + 0x13]
test al, al
jne 0x470c32
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x2c], ecx
jmp 0x470c42
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x470c60
mov ecx, esi
call fcn.00436aa0
test eax, eax
jne 0x470c97
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x30
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xd4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x470cc0
mov ecx, esi
call fcn.00436aa0
test eax, eax
jne 0x470cf6
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x6b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x470cfa
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x470d30
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x470d30
xor ecx, ecx
lea eax, [edi + 0x74]
mov edi, edi
cmp dword [eax + 0xc], edx
je 0x470d2c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x470d10
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x470d30
mov byte [eax + 6], 1
push dword [esp + 0x48]
mov edx, dword [esp + 0x84]
mov ecx, edi
call fcn.0044afc0
mov eax, dword [esp + 0x4c]
add esp, 4
cmp eax, dword [edi + 0x38]
jle 0x470d5b
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x80]
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0x84]
call fcn.00481360
mov eax, dword [edi + 0x44]
mov dword [esp + 0x78], eax
mov dword [esp + 0xd8], eax
inc eax
mov dword [edi + 0x44], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x470d8c
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x2c], edx
jmp 0x470d9c
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x470dba
mov ecx, esi
call fcn.00436aa0
test eax, eax
jne 0x470dee
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x3a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xd4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x470e17
mov ecx, esi
call fcn.00436aa0
test eax, eax
jne 0x470e4e
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0x68
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edi
mov byte [esp + 0xd1], 1
call fcn.0044b2c0
mov edx, dword [esp + 0x84]
mov eax, 1
cmp dword [esp + 0x58], 0
je 0x470e9c
mov ecx, dword [esp + 0x60]
test byte [ecx + 0x3c], 4
jne 0x470e9c
test eax, eax
jne 0x470e83
cmp byte [edx + 0x25], al
je 0x470e9c
mov edx, dword [esp + 0xc4]
mov ecx, esi
mov dword [esp + 0xb0], 0
call fcn.004371f0
mov eax, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x90], eax
call fcn.0044b2c0
mov eax, dword [esp + 0x94]
test eax, eax
je 0x470f1c
mov eax, dword [esp + 0xd4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x470ee1
mov ecx, esi
call fcn.00436aa0
test eax, eax
jne 0x470f15
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x62
mov byte [eax + ecx*4 + 3], 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 + 0x94]
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x2c], edx
cmp dword [ecx], edx
jle 0x470fdd
mov edi, edi
test eax, eax
je 0x470f9f
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x470f56
mov ecx, esi
call fcn.00436aa0
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x470f87
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x2e
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x78]
mov dword [ecx + 8], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x74]
add eax, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x470fc5
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x470fc5
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x470fc5
mov eax, dword [esp + 0x74]
add eax, edx
mov byte [esp + 0xd0], 1
push eax
lea eax, [edx + edx*2]
mov edx, dword [ecx + 4]
mov ecx, edi
mov edx, dword [edx + eax*8]
call fcn.0044c770
mov edx, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc edx
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], edx
cmp edx, dword [ecx]
jl 0x470f30
mov eax, dword [esp + 0x20]
test eax, eax
je 0x470fe7
inc dword [eax]
mov eax, dword [ecx]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x58], ecx
cmp dword [ecx + 0x54], edx
jg 0x47107a
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x47100e
add eax, eax
jmp 0x471013
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x4710e7
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x471052
cmp eax, dword [ecx + 0x110]
jae 0x471052
movzx ecx, word [ecx + 0xf0]
jmp 0x47105e
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x58]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x9c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x74]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x29
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov ecx, esi
push 0xfffffffffffffffa
push eax
call fcn.00437240
mov ecx, dword [esi + 0x18]
add esp, 8
mov edx, dword [esi + 0x20]
mov dword [esp + 0x58], edx
mov dword [esp + 0x20], ecx
cmp dword [ecx + 0x54], edx
jg 0x471156
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4710ee
add eax, eax
jmp 0x4710f3
mov edx, 1
jmp 0x4710b8
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x471184
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x47112e
cmp eax, dword [ecx + 0x110]
jae 0x47112e
movzx ecx, word [ecx + 0xf0]
jmp 0x47113a
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x20]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
lea eax, [edx + 1]
mov dword [ecx + 8], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x74]
push dword [eax]
push dword [esp + 0xa0]
call fcn.0044b4d0
mov ecx, dword [esi + 0x18]
add esp, 8
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp dword [ecx + 0x54], eax
jg 0x471229
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4711bd
add eax, eax
jmp 0x4711c2
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x471268
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x471201
cmp eax, dword [ecx + 0x110]
jae 0x471201
movzx ecx, word [ecx + 0xf0]
jmp 0x47120d
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x20]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
add edx, 2
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp dword [ecx + 0x54], eax
jg 0x4712f2
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x471286
add eax, eax
jmp 0x47128b
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x47132e
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4712ca
cmp eax, dword [ecx + 0x110]
jae 0x4712ca
movzx ecx, word [ecx + 0xf0]
jmp 0x4712d6
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x20]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0x87
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp dword [ecx + 0x54], eax
jg 0x4713b4
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x47134c
add eax, eax
jmp 0x471351
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x4713e8
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x47138c
cmp eax, dword [ecx + 0x110]
jae 0x47138c
movzx ecx, word [ecx + 0xf0]
jmp 0x471398
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x20]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
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 + 0x20]
mov eax, dword [esp + 0x58]
cmp edx, eax
jbe 0x4713fd
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0xd0]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov ecx, edi
call fcn.0046f9d0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp dword [ecx + 0x54], eax
jg 0x47149b
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x471433
add eax, eax
jmp 0x471438
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x4714cf
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x471473
cmp eax, dword [ecx + 0x110]
jae 0x471473
movzx ecx, word [ecx + 0xf0]
jmp 0x47147f
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x20]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [esp + 0x94]
test eax, eax
je 0x471540
mov eax, dword [esp + 0xd4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x471507
mov ecx, esi
call fcn.00436aa0
test eax, eax
jne 0x471593
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x90]
mov word [eax + ecx*4], 5
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x471593
mov ecx, dword [esp + 0x84]
call fcn.00481360
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x20]
jge 0x471593
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea edi, [eax + ecx*4]
mov ecx, dword [esi]
call fcn.00437100
xorps xmm0, xmm0
add esp, 4
movdqu xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9d
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x28]
dec eax
cmp dword [esp + 0x10], eax
jne 0x471593
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x47161d
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4715b1
add eax, eax
jmp 0x4715b6
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x47165c
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4715f5
cmp eax, dword [ecx + 0x110]
jae 0x4715f5
movzx ecx, word [ecx + 0xf0]
jmp 0x471601
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
add edx, 2
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x4716e2
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x47167a
add eax, eax
jmp 0x47167f
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x471719
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4716ba
cmp eax, dword [ecx + 0x110]
jae 0x4716ba
movzx ecx, word [ecx + 0xf0]
jmp 0x4716c6
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x58], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x4717a3
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x471737
add eax, eax
jmp 0x47173c
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x4717dc
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x47177b
cmp eax, dword [ecx + 0x110]
jae 0x47177b
movzx ecx, word [ecx + 0xf0]
jmp 0x471787
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x58]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
inc edx
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x471866
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4717fa
add eax, eax
jmp 0x4717ff
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x4718a5
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x47183e
cmp eax, dword [ecx + 0x110]
jae 0x47183e
movzx ecx, word [ecx + 0xf0]
jmp 0x47184a
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
add edx, 2
mov edi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
js 0x4718c2
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4718c2
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], edx
jg 0x471953
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4718eb
add eax, eax
jmp 0x4718f0
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x471985
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x47192b
cmp eax, dword [ecx + 0x110]
jae 0x47192b
movzx ecx, word [ecx + 0xf0]
jmp 0x471937
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x87
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
lea eax, [edx + 2]
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x471a0f
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4719a3
add eax, eax
jmp 0x4719a8
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x471a4e
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4719e7
cmp eax, dword [ecx + 0x110]
jae 0x4719e7
movzx ecx, word [ecx + 0xf0]
jmp 0x4719f3
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
add edx, 2
mov edi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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
lea edx, [esp + 0xd0]
mov ecx, edi
call fcn.0046f900
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
inc edi
mov ecx, dword [esp + 0x28]
push 8
push edi
call fcn.0044cf10
push dword [esp + 0x60]
lea eax, [esp + 0xb0]
push edi
push dword [esp + 0x74]
mov edi, dword [esp + 0x3c]
mov ecx, edi
push eax
lea eax, [esp + 0xc8]
push eax
mov eax, dword [esp + 0x40]
mov edx, eax
push 0xffffffffffffffff
push dword [eax]
call fcn.004687e0
mov ecx, dword [esi + 0x18]
add esp, 0x24
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x471b2c
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x471ac0
add eax, eax
jmp 0x471ac5
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x471b67
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x471b04
cmp eax, dword [ecx + 0x110]
jae 0x471b04
movzx ecx, word [ecx + 0xf0]
jmp 0x471b10
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
add edx, 2
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
js 0x471b84
mov edx, dword [eax + 0x70]
test edx, edx
je 0x471b84
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xd0]
mov ecx, dword [esp + 0xc]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, edi
call fcn.0046f810
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x471c27
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x471bbb
add eax, eax
jmp 0x471bc0
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.00419fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x471fa8
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x471bff
cmp eax, dword [ecx + 0x110]
jae 0x471bff
movzx ecx, word [ecx + 0xf0]
jmp 0x471c0b
push eax
call dword [0x52b548]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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
jmp 0x471fa8
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xd0]
mov dword [esp + 0x7c], 0
call fcn.0046e520
mov dword [esp + 0x48], eax
test eax, eax
je 0x471e48
mov ecx, dword [edi]
mov edx, dword [eax + 0x44]
call fcn.00467070
mov edx, eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x10], edx
lea ecx, [eax + 1]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x44], ecx
mov ecx, edi
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], eax
call fcn.00456720
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edx, dword [esp + 0x10]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.00450da0
mov edx, dword [esp + 0x54]
add esp, 0xc
test byte [edx + 0x2c], 0x20
je 0x471cef
mov ecx, edx
call fcn.00451f40
mov ecx, eax
mov dword [esp + 0x6c], ecx
jmp 0x471cf1
xor ecx, ecx
mov eax, dword [edx + 8]
test eax, eax
je 0x471d31
mov edi, dword [esp + 0x48]
lea esp, [esp]
test byte [eax + 0x38], 4
jne 0x471d22
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x2a]
jge 0x471d22
cmp dword [eax + 0x24], 0
jne 0x471d22
test ecx, ecx
je 0x471d20
cmp dx, word [ecx + 0x30]
jge 0x471d22
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x471d00
mov edi, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
test ecx, ecx
je 0x471d49
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.00457090
mov dword [esp + 0x58], eax
push 1
push dword [esp + 0x14]
mov edx, 0x35
mov ecx, esi
push dword [esp + 0x28]
push dword [esp + 0x74]
call fcn.00436de0
mov eax, dword [esp + 0x68]
add esp, 0x10
test eax, eax
je 0x471d7e
push 0xfffffffffffffffa
push eax
or edx, 0xffffffff
mov ecx, esi
call fcn.00437240
add esp, 8
mov eax, dword [esp + 0xf8]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x471daa
mov ecx, esi
call fcn.00436aa0
test eax, eax
jne 0x471dde
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 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 [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x471dfc
mov ecx, esi
call fcn.00436aa0
test eax, eax
jne 0x471e30
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x3b
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [esp + 0x6c]
mov ecx, edi
mov edx, dword [esp + 0x48]
push eax
call fcn.0046fe60
add esp, 4
jmp 0x471f54
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x2c], 0
jne 0x471ec2
lea edx, [esp + 0x68]
lea ecx, [esp + 0xd0]
call fcn.0046e4b0
mov byte [esp + 0x17], al
test al, al
je 0x471eba
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
push 0
call fcn.00448fb0
mov edx, eax
add esp, 4
mov dword [esp + 0x6c], edx
mov dword [esp + 0x7c], edx
test edx, edx
je 0x471ec2
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x40], 0
jne 0x471ec2
mov eax, dword [edx + 4]
cmp byte [esp + 0x17], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
jmp 0x471ec2
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
lea edx, [esp + 0xd0]
mov ecx, edi
call fcn.0046f810
mov al, byte [esp + 0x17]
mov ecx, edi
mov edx, dword [esp + 0x4c]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x78]
push dword [esp + 0x94]
call fcn.00480980
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x471f0f
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x60]
call fcn.004497a0
jmp 0x470050
lea edx, [esp + 0xd0]
mov ecx, edi
call fcn.0046f9d0
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x24], 0
jle 0x471f3f
push dword [eax + 0x34]
mov edx, 0x10
mov ecx, esi
push 0
call fcn.00436c50
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, eax
call fcn.00481360
lea edx, [esp + 0xd0]
mov ecx, edi
call fcn.0046f900
mov edx, dword [esp + 0x54]
mov ecx, edi
push 8
push dword [esp + 0x8c]
mov dword [esp + 0xb8], 0
call fcn.0044cf10
mov eax, dword [esp + 0x90]
mov ecx, edi
push eax
push eax
push dword [esp + 0x74]
mov eax, dword [esp + 0x38]
mov edx, eax
push 0
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.004687e0
mov edx, dword [esp + 0xa0]
add esp, 0x24
mov ecx, dword [esp + 0x60]
call fcn.004497a0
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x88]
mov dword [esp + 0xc], eax
js 0x471fc8
mov edx, dword [eax + 0x70]
test edx, edx
je 0x471fc8
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0xc]
dec eax
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x5c]
cmp al, 3
jne 0x47208c
cmp byte [edi + 0x1c2], 2
jne 0x47208c
mov ecx, dword [edi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
mov dword [esp + 0x60], ecx
call fcn.0041b720
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, dword [edi + 0x1d0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov dword [esp + 0xc], edx
cmp dword [ecx + 0x54], edx
jg 0x472042
mov ecx, eax
call fcn.00436aa0
test eax, eax
je 0x47203a
mov edx, 1
jmp 0x47207a
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0xc]
inc dword [eax + 0x20]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x70]
mov word [eax + ecx*4], 0x9e
mov byte [eax + ecx*4 + 3], 0
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 + 0x54]
push 0xffffffffffffffff
push dword [esp + 0x14]
call fcn.00437240
add esp, 8
cmp dword [esp + 0xb0], 0
je 0x472178
cmp byte [edi + 0x1c2], 2
jne 0x472158
mov ecx, dword [edi + 8]
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x54], ecx
mov ecx, str.ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
call fcn.0041b720
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, dword [edi + 0x1d0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov dword [esp + 0xc], edx
cmp dword [ecx + 0x54], edx
jg 0x47210e
mov ecx, eax
call fcn.00436aa0
test eax, eax
je 0x472106
mov edx, 1
jmp 0x472146
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0xc]
inc dword [eax + 0x20]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x70]
mov word [eax + ecx*4], 0x9e
mov byte [eax + ecx*4 + 3], 0
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 + 0x54]
push 0xffffffffffffffff
push dword [esp + 0x14]
call fcn.00437240
add esp, 8
mov eax, dword [esp + 0x50]
mov ecx, edi
push dword [esp + 0x64]
mov edx, dword [esp + 0x28]
push dword [eax]
lea eax, [esp + 0xb8]
push eax
call fcn.00469590
add esp, 0xc
mov edx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x98]
mov dword [esp + 0x98], eax
js 0x4721a6
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4721a6
mov edi, dword [esp + 0x98]
mov eax, dword [esi + 0x20]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 0x20]
dec eax
xor esi, esi
mov dword [edx + 0x58], eax
jmp 0x470055
mov esi, 1
jmp 0x47005d
mov esi, 1
jmp 0x470059
mov ecx, dword [esp + 0x13c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret