Function at 0x480980
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x50c7c4]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x54], eax
push edi
mov edi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x22c]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x230]
mov dword [esi + 0x22c], eax
inc eax
mov dword [esi + 0x230], eax
mov eax, dword [esi]
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], eax
test edi, edi
je 0x4820cb
cmp byte [eax + 0x1e], 0
jne 0x4820cb
cmp dword [esi + 0x40], 0
jne 0x4820cb
push 0
push 0
push 0
mov edx, 0x15
call fcn.004666b0
add esp, 0xc
test eax, eax
jne 0x4820cb
push 0x2c
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004af8a0
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp byte [eax], 4
ja 0x480a4c
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x40]
call fcn.0045f1a0
mov eax, 0xfffe
mov dword [edi + 0x18], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, esi
call fcn.0047ff70
mov eax, dword [edi + 0x18]
add esp, 4
cmp dword [esi + 0x40], 0
mov edx, dword [edi]
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
jne 0x482069
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 0x1e], 0
jne 0x482069
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x4c], eax
call fcn.0047c6e0
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x482061
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
cmp dword [ecx], 1
movzx eax, byte [eax]
jle 0x480ada
cmp eax, 6
je 0x480ac7
cmp eax, 7
jne 0x480ada
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.00437770
add esp, 8
jmp 0x482061
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x3c], edx
cmp dword [ecx + 0x1c], edx
jne 0x480c67
mov eax, dword [esp + 0x14]
movsx eax, word [eax]
cmp edx, eax
jge 0x480c67
mov esi, dword [esp + 0x14]
lea eax, [edx*8]
sub eax, edx
mov dword [esp + 0x1c], eax
mov esi, dword [esi + eax*8 + 0x18]
test esi, esi
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x24]
je 0x480c54
mov edi, dword [esp + 0x14]
cmp byte [edi + eax*8 + 0x1c], 0
mov edi, dword [esp + 0x48]
jne 0x480c54
call fcn.0045e0b0
add dword [esi + 0x220], eax
mov ecx, esi
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
push eax
call fcn.0047f010
add esp, 0xc
test eax, eax
je 0x480b91
cmp dword [esp + 8], 0
je 0x480b85
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x3c], eax
jmp 0x480c12
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ecx*8 + 0x20]
mov dword [esp + 0x100], eax
mov al, byte [esi + 0x230]
mov word [esp + 0xfc], 9
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + ecx*8 + 0x1f], al
lea eax, [esp + 0xfc]
mov edx, dword [esp + 0x5c]
mov ecx, esi
push eax
call fcn.00480980
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x14]
mov byte [ecx + eax*8 + 0x1c], 1
mov eax, dword [esp + 0x5c]
movsd xmm0, qword [eax + 0x48]
call fcn.004ddba1
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + edx*8 + 0x14]
mov edi, dword [esp + 0x48]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x482061
mov ecx, dword [esp + 0x18]
call fcn.0045e0b0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
sub dword [esi + 0x220], eax
mov eax, dword [ecx + 8]
cmp byte [edx], 4
mov dword [esp + 0x14], eax
jbe 0x480c4e
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x3c]
jmp 0x480c58
mov eax, dword [esp + 0x14]
inc edx
cmp dword [ecx + 0x1c], 0
mov dword [esp + 0x3c], edx
je 0x480af1
mov eax, dword [ecx]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
movzx eax, word [ecx + 6]
mov dword [esp + 0x70], edx
mov edx, eax
and edx, 1
cmp dword [ecx + 0x1c], 0
mov dword [esp + 0x60], edx
je 0x480d08
cmp dword [ecx + 0x24], 0
jne 0x480cd7
xor edi, edi
mov eax, ecx
xor edx, edx
mov dword [eax + 0x20], edi
inc edx
mov dword [eax + 0x24], ecx
mov edi, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x480ca5
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x480cd7
cmp edx, eax
jle 0x480cd7
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.00437770
add esp, 8
jmp 0x482061
push dword [esp + 0x58]
mov edx, ecx
mov ecx, esi
call fcn.0047c940
mov ecx, dword [esp + 0xac]
add esp, 4
mov dword [esi + 0x22c], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret
and al, 5
cmp al, 1
jne 0x480d38
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
push 0
call fcn.0045e9d0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [ecx + 0x10], eax
mov eax, 0xfffe
and word [ecx + 6], ax
mov edx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x10]
call fcn.004626d0
test eax, eax
jne 0x480e5e
mov eax, dword [esp + 0x40]
test byte [eax + 0xc], 0x20
jne 0x480e5e
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x58]
cmp byte [eax], 9
jne 0x480d8f
mov ecx, dword [esp + 0x34]
mov edx, 0x29
push 0
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
call fcn.0044f5d0
add esp, 0xc
mov ecx, edi
call fcn.0044f750
movsd xmm0, qword [0x4fe318]
mov ecx, eax
mov eax, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0xac], ecx
push ecx
mov ecx, esi
movsd qword [eax + 0x48], xmm0
call fcn.0047c720
mov ecx, dword [esp + 0x1c]
add esp, 4
test byte [ecx + 6], 1
je 0x481040
mov eax, dword [esi + 0x44]
mov dword [esp + 0x5c], eax
inc eax
mov dword [esi + 0x44], eax
mov edx, dword [ecx]
mov ecx, esi
call fcn.0047b710
push 0
push 0
push dword [esp + 0x64]
mov edx, 0x29
mov dword [esp + 0x38], eax
mov ecx, edi
call fcn.0044f5d0
mov edx, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
mov dword [esp + 8], edx
test edx, edx
je 0x480f57
cmp byte [ecx + 0x1e], 0
jne 0x480f57
test eax, eax
jns 0x480e1d
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
mov dword [esp + 0x34], eax
call fcn.0044fa40
mov eax, dword [esp + 0xc]
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
jne 0x480f4c
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x480f69
mov eax, dword [esp + 0x44]
test eax, eax
je 0x480d64
mov edx, eax
mov ecx, esi
call fcn.0047b710
mov ecx, dword [esp + 0x44]
mov edx, 0x29
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x44]
push 0
mov dword [ecx + 8], eax
inc dword [esi + 0x44]
mov eax, dword [ecx]
add eax, 2
push eax
push dword [ecx + 8]
mov ecx, edi
call fcn.0044f5d0
mov edx, eax
add esp, 0xc
mov eax, dword [edi + 4]
mov ecx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 8], eax
test eax, eax
je 0x480f28
mov esi, dword [edi]
cmp byte [esi + 0x1e], 0
mov esi, dword [esp + 0x24]
jne 0x480f28
test edx, edx
jns 0x480ec5
mov ecx, dword [edi + 0x1c]
dec ecx
lea edx, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [eax + edx*4 + 0x10]
mov dword [esp + 0x34], edx
movsx edx, byte [eax + edx*4 + 1]
call fcn.0044fa40
mov eax, dword [esp + 0xc]
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
jne 0x480f0f
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x40], ecx
jmp 0x480d6c
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], 0xfa
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x40], ecx
jmp 0x480d6c
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi]
push edx
mov edx, 0xfffffff0
call fcn.0044fa40
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x40], ecx
jmp 0x480d6c
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], 0xfa
jmp 0x480f69
mov edx, dword [esp + 0x2c]
push edx
mov edx, 0xfffffff0
call fcn.0044fa40
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x480f7b
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x10
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x4c], 0
mov edx, dword [esp + 0x10]
jne 0x48104d
test edx, edx
jne 0x481051
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x70]
mov ecx, esi
call fcn.0048c700
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x70], ecx
test ecx, ecx
je 0x482061
mov eax, dword [esp + 0x18]
movsd xmm1, qword [ecx + 0x28]
movsd xmm0, qword [eax + 0x48]
comisd xmm0, xmm1
jbe 0x480fd5
movsd qword [eax + 0x48], xmm1
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x48]
test edx, edx
js 0x48100b
cmp dword [esp + 0x44], 0
jne 0x48100b
push 1
mov ecx, edi
call fcn.0044fb60
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x40], 0xffffffff
push dword [ecx + 0x14]
mov edx, eax
push dword [ecx + 0x10]
mov ecx, esi
push dword [esp + 0x60]
push 0xffffffffffffffff
push dword [esp + 0x54]
push 0
push 0
push dword [esp + 0x50]
call fcn.0047b290
mov ecx, dword [esp + 0x90]
add esp, 0x20
call fcn.0048d300
jmp 0x481ffe
mov dword [esp + 0x5c], 0xffffffff
jmp 0x480f7f
test edx, edx
je 0x4810ae
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x481072
add edx, 0x10
nop
xor edi, edi
lea edx, [edx + 0x14]
dec eax
mov word [edx - 0x14], di
test eax, eax
jg 0x481060
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x481094
add edx, 0x10
xor esi, esi
lea edx, [edx + 0x14]
dec eax
mov word [edx - 0x14], si
test eax, eax
jg 0x481082
mov esi, dword [esp + 0x24]
movsd xmm0, qword [ecx + 0x48]
movsd xmm1, qword [0x4fe298]
comisd xmm0, xmm1
jbe 0x4810bb
movsd qword [ecx + 0x48], xmm1
jmp 0x4810bb
movsd xmm0, qword [0x4fe240]
movsd qword [ecx + 0x48], xmm0
mov ecx, edi
call fcn.0044f750
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
movdqa xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x7c]
movdqa xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xb0], esi
mov dword [esp + 0xcc], eax
test ecx, ecx
je 0x481117
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x88], eax
jmp 0x481122
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0xb0]
call fcn.00462a30
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xb0]
call fcn.00462a30
mov eax, dword [esp + 0x70]
test eax, eax
je 0x481183
lea ecx, [esp + 0xb0]
mov dword [esp + 0xec], 0x462760
mov dword [esp + 0xf8], ecx
mov edx, eax
lea ecx, [esp + 0xec]
mov dword [esp + 0xf0], 0x462a00
call fcn.0045c1d0
cmp dword [esp + 0xa0], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x98], eax
jle 0x4811ce
xor esi, esi
xor edi, edi
nop
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xb0]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x10]
call fcn.00462a30
inc edi
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0xa0]
jl 0x4811a0
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x482061
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x481d27
mov eax, dword [esi + 0x44]
mov edx, ecx
mov dword [esp + 0x80], eax
mov ecx, esi
inc eax
mov dword [esi + 0x44], eax
call fcn.0047b710
push 0
push dword [esp + 0x8c]
mov edx, 0x29
mov dword [esp + 0x7c], eax
push dword [esp + 0x88]
mov ecx, edi
call fcn.0044f5d0
mov edx, dword [edi + 4]
add esp, 0xc
mov dword [esp + 8], eax
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x30], edx
test edx, edx
je 0x48128a
cmp byte [eax + 0x1e], 0
jne 0x48128a
test ecx, ecx
jge 0x481243
mov ecx, dword [edi + 0x1c]
dec ecx
lea eax, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
mov dword [esp + 0x2c], eax
call fcn.0044fa40
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
jne 0x48127f
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x48129d
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], 0xfa
jmp 0x48129d
push dword [esp + 0x74]
mov edx, 0xfffffff0
mov ecx, eax
call fcn.0044fa40
add esp, 4
inc dword [esi + 0x48]
mov ecx, edi
mov eax, dword [esi + 0x48]
mov dword [esp + 0x50], eax
add eax, 2
mov dword [esi + 0x48], eax
call fcn.0044f750
inc dword [esi + 0x48]
mov ecx, edi
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x2c], eax
call fcn.0044f750
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], eax
push 0
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x2c], eax
mov dword [esi + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x7c], eax
mov eax, dword [edx]
mov edx, 7
add eax, ecx
mov ecx, edi
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x54]
inc eax
push eax
push 0
call fcn.0044f5d0
add esp, 0xc
mov edx, 7
mov ecx, edi
push 0
push dword [esp + 0x54]
push 0
call fcn.0044f5d0
add esp, 0xc
mov edx, 2
mov ecx, edi
push 0
push dword [esp + 0x68]
push dword [esp + 0x34]
call fcn.0044f5d0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push 0
push eax
push dword [esp + 0x70]
call fcn.0048c700
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
je 0x482061
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
test eax, eax
jne 0x481380
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x54], eax
jmp 0x4815d6
cmp dword [esp + 0x60], 0
je 0x481396
mov eax, dword [esp + 0x18]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x48139b
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.0047b7c0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x68], 1
mov eax, dword [eax]
mov dword [esp + 0x38], eax
inc eax
mov dword [esp + 0x1c], eax
mov ecx, eax
mov dword [esp + 0x4c], eax
test edx, edx
jle 0x4813e3
mov eax, dword [esp + 0x8c]
add eax, 0xc
cmp dword [eax], ecx
jl 0x4813dd
inc dword [esp + 0x4c]
inc ecx
add eax, 0x18
dec edx
jne 0x4813d4
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x10], eax
cmp ecx, edx
jg 0x481401
add eax, ecx
sub edx, ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], edx
jmp 0x481410
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x10], edx
mov dword [esi + 0x48], eax
mov ecx, esi
call fcn.004607c0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push 0
push ecx
mov ecx, esi
call fcn.00461e80
mov eax, dword [esp + 0x18]
mov edx, 0x35
add eax, dword [esp + 0x40]
mov ecx, edi
push 0
push eax
push dword [esp + 0x90]
call fcn.0044f5d0
add esp, 0x14
mov dword [esp + 0x60], 0
cmp dword [esp + 0x90], 0
jle 0x4814f0
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
jmp 0x481480
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x1c]
cmp dword [edx + eax + 0xc], edi
mov edi, dword [esp + 0x48]
jl 0x4814d7
push ecx
push dword [edx + eax + 4]
mov ecx, esi
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.004606c0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
cmp ecx, eax
je 0x4814ca
push 0
push ecx
push eax
mov edx, 0xf
mov ecx, edi
call fcn.0044f5d0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
inc dword [esp + 0x1c]
inc ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x60]
add eax, 0x18
inc edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], edx
cmp edx, dword [esp + 0x90]
jl 0x481480
mov al, byte [esi + 0x15]
test al, al
jne 0x4814ff
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
jmp 0x48150b
dec al
mov byte [esi + 0x15], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x18]
push eax
push dword [esp + 0x50]
mov edx, 0x1e
mov dword [esp + 0x24], eax
push dword [esp + 0x18]
mov ecx, edi
call fcn.0044f5d0
add esp, 0xc
mov edx, 0x46
mov ecx, edi
push 0
push dword [esp + 0x20]
push dword [esp + 0x88]
call fcn.0044f5d0
mov edx, dword [esp + 0x28]
add esp, 0xc
test edx, edx
je 0x481580
mov al, byte [esi + 0x15]
mov byte [esp + 0xf], al
cmp al, 8
jae 0x481580
xor ecx, ecx
lea eax, [esi + 0x60]
jmp 0x481560
cmp dword [eax + 0x10], edx
je 0x48157c
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x481560
movzx eax, byte [esp + 0xf]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x15]
jmp 0x481580
mov byte [eax + 8], 1
push dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.00460570
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, dword [esi + 0x38]
jle 0x4815a5
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x30]
call fcn.0048d300
push 0
push dword [esp + 0x40]
mov edx, 0x40
mov ecx, edi
push dword [esp + 0x88]
call fcn.0044f5d0
add esp, 0xc
mov byte [esp + 0x7d], 1
mov ecx, esi
call fcn.004607c0
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004607c0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], 0
cmp dword [eax], 0
jle 0x4816f6
mov ecx, dword [esp + 0x78]
xor edx, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x68], 0
je 0x481672
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x60], eax
cmp dword [edi + 0x20], eax
jg 0x481638
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x4816c5
mov eax, dword [esp + 0x60]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x64], 0
jmp 0x4816c5
mov byte [esp + 0x7c], 1
mov eax, dword [eax + 0xc]
mov edx, dword [edx + eax]
test edx, edx
je 0x481696
cmp byte [edx], 0x84
jne 0x481696
push 0
push ecx
push dword [edx + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, 0xe
jmp 0x4816bd
push ecx
mov ecx, esi
call fcn.00460b90
mov ecx, dword [esp + 0x14]
mov edx, eax
add esp, 4
cmp edx, ecx
je 0x4816c9
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4816c9
push 0
push ecx
push edx
mov edx, 0xf
mov ecx, eax
call fcn.0044f5d0
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x54]
inc ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
inc eax
add edx, 0x14
mov dword [esp + 0x1c], eax
cmp eax, dword [edi]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], edx
jl 0x481607
mov edx, dword [edi + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
mov dword [esp + 0x38], edx
cmp dword [edi + 0x20], edx
jg 0x48171e
mov ecx, edi
call fcn.0044f550
test eax, eax
je 0x48171a
mov edx, 1
jmp 0x48175a
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x78]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x60]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x64], 0
push 0xfffffffffffffffa
push dword [esp + 0x78]
mov ecx, edi
call fcn.0044fcc0
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x38], eax
cmp dword [edi + 0x20], eax
jg 0x481785
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x4817ba
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 4]
lea esi, [eax + eax*4]
inc dword [edi + 0x1c]
inc eax
mov word [ecx + esi*4], 0x19
mov byte [ecx + esi*4 + 3], 0
mov dword [ecx + esi*4 + 4], eax
mov dword [ecx + esi*4 + 8], 0
mov dword [ecx + esi*4 + 0xc], eax
mov dword [ecx + esi*4 + 0x10], 0
mov esi, dword [esp + 0x24]
mov byte [edi + 0x64], 0
mov eax, dword [esp + 0x54]
mov ecx, esi
mov edx, dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x2c]
call fcn.004609d0
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x4817ed
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481830
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
add edx, 2
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 2
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 byte [edi + 0x64], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x48184b
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481888
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x71
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 byte [edi + 0x64], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x4818a3
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x4818db
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 2
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 byte [edi + 0x64], 0
mov edx, dword [edi + 0x1c]
mov eax, dword [esp + 0x38]
cmp edx, eax
jle 0x4818f0
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.004803a0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x481916
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x48194e
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 7
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 byte [edi + 0x64], 0
cmp dword [esp + 0x68], 0
je 0x4819b5
mov eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 8], eax
cmp dword [edi + 0x20], eax
jg 0x48197b
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x4819ce
mov eax, dword [esp + 8]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x43
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 byte [edi + 0x64], 0
jmp 0x4819ce
mov ecx, dword [esp + 0x30]
call fcn.0048d300
mov edx, dword [esp + 8]
mov ecx, edi
push 1
call fcn.0044fb60
add esp, 4
mov eax, dword [edi + 0x1c]
mov dword [esp + 8], eax
cmp dword [edi + 0x20], eax
jg 0x4819e9
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481a2c
mov eax, dword [esp + 8]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
add edx, 2
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 2
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 byte [edi + 0x64], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 8], eax
cmp dword [edi + 0x20], eax
jg 0x481a47
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481a7f
mov eax, dword [esp + 8]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 1
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 byte [edi + 0x64], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x30], eax
cmp dword [edi + 0x20], eax
jg 0x481a9a
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481ad7
mov eax, dword [esp + 0x30]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
inc edx
mov word [eax + ecx*4], 7
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 byte [edi + 0x64], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 8], eax
cmp dword [edi + 0x20], eax
jg 0x481af2
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481b35
mov eax, dword [esp + 8]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
add edx, 2
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 3
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 byte [edi + 0x64], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x481b4e
mov eax, dword [esp + 0x6c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 8], eax
cmp dword [edi + 0x20], eax
jg 0x481b69
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481ba4
mov eax, dword [esp + 8]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
add eax, 2
mov esi, dword [esp + 0x50]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov word [ecx + edx*4], 0x71
mov byte [ecx + edx*4 + 3], 0
mov dword [ecx + edx*4 + 8], eax
mov dword [ecx + edx*4 + 0xc], 0
mov dword [ecx + edx*4 + 0x10], 0
mov byte [edi + 0x64], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x481bbf
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481c02
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
add edx, 2
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 3
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 byte [edi + 0x64], 0
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.00480280
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x70]
inc esi
mov ecx, dword [esp + 0x24]
push 8
push esi
call fcn.004622c0
push dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, eax
push esi
push dword [esp + 0x68]
mov esi, dword [esp + 0x38]
mov ecx, esi
push dword [esp + 0x70]
push dword [esp + 0x5c]
push 0
push 0
push dword [eax]
call fcn.0047b290
mov eax, dword [edi + 0x1c]
add esp, 0x28
mov dword [esp + 8], eax
cmp dword [edi + 0x20], eax
jg 0x481c68
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481ca7
mov eax, dword [esp + 8]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
add edx, 2
mov word [eax + ecx*4], 3
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 byte [edi + 0x64], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x481cc0
mov eax, dword [esp + 0x64]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.00480000
mov eax, dword [edi + 0x1c]
mov dword [esp + 8], eax
cmp dword [edi + 0x20], eax
jg 0x481cea
mov ecx, edi
call fcn.0044f550
test eax, eax
jne 0x481fe5
mov eax, dword [esp + 8]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 3
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 byte [edi + 0x64], 0
jmp 0x481fe5
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x7c]
mov dword [esp + 0x6c], 0
call fcn.0047f640
mov dword [esp + 0x20], eax
test eax, eax
je 0x481eac
mov ecx, dword [esi]
mov edx, dword [eax + 0x44]
call fcn.0047a090
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x64], eax
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [ecx + 0x14]
mov ecx, esi
mov dword [esp + 8], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], eax
call fcn.0046b020
mov eax, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [esp + 8]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.00466740
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x481deb
xor edx, edx
jmp 0x481db0
test edx, edx
je 0x481dbc
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jge 0x481dbe
mov edx, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x481db0
mov dword [esp + 0x28], edx
test edx, edx
je 0x481deb
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 8]
jge 0x481deb
mov eax, dword [edx + 0x14]
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.0046b5d0
mov dword [esp + 0x2c], eax
push dword [esp + 8]
mov edx, 0x26
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x6c]
call fcn.0044f5d0
mov edx, dword [esp + 0x38]
add esp, 0xc
test edx, edx
je 0x481e5f
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 8], ecx
test ecx, ecx
je 0x481e4f
cmp byte [eax + 0x1e], 0
jne 0x481e4f
mov eax, dword [edi + 0x1c]
dec eax
lea esi, [eax + eax*4]
push dword [ecx + esi*4 + 0x10]
movsx edx, byte [ecx + esi*4 + 1]
mov ecx, dword [edi]
call fcn.0044fa40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [eax + esi*4 + 0x10], ecx
mov byte [eax + esi*4 + 1], 0xfa
mov esi, dword [esp + 0x28]
jmp 0x481e5c
push edx
mov edx, 0xfffffff0
mov ecx, eax
call fcn.0044fa40
add esp, 4
mov eax, dword [esp + 0x9c]
mov edx, 0x1f
push 0
mov ecx, edi
push dword [eax + 8]
push dword [esp + 0x6c]
call fcn.0044f5d0
add esp, 0xc
mov edx, 0x2b
mov ecx, edi
push 0
push 0
push dword [esp + 0x6c]
call fcn.0044f5d0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.004808b0
add esp, 4
jmp 0x481f98
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
call fcn.0047f5d0
mov byte [esp + 0xf], al
test al, al
je 0x481f0f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
push 0
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.0045e9d0
mov edx, eax
add esp, 4
mov dword [esp + 0x6c], edx
mov dword [esp + 0x2c], edx
test edx, edx
je 0x481f0f
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x481f0f
mov eax, dword [edx + 0xc]
cmp byte [esp + 0xf], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.00480000
movzx eax, byte [esp + 0xf]
mov ecx, esi
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x70]
call fcn.0048c700
add esp, 0xc
mov dword [esp + 8], eax
test eax, eax
jne 0x481f51
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
call fcn.0045f1a0
jmp 0x482061
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.004803a0
cmp dword [esp + 0x2c], 0
jne 0x481f84
cmp byte [esp + 0xf], 0
je 0x481f84
mov eax, dword [esp + 8]
mov edx, 1
push 0
mov ecx, edi
push dword [eax + 0x14]
push 0
call fcn.0044f5d0
add esp, 0xc
mov ecx, dword [esp + 8]
call fcn.0048d300
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.00480280
mov edx, dword [esp + 0x70]
mov ecx, esi
push 8
push dword [esp + 0x40]
mov dword [esp + 0x4c], 0
call fcn.004622c0
mov eax, dword [esp + 0x44]
mov ecx, esi
push eax
push eax
push dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
mov edx, eax
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [eax]
call fcn.0047b290
mov edx, dword [esp + 0x94]
add esp, 0x28
mov ecx, dword [esp + 0x40]
call fcn.0045f1a0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x481ffe
mov eax, dword [esp + 0x3c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
cmp dword [esp + 0x5c], 0
jl 0x482011
mov edx, str.DISTINCT
mov ecx, esi
call fcn.0047b7c0
cmp dword [esp + 0x44], 0
je 0x48203d
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.0047b7c0
mov eax, dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
push dword [eax]
push edi
call fcn.0047b940
add esp, 0xc
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x482059
mov eax, dword [esp + 0xac]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0xa8]
mov dword [esi + 0x22c], ecx
test edi, edi
jne 0x482094
mov ecx, dword [esp + 0x58]
cmp byte [ecx], 5
jne 0x482094
push edx
mov edx, eax
mov ecx, esi
call fcn.0047c0c0
add esp, 4
push dword [esp + 0x8c]
mov esi, dword [esp + 0x44]
push esi
call fcn.00435500
push dword [esp + 0xa4]
push esi
call fcn.00435500
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret