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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x54], 0
mov ebx, edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x28], ebx
mov eax, dword [edi + 0x1cc]
mov esi, dword [edi]
mov dword [esp + 0xec], eax
mov eax, dword [edi + 0x1d0]
mov dword [edi + 0x1cc], eax
inc eax
mov dword [edi + 0x1d0], eax
mov dword [esp + 0x20], esi
test ebx, ebx
je 0x47a1ac
cmp byte [esi + 0x41], 0
jne 0x47a1ac
cmp dword [edi + 0x40], 0
jne 0x47a1ac
push 0
push 0
push 0
mov edx, 0x15
call fcn.00458da0
add esp, 0xc
test eax, eax
jne 0x47a1ac
push 0x30
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.004df150
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x4780f5
mov edx, dword [ebx + 0x30]
mov ecx, esi
call fcn.00451100
mov eax, 0xfffe
mov dword [ebx + 0x30], 0
and word [ebx + 6], ax
push 0
mov edx, ebx
mov ecx, edi
call fcn.004779e0
mov eax, dword [ebx + 0x30]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x20]
add esp, 4
cmp dword [edi + 0x40], 0
movlpd qword [esp + 0xd4], xmm0
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x1c], ecx
jne 0x47a0c0
cmp byte [esi + 0x41], 0
jne 0x47a0c0
mov eax, dword [ebp + 8]
movzx edx, word [ebx + 6]
shr edx, 3
and edx, 1
mov cl, byte [eax]
mov eax, dword [ebx]
mov dword [esp + 0x60], edx
cmp dword [eax], 1
jle 0x478181
cmp cl, 0xa
je 0x47816e
cmp cl, 0xb
jne 0x478181
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.00422020
add esp, 8
jmp 0x47a0bc
xor esi, esi
cmp dword [ebx + 0x34], esi
jne 0x47821e
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx]
jge 0x47821e
lea eax, [esi + esi*4]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x1c]
test eax, eax
je 0x478213
movzx ebx, word [eax + 6]
mov ecx, edi
shr ebx, 3
and ebx, 1
push ebx
push edx
mov edx, dword [esp + 0x30]
push esi
call fcn.00476320
add esp, 0xc
test eax, eax
je 0x4781dc
test ebx, ebx
je 0x4781d9
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], 1
or word [eax + 6], 8
or esi, 0xffffffff
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x20]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x1c], ecx
jne 0x47a0b6
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x60]
cmp byte [eax], 8
jbe 0x478213
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x1c]
inc esi
cmp dword [ebx + 0x34], 0
je 0x478190
mov ecx, edi
call fcn.00473800
mov ebx, eax
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x47a0b0
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x34], 0
je 0x478260
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
call fcn.00474210
mov edx, dword [esp + 0xf0]
add esp, 4
mov dword [edi + 0x1cc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], 0
cmp dword [eax], 0
jle 0x478516
lea esi, [eax + 0x20]
mov ecx, eax
mov dword [esp + 0x5c], esi
nop
mov eax, dword [esi - 4]
mov dword [esp + 0x48], eax
test eax, eax
je 0x4784fa
mov eax, dword [esi]
test eax, eax
je 0x4782b7
test byte [esi + 0x10], 4
jne 0x4784fa
push eax
push dword [esi + 4]
mov edx, 0xf
mov ecx, ebx
call fcn.0043c960
add esp, 8
jmp 0x4784f6
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], 0
call fcn.0044fa90
mov eax, dword [esp + 0x4c]
add dword [edi + 0x1c8], eax
test byte [esi + 0xc], 0x20
jne 0x4782f6
mov eax, dword [esp + 0x28]
push dword [esi + 0x18]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
push dword [eax + 0x24]
call fcn.00476970
add esp, 8
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x4783ea
mov eax, dword [esp + 0x28]
test byte [eax + 6], 2
jne 0x4783ea
mov eax, dword [esp + 0x20]
mov ecx, 0x100
test word [eax + 0x3c], cx
jne 0x4783ea
mov ecx, dword [esp + 0x6c]
mov edx, 0x11
mov edi, dword [ebx + 0x20]
mov eax, dword [ecx + 0x48]
inc eax
lea esi, [edi + 1]
mov dword [ecx + 0x48], eax
mov ecx, dword [esp + 0x5c]
push esi
push 0
push eax
mov dword [ecx + 4], eax
mov ecx, ebx
call fcn.0043c830
mov eax, dword [esp + 0x68]
add esp, 0xc
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
mov word [esp + 0x88], 0xd
mov dword [eax], esi
mov esi, eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x8c], eax
mov al, byte [ecx + 0x1d0]
mov byte [esi + 0x14], al
lea eax, [esp + 0x88]
push eax
call fcn.00478040
mov eax, dword [esp + 0x4c]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.004234d0
mov ecx, dword [esi - 8]
mov edx, 0x12
mov word [ecx + 0x26], ax
mov ecx, ebx
mov eax, dword [esp + 0x98]
push dword [esi + 4]
or dword [esi + 0x10], 4
mov dword [esi + 8], eax
call fcn.0043c8f0
add esp, 0xc
mov edx, edi
mov ecx, ebx
call fcn.0043cea0
mov edi, dword [esp + 0x6c]
jmp 0x4784be
xor eax, eax
mov edx, 0x17
mov dword [esp + 0x4c], eax
mov ecx, ebx
mov eax, dword [edi + 0x48]
inc eax
push eax
mov dword [edi + 0x48], eax
push 0
mov dword [esi + 4], eax
call fcn.0043c960
mov dword [esp + 0x20], eax
add esp, 8
inc eax
test byte [esi + 0x10], 2
mov dword [esi], eax
jne 0x478424
mov ecx, edi
call fcn.004516e0
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x8c], eax
mov al, byte [edi + 0x1d0]
mov byte [esi + 0x14], al
lea eax, [esp + 0x88]
push eax
mov word [esp + 0x8c], 0xc
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
call fcn.00478040
mov eax, dword [esp + 0x4c]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.004234d0
mov ecx, dword [esi - 8]
add esp, 8
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x478497
mov edx, eax
mov ecx, ebx
call fcn.0043cea0
push dword [esi + 4]
mov edx, 0x10
mov ecx, ebx
call fcn.0043c8f0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x20], eax
jbe 0x4784be
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [esp + 0x20]
mov byte [edi + 0x13], 0
mov dword [edi + 0x38], 0
cmp byte [eax + 0x41], 0
jne 0x47a0ba
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], 0
call fcn.0044fa90
mov eax, dword [esp + 0x4c]
sub dword [edi + 0x1c8], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
add esi, 0x50
inc eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x38], eax
cmp eax, dword [ecx]
jl 0x478280
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2c], eax
mov al, byte [esi + 6]
and al, 1
mov dword [esp + 0x54], ecx
mov byte [esp + 0x37], al
mov byte [esp + 0x88], al
movzx eax, byte [esi + 6]
and al, 9
mov dword [esp + 0x4c], edx
cmp al, 1
jne 0x478587
mov edx, ecx
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.00454fb0
add esp, 4
test eax, eax
jne 0x478583
mov edx, dword [esp + 0x54]
mov eax, 0xfffe
mov ecx, dword [esp + 0x20]
and word [esi + 6], ax
push 0
call fcn.00450760
mov ecx, eax
add esp, 4
mov dword [esp + 0x2c], ecx
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4785dc
push dword [ecx]
mov edx, eax
mov ecx, edi
push 0
call fcn.00472380
mov edx, dword [edi + 0x44]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [edx + 1]
mov dword [esp + 0xec], edx
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, ebx
push eax
push edx
mov edx, 0x39
call fcn.0043c9d0
add esp, 0x1c
mov dword [esp + 0xe4], eax
jmp 0x4785e7
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 0xc
jne 0x478607
mov ecx, dword [esp + 0x54]
mov edx, 0x39
push dword [ecx]
mov ecx, ebx
push dword [eax + 4]
call fcn.0043c960
add esp, 8
mov ecx, ebx
call fcn.0043cbe0
push eax
mov edx, esi
mov dword [esp + 0xf4], eax
mov ecx, edi
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], closesocket
call fcn.00473850
add esp, 4
cmp dword [esi + 8], 0
jne 0x478655
mov ecx, dword [esp + 0xe4]
test ecx, ecx
js 0x478655
mov edx, ecx
mov ecx, ebx
call fcn.0043d240
or byte [esp + 0xe8], 1
mov byte [eax], 0x3a
test byte [esi + 6], 1
je 0x4786c3
mov esi, dword [edi + 0x44]
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [esi + 1]
mov dword [esp + 0x98], esi
mov dword [edi + 0x44], eax
mov ecx, edi
mov eax, dword [esp + 0x34]
push 0
mov edx, dword [eax]
call fcn.00472380
add esp, 0xc
mov edx, 0x39
mov ecx, ebx
push eax
push 0
push 0
push esi
call fcn.0043c9d0
mov ecx, dword [ebx + 4]
add esp, 0x14
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x4786b0
mov eax, dword [ebx + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov esi, dword [esp + 0x28]
mov cl, 3
mov dword [esp + 0x48], ecx
mov byte [esp + 0x89], cl
jmp 0x4786d0
xor al, al
mov dword [esp + 0x48], eax
mov byte [esp + 0x89], al
cmp dword [esp + 0x60], 0
mov edx, dword [esp + 0x2c]
jne 0x4787e2
test edx, edx
jne 0x4787e2
xor eax, eax
mov ecx, 0x400
cmp byte [esp + 0x37], al
push edx
mov edx, dword [esp + 0x20]
cmovne eax, ecx
movzx eax, ax
mov ecx, edi
push eax
push dword [esi]
push dword [esp + 0x3c]
push dword [esp + 0x80]
call fcn.00488be0
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
je 0x47a0b0
mov cx, word [eax + 0x20]
call fcn.00423580
cmp edx, dword [esi + 0x1c]
ja 0x47873c
jb 0x478736
cmp eax, dword [esi + 0x18]
jae 0x47873c
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
cmp byte [esp + 0x37], 0
mov edx, dword [esp + 0x24]
je 0x47876c
mov eax, dword [esp + 0x48]
mov cl, byte [edx + 0x28]
movzx eax, al
test cl, cl
mov dword [esp + 0x48], eax
movzx eax, cl
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
mov dword [esp + 0x48], ecx
mov byte [esp + 0x89], cl
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x47878d
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 0x4787a5
test ecx, ecx
jne 0x4787a5
mov edx, eax
mov ecx, ebx
call fcn.0043d090
mov eax, dword [esp + 0x24]
mov edx, esi
mov ecx, edi
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0x90]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
push dword [esp + 0x6c]
call fcn.00471720
mov ecx, dword [esp + 0x40]
add esp, 0x1c
call fcn.004895d0
jmp 0x479e9f
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
test edx, edx
je 0x478845
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x478816
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x478804
mov edi, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
jle 0x478830
add ecx, 0x16
xor edx, edx
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], dx
test eax, eax
jg 0x478822
cmp dword [esi + 0x1c], 0
ja 0x47883c
cmp dword [esi + 0x18], 0x64
jbe 0x478853
mov dword [esi + 0x18], 0x64
jmp 0x47884c
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
call fcn.00454fb0
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x50], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4788b5
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0041f830
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x50]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x4788c3
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x2c]
not edx
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x100], eax
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x50], edx
mov dword [esp + 0xfc], 0
movlpd qword [esp + 0x104], xmm0
movlpd qword [esp + 0x10c], xmm0
mov dword [esp + 0xf4], edi
mov dword [esp + 0xb0], eax
test ecx, ecx
je 0x478927
mov eax, dword [ecx]
mov dword [esp + 0xac], eax
jmp 0x478932
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0xf4]
call fcn.00455450
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xf4]
call fcn.00455450
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4789a8
lea ecx, [esp + 0xf4]
mov dword [esp + 0x114], 0x455110
xorps xmm0, xmm0
mov dword [esp + 0x12c], ecx
mov edx, eax
movlpd qword [esp + 0x11c], xmm0
lea ecx, [esp + 0x114]
movlpd qword [esp + 0x124], xmm0
mov dword [esp + 0x118], fcn.00406140
call fcn.0044d510
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xc4], edx
mov dword [esp + 0x38], 0
test ecx, ecx
jle 0x478ab4
mov cx, word [esp + 0x110]
xor ebx, ebx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0xc8]
or cx, 8
mov word [esp + 0x110], cx
mov eax, dword [eax + ebx]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x14], eax
test eax, eax
je 0x478a72
mov esi, dword [eax + 4]
xor edi, edi
cmp dword [eax], edi
jle 0x478a72
mov ebx, eax
nop
mov edx, dword [esi]
lea eax, [esp + 0xf4]
xorps xmm0, xmm0
mov dword [esp + 0x114], 0x455110
lea ecx, [esp + 0x114]
movlpd qword [esp + 0x11c], xmm0
movlpd qword [esp + 0x124], xmm0
mov dword [esp + 0x118], fcn.00406140
mov dword [esp + 0x12c], eax
call fcn.0044d510
inc edi
lea esi, [esi + 0x18]
cmp edi, dword [ebx]
jl 0x478a10
mov cx, word [esp + 0x110]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x58]
mov eax, 0xfff7
add ebx, 0x10
and cx, ax
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x38]
inc eax
mov word [esp + 0x110], cx
mov dword [esp + 0x38], eax
cmp eax, edx
jl 0x4789e2
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0xcc]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x41], 0
jne 0x47a0ba
cmp dword [esp + 0x2c], 0
je 0x479aaa
mov eax, dword [edi + 0x44]
mov ecx, edi
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xa8], eax
inc eax
push 0
mov dword [edi + 0x44], eax
call fcn.00472380
mov edx, dword [ebx + 0x20]
add esp, 8
mov dword [esp + 0x9c], eax
mov ecx, edx
mov eax, dword [esp + 0xac]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x80], edx
cmp dword [eax + 0x54], edx
jg 0x478b4a
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
je 0x478b40
mov ecx, 1
mov dword [esp + 0x80], ecx
jmp 0x478b88
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x3a
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]
push 0xfffffffffffffffa
push dword [esp + 0xa0]
mov edx, ecx
mov ecx, ebx
call fcn.0043d0e0
mov eax, dword [edi + 0x48]
add esp, 8
inc eax
mov dword [esp + 0x58], eax
inc eax
mov dword [esp + 0x74], eax
inc eax
mov dword [edi + 0x48], eax
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], ecx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x60], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x478bef
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0041f830
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x60]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x478bfd
mov dword [eax + edx*4], 0xffffffff
inc dword [edi + 0x48]
not edx
mov ecx, dword [ebx + 0x18]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x60], edx
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x478c4a
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0041f830
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x478c58
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [edi + 0x48]
not edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx]
add ecx, eax
mov dword [edi + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x84], eax
mov eax, dword [edx]
add eax, ecx
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov ecx, edx
mov dword [esp + 0x14], edx
cmp dword [eax + 0x54], edx
jg 0x478ca7
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x478cde
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x17
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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x478d01
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x478d38
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x14]
lea eax, [edx + 1]
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x17
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 [esp + 0x2c]
mov ecx, dword [esp + 0x64]
dec ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x68], eax
mov edx, ecx
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x478d6c
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x478da3
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x14]
lea eax, [edx + 1]
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x478dc1
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x478df5
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0xf
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
cmp dword [esp + 0x18], 0
mov ecx, 0x900
mov edx, dword [esp + 0x1c]
mov eax, 0x100
cmovne eax, ecx
mov ecx, edi
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x38]
push dword [esp + 0x80]
call fcn.00488be0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x70], edx
test edx, edx
je 0x47a0b0
mov ecx, dword [esp + 0x2c]
movsx eax, byte [edx + 0x24]
cmp eax, dword [ecx]
jne 0x478e4d
xor eax, eax
mov dword [esp + 0x44], eax
jmp 0x479225
cmp byte [esp + 0x37], 0
je 0x478e5f
test byte [esi + 6], 1
mov edx, str.DISTINCT
je 0x478e64
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.00472410
cmp dword [esp + 0xc0], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], 1
mov esi, dword [eax]
mov edx, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x7c], esi
jle 0x478eca
mov esi, dword [esp + 0xbc]
mov edi, edx
mov ebx, dword [esp + 0xc0]
add esi, 0xc
cmp dword [esi], edx
lea eax, [edi + 1]
lea esi, [esi + 0x18]
cmovl eax, edi
mov edi, eax
lea eax, [edx + 1]
cmovl eax, edx
mov edx, eax
sub ebx, 1
jne 0x478ea0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x6c]
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0x7c]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x78], eax
cmp edx, ecx
jg 0x478ee8
add eax, edx
sub ecx, edx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], ecx
jmp 0x478ef7
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x78], ecx
mov dword [edi + 0x48], eax
mov ecx, edi
call fcn.00452f90
mov edx, dword [esp + 0x2c]
push 0
push dword [esp + 0x7c]
call fcn.004544e0
mov ecx, dword [esp + 0xc8]
add esp, 8
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x478ffb
mov edx, dword [esp + 0x78]
add edx, esi
xor esi, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], esi
nop word [eax + eax]
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0x40]
cmp dword [eax + esi + 0xc], ebx
mov ebx, dword [esp + 0x24]
jl 0x478fe3
push 0
push edx
push dword [eax + esi + 4]
mov edx, dword [eax + esi]
mov ecx, edi
push dword [eax + esi + 8]
call fcn.00452e50
mov edx, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x10], eax
cmp edx, eax
je 0x478fd3
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x478f9c
mov ecx, ebx
call fcn.0043c7b0
mov edx, dword [esp + 0x3c]
test eax, eax
jne 0x478fcf
mov ecx, dword [ebx + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x10]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x68]
inc dword [esp + 0x40]
inc edx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x14]
add esi, 0x18
inc eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x478f40
mov al, byte [edi + 0x13]
test al, al
jne 0x47900a
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
jmp 0x479016
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov esi, dword [edi + eax*4 + 0x18]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x479039
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x47906c
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x78]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
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], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xa4]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x47909a
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x4790cd
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x6e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x4790fe
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x4790fe
xor ecx, ecx
lea eax, [edi + 0x74]
nop
cmp dword [eax + 0xc], esi
je 0x4790fa
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4790e0
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
jmp 0x4790fe
mov byte [eax + 6], 1
mov esi, dword [esp + 0x7c]
mov ecx, edi
mov edx, dword [esp + 0x78]
push esi
call fcn.00452ca0
add esp, 4
cmp esi, dword [edi + 0x38]
jle 0x479120
mov eax, dword [esp + 0x78]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0x70]
call fcn.004895d0
mov eax, dword [edi + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0xa8], eax
inc eax
mov dword [edi + 0x44], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x47914e
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x3c], edx
jmp 0x47915e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x479179
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x4791b0
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x7c]
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 esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4791d6
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x47920d
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
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
mov ecx, edi
mov byte [esp + 0xa1], 1
call fcn.00452f90
mov edx, dword [esp + 0x70]
mov eax, 1
cmp dword [esp + 0x18], 0
je 0x479292
mov ecx, dword [esp + 0x20]
test byte [ecx + 0x3c], 4
jne 0x479292
test eax, eax
jne 0x47923f
cmp byte [edx + 0x25], al
je 0x479292
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xd0], 0
cmp eax, dword [ebx + 0x20]
jge 0x479292
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [ebx]
call fcn.0043cec0
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0x9f
mov eax, dword [ebx + 0x20]
dec eax
cmp dword [esp + 0xe4], eax
jne 0x479292
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x20]
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00452f90
mov eax, dword [esp + 0x44]
test eax, eax
je 0x479309
mov eax, dword [esp + 0xa4]
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4792ce
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x479305
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x65
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 + 0x44]
mov edx, dword [esp + 0x2c]
xor esi, esi
mov ecx, dword [edx]
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x4793c6
xor ecx, ecx
mov dword [esp + 0x68], ecx
test eax, eax
je 0x479384
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x47934a
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x4793a6
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x2f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], esi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x84]
add eax, esi
mov dword [ecx + 0xc], eax
jmp 0x4793a6
mov eax, dword [esp + 0x84]
mov byte [esp + 0xa0], 1
add eax, esi
mov edx, dword [edx + 4]
push eax
mov edx, dword [edx + ecx]
mov ecx, edi
call fcn.00454440
add esp, 4
mov edx, dword [esp + 0x2c]
inc esi
add dword [esp + 0x68], 0x18
mov eax, dword [esp + 0x44]
mov ecx, dword [edx]
cmp esi, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
jl 0x479323
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4793d7
inc dword [eax]
mov esi, dword [edx]
jmp 0x4793db
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov ecx, edx
mov dword [esp + 0x10], edx
cmp dword [eax + 0x54], edx
jg 0x479405
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
je 0x4793fe
mov edx, 1
jmp 0x47943f
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x6c]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0xa0]
mov ecx, ebx
call fcn.0043d0e0
mov eax, dword [ebx + 0x18]
add esp, 8
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0x14], esi
cmp dword [eax + 0x54], esi
jg 0x479471
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x4794a3
mov ecx, dword [ebx + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x2b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
lea ecx, [eax + ecx*4]
lea eax, [esi + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [edi + 8]
mov eax, dword [eax]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x4794ce
mov ecx, esi
call fcn.0043c7b0
test eax, eax
jne 0x479507
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47950b
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x84]
mov ecx, edi
push esi
call fcn.00452ca0
mov eax, dword [ebx + 0x18]
add esp, 4
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x479538
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x47956f
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0xf
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 [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x47958a
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x4795c1
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x8a
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 [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4795dc
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x479613
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0xf
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 [ebx + 0x20]
mov eax, dword [esp + 0x14]
cmp edx, eax
jbe 0x47962b
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
lea ecx, [edx - 1]
lea edx, [esp + 0xa0]
mov dword [eax + 0x58], ecx
mov ecx, edi
call fcn.00477c90
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x47965d
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x479694
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x17
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 + 0x44], 0
je 0x4796fd
mov eax, dword [esp + 0xa4]
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4796c1
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x4796f8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 4
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 esi, dword [ebx + 0x20]
jmp 0x479754
mov ecx, dword [esp + 0x70]
call fcn.004895d0
mov esi, dword [ebx + 0x20]
mov eax, dword [esp + 0x80]
cmp eax, esi
jge 0x479754
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [ebx]
call fcn.0043cec0
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0x9f
mov esi, dword [ebx + 0x20]
lea eax, [esi - 1]
cmp dword [esp + 0x80], eax
jne 0x479754
mov dword [ebx + 0x20], eax
mov esi, eax
mov eax, dword [ebx + 0x18]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x47976c
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x4797a3
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0xf
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 [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4797be
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x4797f5
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xe
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 [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0x18], esi
cmp dword [eax + 0x54], esi
jg 0x479814
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x47984b
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x17
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 [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x479866
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x47989d
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
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 esi, dword [esp + 0x60]
mov edx, dword [ebx + 0x18]
not esi
test esi, esi
js 0x4798b7
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4798b7
mov eax, dword [ebx + 0x20]
mov dword [ecx + esi*4], eax
mov eax, dword [ebx + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4798d9
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x47990f
mov ecx, dword [ebx + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x8a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea eax, [esi + 2]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x479932
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x479969
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
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.00477bc0
mov edx, dword [esp + 0x4c]
inc esi
push 0x10
push esi
mov ecx, edi
call fcn.00454ae0
push dword [esp + 0x20]
lea eax, [esp + 0x94]
mov ecx, edi
push esi
push dword [ebp + 8]
mov esi, dword [esp + 0x3c]
mov edx, esi
push eax
lea eax, [esp + 0xe8]
push eax
push 0xffffffffffffffff
push dword [esi]
call fcn.00471720
mov eax, dword [ebx + 0x18]
add esp, 0x24
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x4799d5
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x479a0c
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
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 + 0x30]
mov edx, dword [ebx + 0x18]
not eax
mov dword [esp + 0x30], eax
test eax, eax
js 0x479a32
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x479a32
mov esi, dword [esp + 0x30]
mov eax, dword [ebx + 0x20]
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0x20]
mov ecx, edi
dec eax
mov dword [edx + 0x58], eax
lea edx, [esp + 0xa0]
call fcn.00477ad0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x479a6e
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x479e72
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x38]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
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 0x479e72
cmp dword [esi + 0x24], 0
mov dword [esp + 0x74], 0
jne 0x479f2e
mov eax, dword [esi]
cmp dword [eax], 1
jne 0x479f2e
mov edx, dword [esi + 0x20]
cmp dword [edx], 1
jne 0x479f2e
cmp dword [edx + 0x1c], 0
jne 0x479f2e
mov edx, dword [edx + 0x18]
mov dword [esp + 0x40], edx
test byte [edx + 0x2a], 0x10
jne 0x479f2e
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp byte [eax], 0x9b
jne 0x479f2e
test ecx, ecx
je 0x479f2e
mov eax, dword [esp + 0xc8]
mov edi, 0x100
mov eax, dword [eax + 4]
test word [eax + 2], di
mov edi, dword [esp + 0x6c]
je 0x479f2e
mov eax, dword [esp + 0x10]
test byte [eax + 4], 0x10
jne 0x479f2e
mov esi, dword [edx + 0x40]
mov ecx, 0xfff0bdc0
mov dword [esp + 0x64], ecx
test esi, esi
je 0x479b6d
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x64], ecx
cmp dword [eax + 0x14], ecx
jle 0x479b6d
mov eax, dword [eax + 0x10]
mov ebx, dword [edi]
add eax, 0xc
cmp dword [eax], esi
je 0x479b65
inc ecx
add eax, 0x10
cmp ecx, dword [ebx + 0x14]
jl 0x479b58
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
mov eax, dword [edi + 0x44]
xor esi, esi
mov dword [esp + 0x58], eax
inc eax
mov dword [edi + 0x44], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x1c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
call fcn.0045ec60
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
push dword [ecx]
push esi
push dword [ecx + 0x1c]
mov ecx, edi
call fcn.00458e40
mov edx, dword [esp + 0x4c]
add esp, 0xc
test byte [edx + 0x2a], 0x20
je 0x479bd5
mov esi, dword [edx + 8]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x479bd5
mov eax, dword [esi + 0x34]
and al, 3
cmp al, 2
je 0x479bd1
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x479bc1
mov dword [esp + 0x3c], esi
mov eax, dword [edx + 8]
test eax, eax
je 0x479c0d
nop dword [eax]
test byte [eax + 0x34], 4
jne 0x479c02
movzx ecx, word [eax + 0x2c]
cmp cx, word [edx + 0x28]
jge 0x479c02
cmp dword [eax + 0x24], 0
jne 0x479c02
test esi, esi
je 0x479c00
cmp cx, word [esi + 0x2c]
jge 0x479c02
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x479be0
mov dword [esp + 0x3c], esi
test esi, esi
je 0x479c25
mov eax, dword [esi + 0x28]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.0045f460
mov dword [esp + 0x38], eax
push 1
push dword [esp + 0x68]
mov edx, 0x36
mov ecx, ebx
push dword [esp + 0x20]
push dword [esp + 0x64]
call fcn.0043cb30
mov eax, dword [esp + 0x48]
add esp, 0x10
test eax, eax
je 0x479c8f
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
test edx, edx
je 0x479c81
cmp byte [ecx + 0x41], 0
jne 0x479c81
mov eax, dword [ebx + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.0043cec0
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
mov esi, dword [esp + 0x40]
jmp 0x479c8c
push eax
mov edx, 0xfffffffa
call fcn.0043cec0
add esp, 4
mov eax, dword [esp + 0xc8]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x479cc0
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x479cf7
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x479d1a
mov ecx, ebx
call fcn.0043c7b0
test eax, eax
jne 0x479d51
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
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
cmp byte [edi + 0x1be], 2
jne 0x479e25
mov ecx, dword [esp + 0x40]
test esi, esi
je 0x479d7e
test byte [ecx + 0x2a], 0x20
je 0x479d75
mov eax, dword [esi + 0x34]
and al, 3
cmp al, 2
je 0x479d7e
mov eax, dword [esi]
mov edx, 1
jmp 0x479d85
xor edx, edx
mov eax, 0x51e9f6
push eax
test edx, edx
mov eax, str._USING_COVERING_INDEX
mov esi, 0x51e9f6
cmove eax, esi
push eax
push dword [ecx]
push str.SCAN_TABLE__s_s_s
push dword [edi]
call fcn.00421420
mov esi, dword [edi + 8]
add esp, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x1cc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], edx
cmp dword [eax + 0x54], edx
jg 0x479ddd
mov ecx, esi
call fcn.0043c7b0
test eax, eax
je 0x479dd9
mov edx, 1
jmp 0x479e15
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x24]
mov word [eax + ecx*4], 0xa0
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
push 0xffffffffffffffff
push dword [esp + 0x18]
mov ecx, esi
call fcn.0043d0e0
add esp, 8
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov ecx, edi
push 0x10
push dword [esp + 0x54]
mov dword [esp + 0xd8], 0
call fcn.00454ae0
mov eax, dword [esp + 0x58]
mov edx, esi
push eax
push eax
push dword [ebp + 8]
mov ecx, edi
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
call fcn.00471720
mov edx, dword [esp + 0x98]
add esp, 0x24
mov ecx, dword [esp + 0x20]
call fcn.00451100
mov eax, dword [esp + 0x50]
mov edx, dword [ebx + 0x18]
not eax
mov dword [esp + 0x50], eax
test eax, eax
js 0x479e98
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x479e98
mov esi, dword [esp + 0x50]
mov eax, dword [ebx + 0x20]
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x48]
cmp al, 3
jne 0x479eb3
mov edx, str.DISTINCT
mov ecx, edi
call fcn.00472410
cmp dword [esp + 0xd0], 0
je 0x479ef6
cmp dword [esp + 0xd4], 0
mov eax, str.ORDER_BY
mov edx, str.RIGHT_PART_OF_ORDER_BY
mov ecx, edi
cmovle edx, eax
call fcn.00472410
mov eax, dword [esp + 0x54]
mov edx, esi
push dword [ebp + 8]
mov ecx, edi
push dword [eax]
lea eax, [esp + 0xd8]
push eax
call fcn.00472590
add esp, 0xc
mov esi, dword [ebx + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0xf0]
js 0x479f12
mov edx, dword [esi + 0x70]
test edx, edx
je 0x479f12
mov eax, dword [ebx + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 0x20]
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
dec eax
mov dword [esi + 0x58], eax
cmp dword [edi + 0x40], ebx
mov esi, dword [esp + 0x20]
setg bl
jmp 0x47a0c5
cmp dword [esi + 0x2c], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x44], 0
jne 0x47a01a
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], eax
cmp ecx, 1
jne 0x479fd5
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x479fd3
cmp dword [eax], 1
jne 0x479fd3
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0x9c
jne 0x479fd3
push 0x525e84
push dword [ecx + 8]
call fcn.00422240
add esp, 8
test eax, eax
jne 0x479fa9
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], 1
mov dword [esp + 0x24], eax
jmp 0x479fd5
mov eax, dword [esp + 0x10]
push 0x525e88
push dword [eax + 8]
call fcn.00422240
add esp, 8
test eax, eax
jne 0x479fd3
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], 2
mov dword [esp + 0x24], eax
jmp 0x479fd5
xor eax, eax
cmp byte [esp + 0x44], 0
je 0x47a01a
mov ecx, dword [esp + 0x20]
mov edx, eax
push 0
call fcn.00450760
mov edx, eax
add esp, 4
mov dword [esp + 0x24], edx
mov dword [esp + 0x74], edx
test edx, edx
je 0x47a01a
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x41], 0
jne 0x47a01a
mov eax, dword [edx + 4]
cmp byte [esp + 0x44], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00477ad0
mov eax, dword [esp + 0x44]
mov ecx, edi
mov edx, dword [esp + 0x1c]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x30]
push dword [esp + 0x80]
call fcn.00488be0
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
jne 0x47a066
mov esi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [esp + 0x74]
call fcn.00451100
jmp 0x47a0bc
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00477c90
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x24], 0
jle 0x47a096
push dword [eax + 0x34]
mov edx, 0xe
mov ecx, ebx
push 0
call fcn.0043c960
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, eax
call fcn.004895d0
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00477bc0
jmp 0x479e29
mov esi, dword [esp + 0x20]
jmp 0x47a0bc
mov esi, eax
jmp 0x47a0c0
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov ebx, 1
mov edx, dword [esp + 0xec]
mov dword [edi + 0x1cc], edx
test ebx, ebx
jne 0x47a0ee
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x47a0ee
push dword [esp + 0x54]
mov edx, ecx
mov ecx, edi
call fcn.00472f70
add esp, 4
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x47a13c
cmp dword [esi + 0x208], 0
je 0x47a10d
mov edx, ecx
mov ecx, esi
call fcn.0041f410
jmp 0x47a13c
cmp ecx, dword [esi + 0x114]
jb 0x47a133
cmp ecx, dword [esi + 0x118]
jae 0x47a133
mov eax, dword [esi + 0x110]
mov dword [ecx], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], ecx
jmp 0x47a13c
push ecx
call fcn.0041f3a0
add esp, 4
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x47a1a3
cmp dword [esi + 0x208], 0
je 0x47a160
mov ecx, esi
call fcn.0041f410
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc8]
cmp edx, dword [esi + 0x114]
jb 0x47a194
cmp edx, dword [esi + 0x118]
jae 0x47a194
mov eax, dword [esi + 0x110]
mov dword [edx], eax
mov eax, ebx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc8]
call fcn.0041f3a0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret