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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
push esi
push edi
mov edi, ecx
mov dword [esp + 0x78], 1
mov esi, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x1d0]
mov dword [esp + 0xfc], 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 + 0x30], eax
test esi, esi
je 0x4aa3ff
cmp byte [eax + 0x41], 0
jne 0x4aa3ff
cmp dword [edi + 0x40], 0
jne 0x4aa3ff
push 0
push 0
push 0
mov edx, 0x15
call fcn.00487c90
add esp, 0xc
test eax, eax
jne 0x4aa3ff
push 0x30
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.004ce8d0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x4a84f6
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x30]
call fcn.00480060
mov eax, 0xfffe
mov dword [esi + 0x30], 0
and word [esi + 6], ax
push 0
mov edx, esi
mov ecx, edi
call fcn.004a7c00
mov eax, dword [esi + 0x30]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20]
add esp, 4
cmp dword [edi + 0x40], 0
mov edx, dword [esi]
movdqa xmmword [esp + 0xd0], xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xe8], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
jne 0x4aa2af
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x41], 0
jne 0x4aa2af
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x7c], eax
call fcn.004a2920
mov esi, eax
mov dword [esp + 0x64], esi
test esi, esi
je 0x4a859d
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 8]
cmp dword [ecx], 1
movzx eax, byte [edx]
jle 0x4a85fc
cmp eax, 0xa
je 0x4a858f
cmp eax, 0xb
jne 0x4a85fc
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.0044f640
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0xfc]
mov dword [edi + 0x1d0], esi
test eax, eax
jne 0x4a85d0
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x4a85d0
push edx
mov edx, ecx
mov ecx, edi
call fcn.004a2050
add esp, 4
mov esi, dword [esp + 0xbc]
mov ecx, dword [esp + 0x30]
test esi, esi
je 0x4aa33b
cmp dword [ecx + 0x208], 0
je 0x4aa2b9
mov edx, esi
call fcn.0044c8a0
jmp 0x4aa337
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [eax + 0x34], ecx
jne 0x4a866c
mov edx, dword [esp + 0x3c]
nop
cmp ecx, dword [edx]
jge 0x4a8669
lea eax, [ecx + ecx*4]
shl eax, 4
add eax, 8
add eax, edx
mov dword [esp + 0x28], eax
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x68], ecx
test ecx, ecx
je 0x4a8656
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4a86c5
test byte [eax + 0x28], 4
jne 0x4a8656
push ecx
push dword [eax + 0x1c]
mov edx, 0x11
mov ecx, esi
call fcn.0046b850
mov edx, dword [esp + 0x44]
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
inc ecx
cmp dword [eax + 0x34], 0
mov dword [esp + 0x24], ecx
je 0x4a8610
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x60], ecx
mov cl, byte [eax + 6]
and cl, 1
cmp dword [eax + 0x34], 0
mov byte [esp + 0x13], cl
mov byte [esp + 0x100], cl
je 0x4a8952
push edx
mov edx, eax
mov ecx, edi
call fcn.004a3450
mov esi, dword [esp + 0x100]
add esp, 4
mov dword [edi + 0x1d0], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
call fcn.0047eb80
add dword [edi + 0x1cc], eax
mov ecx, edi
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.004a6010
add esp, 0xc
test eax, eax
je 0x4a8729
cmp dword [esp + 0x14], 0
je 0x4a871d
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x24], eax
jmp 0x4a890b
mov eax, dword [esp + 0x3c]
cmp dword [eax], 1
jne 0x4a8811
mov eax, dword [esp + 0x30]
mov ecx, 0x100
test word [eax + 0x3c], cx
jne 0x4a8811
mov ecx, dword [esp + 0x18]
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 + 0x2c]
push 0
push eax
mov dword [ecx + 0x1c], eax
mov ecx, esi
call fcn.0046b720
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x18], edi
mov dword [esp + 0x110], eax
mov al, byte [ecx + 0x1d4]
mov word [esp + 0x10c], 0xd
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov byte [edx + 0x2c], al
lea eax, [esp + 0x10c]
mov edx, dword [esp + 0x68]
push eax
call fcn.004a8440
mov eax, dword [esp + 0x6c]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00450bb0
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x10]
mov word [ecx + 0x26], ax
mov ecx, esi
or dword [edx + 0x28], 4
mov eax, dword [esp + 0x11c]
push dword [edx + 0x1c]
mov dword [edx + 0x20], eax
mov edx, 0x15
call fcn.0046b7e0
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.0046bd90
mov edi, dword [esp + 0x18]
jmp 0x4a8900
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x60], 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.0046b850
mov edx, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x14], eax
inc eax
test byte [edx + 0x28], 2
mov dword [edx + 0x18], eax
jne 0x4a8858
mov ecx, edi
call fcn.00480670
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov ecx, dword [edx + 0x30]
lea eax, [esp + 0x10c]
mov dword [esp + 0x110], ecx
mov cl, byte [edi + 0x1d4]
mov word [esp + 0x10c], 0xc
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov byte [edx + 0x2c], cl
mov ecx, edi
mov edx, dword [esp + 0x68]
push eax
call fcn.004a8440
mov eax, dword [esp + 0x6c]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00450bb0
mov ecx, dword [esp + 0x30]
add esp, 8
mov ecx, dword [ecx + 0x10]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4a88cf
mov edx, eax
mov ecx, esi
call fcn.0046bd90
mov eax, dword [esp + 0x28]
mov edx, 0x12
mov ecx, esi
push dword [eax + 0x1c]
call fcn.0046b7e0
mov dword [esp + 0x24], eax
add esp, 4
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x20], eax
jbe 0x4a8900
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 + 0x30]
cmp byte [eax + 0x41], 0
jne 0x4a859d
mov ecx, dword [esp + 0x1c]
call fcn.0047eb80
sub dword [edi + 0x1cc], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
cmp byte [ecx], 8
mov dword [esp + 0x3c], edx
jbe 0x4a865a
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xd0], ecx
jmp 0x4a865a
mov al, byte [eax + 6]
and al, 5
cmp al, 1
jne 0x4a899b
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
call fcn.00483d30
add esp, 4
test eax, eax
jne 0x4a899b
mov eax, dword [esp + 0x1c]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x34]
call fcn.0047f780
mov ecx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [eax + 0x28], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a89f2
mov ecx, dword [esp + 0x38]
mov edx, eax
push dword [ecx]
mov ecx, edi
push 0
call fcn.004a14b0
mov edx, dword [edi + 0x44]
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x48]
lea ecx, [edx + 1]
mov dword [esp + 0xe8], edx
mov dword [edi + 0x44], ecx
push 0
mov ecx, dword [eax]
mov eax, dword [esp + 0x54]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, esi
push eax
push edx
mov edx, 0x39
call fcn.0046b8c0
add esp, 0x1c
mov dword [esp + 0xe4], eax
jmp 0x4a89fd
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 0xc
jne 0x4a8a1d
mov ecx, dword [esp + 0x38]
mov edx, 0x39
push dword [ecx]
mov ecx, esi
push dword [eax + 4]
call fcn.0046b850
add esp, 8
mov ecx, esi
call fcn.0046bae0
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], ecx
mov edx, eax
push ecx
mov ecx, edi
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], connect
call fcn.004a2970
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx + 8], 0
jne 0x4a8a79
mov eax, dword [esp + 0xe4]
test eax, eax
js 0x4a8a79
mov edx, eax
mov ecx, esi
call fcn.0046c100
or byte [esp + 0xe8], 1
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x3a
test byte [edx + 6], 1
je 0x4a8ade
mov edi, dword [edi + 0x44]
mov ecx, dword [esp + 0x18]
push 0xfffffffffffffffa
push ecx
lea eax, [edi + 1]
mov dword [esp + 0x10c], edi
mov dword [ecx + 0x44], eax
mov edx, dword [edx]
push 0
push 0
call fcn.004a14b0
add esp, 0xc
mov edx, 0x39
mov ecx, esi
push eax
push 0
push 0
push edi
call fcn.0046b8c0
mov ecx, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0x108], eax
test ecx, ecx
je 0x4a8ad2
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov edi, dword [esp + 0x18]
mov al, 3
mov edx, dword [esp + 0x1c]
jmp 0x4a8ae0
xor al, al
cmp dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x101], al
mov dword [esp + 0x68], eax
jne 0x4a8c05
test ecx, ecx
jne 0x4a8c05
push ecx
xor eax, eax
mov ecx, 0x400
cmp byte [esp + 0x17], al
cmovne eax, ecx
mov ecx, edi
movzx eax, ax
push eax
push dword [edx]
mov edx, dword [esp + 0x48]
push dword [esp + 0x4c]
push dword [esp + 0xa0]
call fcn.004b9950
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
je 0x4aa2a7
mov cx, word [eax + 0x20]
call fcn.00450c60
mov ecx, eax
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + 0x1c]
ja 0x4a8b5d
jb 0x4a8b57
cmp ecx, dword [eax + 0x18]
jae 0x4a8b5d
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x24]
je 0x4a8b8d
mov eax, dword [esp + 0x68]
mov cl, byte [edx + 0x28]
movzx eax, al
test cl, cl
mov dword [esp + 0x68], eax
movzx eax, cl
mov ecx, dword [esp + 0x68]
cmovne ecx, eax
mov dword [esp + 0x68], ecx
mov byte [esp + 0x101], cl
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4a8bae
movsx eax, byte [edx + 0x24]
xor edx, edx
cmp eax, dword [ecx]
mov dword [esp + 0xd4], eax
cmove ecx, edx
mov dword [esp + 0xd0], ecx
mov eax, dword [esp + 0xe4]
test eax, eax
js 0x4a8bc6
test ecx, ecx
jne 0x4a8bc6
mov edx, eax
mov ecx, esi
call fcn.0046bf60
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x1c]
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0x108]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
push dword [esp + 0x50]
call fcn.004a08a0
mov ecx, dword [esp + 0x40]
add esp, 0x1c
call fcn.004ba330
jmp 0x4aa005
mov dword [esp + 0x74], 0
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x4a8c8b
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x64]
test eax, eax
jle 0x4a8c49
mov ecx, dword [esp + 0x14]
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x4a8c33
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
test eax, eax
jle 0x4a8c76
mov ecx, dword [esp + 0x14]
add ecx, 0x16
lea ecx, [ecx]
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x4a8c60
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
cmp dword [edx + 0x1c], 0
ja 0x4a8c82
cmp dword [edx + 0x18], 0x64
jbe 0x4a8c99
mov dword [edx + 0x18], 0x64
jmp 0x4a8c92
mov dword [edx + 0x18], 1
mov dword [edx + 0x1c], 0
mov edx, dword [esp + 0x40]
push 0xffffffffffffffff
call fcn.00483d30
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0046bae0
mov ecx, dword [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x3c]
movdqa xmmword [esp + 0x120], xmm0
mov dword [esp + 0x124], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x12c], eax
mov eax, dword [edi + 0x48]
inc eax
movdqa xmmword [esp + 0x130], xmm0
mov dword [esp + 0x120], edi
mov dword [esp + 0xb0], eax
test ecx, ecx
je 0x4a8d1b
mov eax, dword [ecx]
mov dword [esp + 0xac], eax
jmp 0x4a8d26
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x38]
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x120]
call fcn.00484270
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x120]
call fcn.00484270
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4a8d63
mov edx, eax
lea ecx, [esp + 0x120]
call fcn.00484230
cmp dword [esp + 0xcc], 0
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xc4], edx
jle 0x4a8de9
mov ax, word [esp + 0x13c]
xor edi, edi
xor esi, esi
jmp 0x4a8d90
or ax, 8
lea ecx, [esp + 0x120]
mov word [esp + 0x13c], ax
mov eax, dword [esp + 0xc8]
mov edx, dword [edi + eax]
mov edx, dword [edx + 0x14]
call fcn.00484270
mov ax, word [esp + 0x13c]
lea edi, [edi + 0x10]
mov ecx, 0xfff7
inc esi
and ax, cx
mov word [esp + 0x13c], ax
cmp esi, dword [esp + 0xcc]
jl 0x4a8d90
mov edx, dword [esp + 0xc0]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x41], 0
jne 0x4a859d
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4a9c4d
mov eax, dword [edi + 0x44]
push edx
mov dword [esp + 0xa8], eax
mov edx, ecx
inc eax
mov ecx, edi
push 0
mov dword [edi + 0x44], eax
call fcn.004a14b0
mov edx, eax
mov ecx, esi
push 0xfffffffffffffffa
push edx
push 0
push dword [esp + 0xc0]
mov dword [esp + 0xb0], edx
mov edx, 0x3a
push dword [esp + 0xbc]
call fcn.0046b8c0
mov dword [esp + 0x30], eax
add esp, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, esi
inc eax
mov dword [esp + 0x28], eax
add eax, 2
mov dword [edi + 0x48], eax
call fcn.0046bae0
inc dword [edi + 0x48]
mov ecx, esi
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x6c], eax
call fcn.0046bae0
mov edx, dword [edi + 0x48]
mov dword [esp + 0x70], eax
lea eax, [edx + 1]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x2c]
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 + 0x28]
mov ecx, esi
inc eax
mov dword [esp + 0x24], edx
push eax
push 0
mov edx, 0x19
call fcn.0046b850
push dword [esp + 0x30]
mov edx, 0x19
mov ecx, esi
push 0
call fcn.0046b850
mov eax, dword [esp + 0x3c]
mov edx, 0x1c
mov ecx, dword [esp + 0x9c]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, esi
call fcn.0046b720
add esp, 0x1c
mov edx, 0x11
mov ecx, esi
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.0046b850
mov eax, dword [esp + 0x28]
neg eax
push 0
sbb eax, eax
and eax, 0x800
mov edx, dword [esp + 0x48]
mov ecx, 0x100
or ax, cx
mov ecx, edi
movzx eax, ax
push eax
push 0
push dword [esp + 0x40]
push dword [esp + 0xa8]
call fcn.004b9950
mov edx, eax
add esp, 0x1c
mov dword [esp + 0x90], edx
test edx, edx
je 0x4a859d
mov eax, dword [esp + 0x2c]
movsx ecx, byte [edx + 0x24]
cmp ecx, dword [eax]
jne 0x4a8f68
xor ecx, ecx
mov dword [esp + 0x7c], ecx
jmp 0x4a9364
cmp byte [esp + 0x13], 0
je 0x4a8f7e
mov eax, dword [esp + 0x1c]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x4a8f83
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.004a1540
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], 1
mov ecx, dword [eax]
mov edx, ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4a8fd7
mov eax, dword [esp + 0xbc]
add eax, 0xc
cmp dword [eax], ecx
jl 0x4a8fc7
inc edx
inc ecx
add eax, 0x18
dec dword [esp + 0x34]
jne 0x4a8fc1
mov dword [esp + 0x84], edx
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x40], eax
cmp edx, ecx
jg 0x4a8ff1
add eax, edx
sub ecx, edx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], ecx
jmp 0x4a9000
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x40], ecx
mov dword [edi + 0x48], eax
mov ecx, edi
call fcn.00481da0
mov edx, dword [esp + 0x2c]
push 0
push dword [esp + 0x44]
call fcn.00483250
add esp, 8
mov dword [esp + 0x78], 0
cmp dword [esp + 0xc0], 0
jle 0x4a9119
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
add edx, ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x34], 0
jmp 0x4a9050
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0xbc]
cmp dword [esi + eax + 0xc], ecx
mov esi, dword [esp + 0x64]
jl 0x4a90fe
mov ecx, dword [esp + 0x34]
push 0
push edx
push dword [ecx + eax + 4]
mov edx, dword [ecx + eax]
push dword [ecx + eax + 8]
mov ecx, edi
call fcn.00481cf0
mov edx, dword [esp + 0x84]
add esp, 0x10
mov dword [esp + 0xc], eax
cmp edx, eax
je 0x4a90ea
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x5c], eax
cmp dword [ecx + 0x54], eax
jg 0x4a90b6
mov ecx, esi
call fcn.0046b6a0
mov edx, dword [esp + 0x74]
test eax, eax
jne 0x4a90ea
mov eax, dword [esp + 0x5c]
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 + 0x18]
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 + 0x80]
inc ecx
inc edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x78]
add dword [esp + 0x34], 0x18
inc eax
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0xc0]
jl 0x4a9050
mov al, byte [edi + 0x13]
test al, al
jne 0x4a912c
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x34], ecx
jmp 0x4a913c
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a915a
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9191
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x31
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 + 0xa4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a91ba
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a91f0
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x6d
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 0x4a91f4
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4a9228
mov al, byte [edi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x4a9228
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], edx
je 0x4a9224
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4a9208
movzx eax, byte [esp + 0x13]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x4a9228
mov byte [eax + 6], 1
push dword [esp + 0x84]
mov edx, dword [esp + 0x44]
mov ecx, edi
call fcn.00481aa0
mov eax, dword [esp + 0x88]
add esp, 4
cmp eax, dword [edi + 0x38]
jle 0x4a9253
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0x90]
call fcn.004ba330
mov eax, dword [edi + 0x44]
mov dword [esp + 0x74], eax
mov dword [esp + 0xa8], eax
inc eax
mov dword [edi + 0x44], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x4a9284
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x34], edx
jmp 0x4a9294
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a92b2
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a92e9
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 0x3c
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 + 0xa4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a9312
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9349
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x94]
mov word [eax + ecx*4], 0x6a
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 + 0xa1], 1
call fcn.00481da0
mov edx, dword [esp + 0x90]
mov ecx, 1
cmp dword [esp + 0x20], 0
je 0x4a9397
mov eax, dword [esp + 0x30]
test byte [eax + 0x3c], 4
jne 0x4a9397
test ecx, ecx
jne 0x4a937e
cmp byte [edx + 0x25], cl
je 0x4a9397
mov edx, dword [esp + 0xe4]
mov ecx, esi
mov dword [esp + 0xd0], 0
call fcn.0046bf60
mov eax, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.00481da0
cmp dword [esp + 0x7c], 0
je 0x4a940c
mov eax, dword [esp + 0xa4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a93d8
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a940c
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x64
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x80], eax
cmp dword [edx], eax
jle 0x4a94d2
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x7c], 0
je 0x4a948b
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a9450
mov ecx, esi
call fcn.0046b6a0
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x4a94b0
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x18]
mov word [eax + ecx*4], 0x2f
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x74]
mov byte [ecx + 3], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x80]
mov dword [ecx + 8], eax
add eax, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
jmp 0x4a94b0
add eax, dword [esp + 0x24]
mov byte [esp + 0xa0], 1
mov edx, dword [edx + 4]
push eax
mov edx, dword [edx + ecx]
mov ecx, edi
call fcn.00483120
mov esi, dword [esp + 0x68]
add esp, 4
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x20]
inc eax
add ecx, 0x18
mov dword [esp + 0x80], eax
mov dword [esp + 0x20], ecx
cmp eax, dword [edx]
jl 0x4a9427
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4a94df
inc dword [eax]
mov eax, dword [edx]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], edx
cmp dword [eax + 0x54], edx
jg 0x4a950a
mov ecx, esi
call fcn.0046b6a0
test eax, eax
je 0x4a9506
mov edx, 1
jmp 0x4a9545
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x18]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
je 0x4a95a4
cmp byte [ecx + 0x41], 0
jne 0x4a95a4
test edx, edx
jns 0x4a955c
mov edx, dword [esi + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esi + 4]
lea edx, [edx + eax*4]
mov dword [esp + 0xc], edx
mov edx, dword [esi + 4]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
call fcn.0046bdb0
mov eax, dword [esp + 0x10]
add esp, 4
mov edx, dword [esp + 0x98]
mov dword [eax + 0x10], 0
test edx, edx
jne 0x4a959b
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
jmp 0x4a95b9
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
jmp 0x4a95b9
mov edx, dword [esp + 0x98]
push edx
mov edx, 0xfffffffa
call fcn.0046bdb0
add esp, 4
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x78], edx
cmp dword [eax + 0x54], edx
jg 0x4a95d7
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9605
mov edx, dword [esp + 0x78]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x2b
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 + 0x2c]
mov edx, dword [edi + 8]
mov dword [esp + 0xc], edx
mov eax, dword [eax]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x5c], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a9638
mov ecx, edx
call fcn.0046b6a0
test eax, eax
jne 0x4a9671
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
lea ecx, [ecx + ecx*4]
inc dword [edx + 0x20]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a9675
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.00481aa0
mov eax, dword [esi + 0x18]
add esp, 4
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a96a2
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a96e4
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x64]
add edx, 2
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
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 eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a9702
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a973e
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x94]
mov word [eax + ecx*4], 0x89
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 0x4a975c
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9790
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
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 + 0x78]
cmp edx, eax
jbe 0x4a97a5
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 + 0xa0]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov ecx, edi
call fcn.004a7e90
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a97db
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a980f
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
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
cmp dword [esp + 0x7c], 0
je 0x4a987c
mov eax, dword [esp + 0xa4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a9843
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a98cf
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
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 0x4a98cf
mov ecx, dword [esp + 0x90]
call fcn.004ba330
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x20]
jge 0x4a98cf
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.0046bdb0
xorps xmm0, xmm0
add esp, 4
movdqu xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9c
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x18]
dec eax
cmp dword [esp + 0x14], eax
jne 0x4a98cf
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a98ed
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a992f
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x64]
add edx, 2
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
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 eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a994d
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9984
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x94]
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 eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a99a2
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a99db
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
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 eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a99f9
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9a38
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x64]
add edx, 2
mov edi, dword [esp + 0x18]
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 + 0x88]
mov dword [esp + 0xc], eax
js 0x4a9a58
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4a9a58
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 [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x14], edx
cmp dword [eax + 0x54], edx
jg 0x4a9a81
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9ab3
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x89
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x28]
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 eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a9ad1
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9b10
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x64]
add edx, 2
mov edi, dword [esp + 0x18]
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 + 0xa0]
mov ecx, edi
call fcn.004a7d80
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
inc edi
mov ecx, dword [esp + 0x18]
push 0x10
push edi
call fcn.00483860
push dword [esp + 0x28]
lea eax, [esp + 0x10c]
push edi
push dword [ebp + 8]
mov edi, dword [esp + 0x2c]
mov ecx, edi
push eax
lea eax, [esp + 0xe8]
push eax
mov eax, dword [esp + 0x38]
mov edx, eax
push 0xffffffffffffffff
push dword [eax]
call fcn.004a08a0
mov eax, dword [esi + 0x18]
add esp, 0x24
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a9b81
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9bbc
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x64]
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 + 0x70]
mov dword [esp + 0xc], eax
js 0x4a9bd9
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4a9bd9
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xa0]
mov ecx, dword [esp + 0xc]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, edi
call fcn.004a7c90
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a9c14
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9fda
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x6c]
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 0x4a9fda
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
mov dword [esp + 0x8c], 0
call fcn.004a66e0
mov dword [esp + 0x24], eax
test eax, eax
je 0x4a9e75
mov ecx, dword [edi]
mov edx, dword [eax + 0x40]
call fcn.0049ef90
mov edx, eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x14], edx
lea ecx, [eax + 1]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x44], ecx
mov ecx, edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x20], eax
call fcn.0048db50
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x14]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.00487d20
mov edx, dword [esp + 0x30]
add esp, 0xc
test byte [edx + 0x2a], 0x20
je 0x4a9ce5
mov ecx, edx
call fcn.00489140
mov ecx, eax
mov dword [esp + 0x88], ecx
jmp 0x4a9ce7
xor ecx, ecx
mov eax, dword [edx + 8]
test eax, eax
je 0x4a9d26
mov edi, dword [esp + 0x24]
test byte [eax + 0x34], 4
jne 0x4a9d14
movzx edx, word [eax + 0x2c]
cmp dx, word [edi + 0x28]
jge 0x4a9d14
cmp dword [eax + 0x24], 0
jne 0x4a9d14
test ecx, ecx
je 0x4a9d12
cmp dx, word [ecx + 0x2c]
jge 0x4a9d14
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4a9cf2
mov edi, dword [esp + 0x18]
mov dword [esp + 0x88], ecx
test ecx, ecx
je 0x4a9d3e
mov eax, dword [ecx + 0x28]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.0048e470
mov dword [esp + 0x6c], eax
push 1
push dword [esp + 0x18]
mov edx, 0x36
mov ecx, esi
push dword [esp + 0x28]
push dword [esp + 0x7c]
call fcn.0046ba30
mov eax, dword [esp + 0x7c]
add esp, 0x10
test eax, eax
je 0x4a9da8
mov edx, dword [esi + 4]
mov ecx, dword [esi]
test edx, edx
je 0x4a9d9a
cmp byte [ecx + 0x41], 0
jne 0x4a9d9a
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.0046bdb0
mov eax, dword [esp + 0x70]
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
mov edi, dword [esp + 0x1c]
jmp 0x4a9da5
push eax
mov edx, 0xfffffffa
call fcn.0046bdb0
add esp, 4
mov eax, dword [esp + 0xc8]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x4a9dd4
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9e08
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x32
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 0x4a9e26
mov ecx, esi
call fcn.0046b6a0
test eax, eax
jne 0x4a9e5a
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 0x3d
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 + 0x88]
mov ecx, edi
mov edx, dword [esp + 0x24]
push eax
call fcn.004a83c0
add esp, 4
jmp 0x4a9f87
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x2c], 0
jne 0x4a9ef2
lea edx, [esp + 0x6c]
lea ecx, [esp + 0xa0]
call fcn.004a6670
mov byte [esp + 0x13], al
test al, al
je 0x4a9eea
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
push 0
call fcn.0047f780
mov edx, eax
add esp, 4
mov dword [esp + 0x70], edx
mov dword [esp + 0x8c], edx
test edx, edx
je 0x4a9ef2
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x41], 0
jne 0x4a9ef2
mov eax, dword [edx + 4]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
jmp 0x4a9ef2
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.004a7c90
mov al, byte [esp + 0x13]
mov ecx, edi
mov edx, dword [esp + 0x3c]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x7c]
push dword [esp + 0xa0]
call fcn.004b9950
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4a9f42
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x30]
call fcn.00480060
jmp 0x4a859d
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.004a7e90
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x24], 0
jle 0x4a9f72
push dword [eax + 0x34]
mov edx, 0x10
mov ecx, esi
push 0
call fcn.0046b850
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, eax
call fcn.004ba330
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.004a7d80
mov edx, dword [esp + 0x60]
mov ecx, edi
push 0x10
push dword [esp + 0x98]
mov dword [esp + 0xd8], 0
call fcn.00483860
mov eax, dword [esp + 0x9c]
mov ecx, edi
push eax
push eax
push dword [ebp + 8]
mov eax, dword [esp + 0x30]
mov edx, eax
push 0
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.004a08a0
mov edx, dword [esp + 0xb0]
add esp, 0x24
mov ecx, dword [esp + 0x30]
call fcn.00480060
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x94]
mov dword [esp + 0xc], eax
js 0x4a9ffa
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4a9ffa
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 + 0x68]
cmp al, 3
jne 0x4aa11a
cmp byte [edi + 0x1c2], 2
jne 0x4aa11a
mov eax, dword [edi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
mov dword [esp + 0x6c], eax
call fcn.0044e710
mov esi, dword [edi + 0x1d0]
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov dword [esp + 0xc], edx
cmp dword [ecx + 0x54], edx
jg 0x4aa070
mov ecx, eax
call fcn.0046b6a0
test eax, eax
je 0x4aa068
mov edx, 1
jmp 0x4aa0a0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x60]
inc dword [eax + 0x20]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x9d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
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 + 0x60]
mov esi, dword [eax + 4]
test esi, esi
mov ecx, dword [eax]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x64]
je 0x4aa10a
cmp byte [ecx + 0x41], 0
jne 0x4aa10a
test edx, edx
jns 0x4aa0c3
mov edx, dword [eax + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x14]
lea edx, [edx + eax*4]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x14]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
call fcn.0046bdb0
mov eax, dword [esp + 0x10]
add esp, 4
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], 0
test edx, edx
jne 0x4aa101
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
jmp 0x4aa11a
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
jmp 0x4aa11a
mov edx, dword [esp + 0x20]
push edx
or edx, 0xffffffff
call fcn.0046bdb0
add esp, 4
cmp dword [esp + 0xd0], 0
je 0x4aa261
cmp byte [edi + 0x1c2], 2
jne 0x4aa242
mov eax, dword [edi + 8]
mov ecx, str.ORDER_BY
cmp dword [esp + 0xd4], 0
mov dword [esp + 0x60], eax
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
call fcn.0044e710
mov esi, dword [edi + 0x1d0]
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov dword [esp + 0xc], edx
cmp dword [ecx + 0x54], edx
jg 0x4aa198
mov ecx, eax
call fcn.0046b6a0
test eax, eax
je 0x4aa190
mov edx, 1
jmp 0x4aa1c8
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x60]
inc dword [eax + 0x20]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x9d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
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 + 0x60]
mov esi, dword [eax + 4]
test esi, esi
mov ecx, dword [eax]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x64]
je 0x4aa232
cmp byte [ecx + 0x41], 0
jne 0x4aa232
test edx, edx
jns 0x4aa1eb
mov edx, dword [eax + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x14]
lea edx, [edx + eax*4]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x14]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
call fcn.0046bdb0
mov eax, dword [esp + 0x10]
add esp, 4
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], 0
test edx, edx
jne 0x4aa229
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
jmp 0x4aa242
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
jmp 0x4aa242
mov edx, dword [esp + 0x20]
push edx
or edx, 0xffffffff
call fcn.0046bdb0
add esp, 4
mov eax, dword [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [esp + 0x20]
push dword [eax]
lea eax, [esp + 0xd8]
push eax
call fcn.004a1610
add esp, 0xc
mov edx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x9c]
mov dword [esp + 0x9c], eax
js 0x4aa28f
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4aa28f
mov edi, dword [esp + 0x9c]
mov eax, dword [esi + 0x20]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
xor eax, eax
cmp dword [edi + 0x40], eax
setg al
mov dword [esp + 0x78], eax
jmp 0x4a85a2
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, 1
jmp 0x4a85aa
cmp esi, dword [ecx + 0x114]
jb 0x4aa2df
cmp esi, dword [ecx + 0x118]
jae 0x4aa2df
mov eax, dword [ecx + 0x110]
mov dword [esi], eax
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], esi
jmp 0x4aa33b
cmp dword [0x52c580], 0
je 0x4aa32d
mov eax, dword [0x53afe8]
test eax, eax
je 0x4aa2fb
push eax
call dword [0x52c5d4]
add esp, 4
push esi
call dword [0x52c5b0]
sub dword [0x53b028], eax
add esp, 4
dec dword [0x53b04c]
push esi
call dword [0x52c5a8]
mov eax, dword [0x53afe8]
add esp, 4
test eax, eax
je 0x4aa337
push eax
call dword [0x52c5dc]
jmp 0x4aa334
push esi
call dword [0x52c5a8]
add esp, 4
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0xc8]
test esi, esi
je 0x4aa3f5
cmp dword [ecx + 0x208], 0
je 0x4aa364
mov edx, esi
call fcn.0044c8a0
mov eax, dword [esp + 0x78]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [ecx + 0x114]
jb 0x4aa392
cmp esi, dword [ecx + 0x118]
jae 0x4aa392
mov eax, dword [ecx + 0x110]
mov dword [esi], eax
dec dword [ecx + 0xfc]
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x110], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x52c580], 0
je 0x4aa3eb
mov eax, dword [0x53afe8]
test eax, eax
je 0x4aa3ae
push eax
call dword [0x52c5d4]
add esp, 4
push esi
call dword [0x52c5b0]
sub dword [0x53b028], eax
add esp, 4
dec dword [0x53b04c]
push esi
call dword [0x52c5a8]
mov eax, dword [0x53afe8]
add esp, 4
test eax, eax
je 0x4aa3f5
push eax
call dword [0x52c5dc]
mov eax, dword [esp + 0x7c]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [0x52c5a8]
add esp, 4
mov eax, dword [esp + 0x78]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret