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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x50], 0
mov ebx, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x38], ebx
mov eax, dword [edi + 0x1cc]
mov esi, dword [edi]
mov dword [esp + 0xe4], eax
mov eax, dword [edi + 0x1d0]
mov dword [edi + 0x1cc], eax
inc eax
mov dword [edi + 0x1d0], eax
mov dword [esp + 0x18], esi
test ebx, ebx
je 0x4d97e7
cmp byte [esi + 0x41], 0
jne 0x4d97e7
cmp dword [edi + 0x40], 0
jne 0x4d97e7
push 0
push 0
push 0
mov edx, 0x15
call fcn.004b8c70
add esp, 0xc
test eax, eax
jne 0x4d97e7
push 0x30
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.006440e0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x4d77b5
mov edx, dword [ebx + 0x30]
mov ecx, esi
call fcn.004b12d0
mov eax, 0xfffe
mov dword [ebx + 0x30], 0
and word [ebx + 6], ax
push 0
mov edx, ebx
mov ecx, edi
call fcn.004d7050
mov eax, dword [ebx + 0x30]
xorps xmm0, xmm0
mov edx, dword [ebx + 0x20]
add esp, 4
cmp dword [edi + 0x40], 0
movlpd qword [esp + 0xcc], xmm0
movlpd qword [esp + 0xd4], xmm0
movlpd qword [esp + 0xdc], xmm0
mov dword [esp + 0x24], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0x1c], edx
jne 0x4d96fd
cmp byte [esi + 0x41], 0
jne 0x4d96fd
movzx eax, word [ebx + 6]
shr eax, 3
and eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov eax, dword [ebx]
cmp dword [eax], 1
jle 0x4d7841
cmp cl, 0xa
je 0x4d782e
cmp cl, 0xb
jne 0x4d7841
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.00483840
add esp, 8
jmp 0x4d96f9
xor esi, esi
cmp dword [ebx + 0x34], esi
jne 0x4d78f4
nop dword [eax]
cmp esi, dword [edx]
jge 0x4d78f4
lea eax, [esi + esi*4]
add eax, eax
mov ecx, dword [edx + eax*8 + 0x1c]
test ecx, ecx
je 0x4d78e9
mov edx, dword [edx + eax*8 + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
movsx eax, word [edx + 0x22]
cmp eax, dword [esp + 0x30]
jne 0x4d7932
movzx eax, word [ecx + 6]
mov edx, ebx
shr eax, 3
mov ecx, edi
and eax, 1
push eax
push dword [esp + 0x48]
mov dword [esp + 0x18], eax
push esi
call fcn.004d59f0
add esp, 0xc
test eax, eax
je 0x4d78be
cmp dword [esp + 0x10], 0
je 0x4d78bb
or word [ebx + 6], 8
mov dword [esp + 0x44], 1
or esi, 0xffffffff
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x1c], edx
cmp byte [eax + 0x41], 0
jne 0x4d96f3
mov eax, dword [ebp + 8]
cmp byte [eax], 8
jbe 0x4d78e9
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc8], ecx
inc esi
cmp dword [ebx + 0x34], 0
je 0x4d7850
mov ecx, edi
call fcn.004d2cd0
mov ebx, eax
mov dword [esp + 0x5c], ebx
test ebx, ebx
je 0x4d7947
mov esi, dword [esp + 0x38]
cmp dword [esi + 0x34], 0
je 0x4d7950
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
call fcn.004d3700
mov ecx, dword [esp + 0xe8]
add esp, 4
mov dword [edi + 0x1cc], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x30]
push dword [edx]
push eax
push str.expected__d_columns_for__s_but_got__d
push edi
call fcn.00483840
add esp, 0x14
mov esi, dword [esp + 0x18]
jmp 0x4d96f9
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0
cmp dword [eax], 0
jle 0x4d7c00
lea esi, [eax + 0x20]
mov ecx, eax
mov dword [esp + 0x14], esi
nop
mov eax, dword [esi - 4]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4d7be4
mov eax, dword [esi]
test eax, eax
je 0x4d79a7
test byte [esi + 0x10], 0x10
jne 0x4d7be4
push eax
push dword [esi + 4]
mov edx, 0xf
mov ecx, ebx
call fcn.0049d7a0
add esp, 8
jmp 0x4d7be0
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.004afcc0
mov eax, dword [esp + 0x30]
add dword [edi + 0x1c8], eax
test byte [esi + 0xc], 0x20
jne 0x4d79e6
mov eax, dword [esp + 0x38]
push dword [esi + 0x18]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
push dword [eax + 0x24]
call fcn.004d5fb0
add esp, 8
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x4d7ada
mov eax, dword [esp + 0x38]
test byte [eax + 6], 2
jne 0x4d7ada
mov eax, dword [esp + 0x18]
mov ecx, 0x100
test word [eax + 0x3c], cx
jne 0x4d7ada
mov ecx, dword [esp + 0x58]
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 + 0x14]
push esi
push 0
push eax
mov dword [ecx + 4], eax
mov ecx, ebx
call fcn.0049d670
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov word [esp + 0x84], 0xd
mov dword [eax], esi
mov esi, eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x88], eax
mov al, byte [ecx + 0x1d0]
mov byte [esi + 0x14], al
lea eax, [esp + 0x84]
push eax
call fcn.004d7700
mov eax, dword [esp + 0x50]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00484cc0
mov ecx, dword [esi - 8]
mov edx, 0x12
mov word [ecx + 0x26], ax
mov ecx, ebx
mov eax, dword [esp + 0x94]
push dword [esi + 4]
or dword [esi + 0x10], 0x10
mov dword [esi + 8], eax
call fcn.0049d730
add esp, 0xc
mov edx, edi
mov ecx, ebx
call fcn.0049dfa0
mov edi, dword [esp + 0x58]
jmp 0x4d7ba8
xor eax, eax
mov edx, 0x17
mov dword [esp + 0x30], 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.0049d7a0
mov dword [esp + 0x18], eax
add esp, 8
inc eax
test byte [esi + 0x10], 8
mov dword [esi], eax
jne 0x4d7b14
mov ecx, edi
call fcn.004b1860
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov al, byte [edi + 0x1d0]
mov byte [esi + 0x14], al
lea eax, [esp + 0x84]
push eax
mov word [esp + 0x88], 0xc
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.004d7700
mov eax, dword [esp + 0x50]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00484cc0
mov ecx, dword [esi - 8]
add esp, 8
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4d7b87
mov edx, eax
mov ecx, ebx
call fcn.0049dfa0
push dword [esi + 4]
mov edx, 0x10
mov ecx, ebx
call fcn.0049d730
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, ebx
push eax
call fcn.0049df10
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [edi + 0x13], 0
mov dword [edi + 0x38], 0
cmp byte [eax + 0x41], 0
jne 0x4d96f7
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.004afcc0
mov eax, dword [esp + 0x30]
sub dword [edi + 0x1c8], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
add esi, 0x50
inc eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], eax
cmp eax, dword [ecx]
jl 0x4d7970
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x28], eax
mov al, byte [esi + 6]
and al, 1
mov dword [esp + 0x50], ecx
mov byte [esp + 0x2f], al
mov byte [esp + 0x84], al
movzx eax, byte [esi + 6]
and al, 9
mov dword [esp + 0x30], edx
cmp al, 1
jne 0x4d7c71
mov edx, ecx
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
call fcn.004b5010
add esp, 4
test eax, eax
jne 0x4d7c6d
mov edx, dword [esp + 0x50]
mov eax, 0xfffe
mov ecx, dword [esp + 0x18]
and word [esi + 6], ax
push 0
call fcn.004b08f0
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4d7cc6
push dword [ecx]
mov edx, eax
mov ecx, edi
push 0
call fcn.004d17e0
mov edx, dword [edi + 0x44]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [edx + 1]
mov dword [esp + 0xe4], edx
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [esp + 0x38]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, ebx
push eax
push edx
mov edx, 0x39
call fcn.0049d9e0
add esp, 0x1c
mov dword [esp + 0xdc], eax
jmp 0x4d7cd1
mov dword [esp + 0xdc], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 0xc
jne 0x4d7cf1
mov ecx, dword [esp + 0x50]
mov edx, 0x39
push dword [ecx]
mov ecx, ebx
push dword [eax + 4]
call fcn.0049d7a0
add esp, 8
mov ecx, ebx
call fcn.0049dc20
push eax
mov edx, esi
mov dword [esp + 0xec], eax
mov ecx, edi
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], SysReAllocStringLen
call fcn.004d2d20
add esp, 4
cmp dword [esi + 8], 0
jne 0x4d7d41
mov ecx, dword [esp + 0xdc]
test ecx, ecx
js 0x4d7d41
mov edx, ecx
mov ecx, ebx
push 0x3a
call fcn.0049ded0
add esp, 4
or byte [esp + 0xe0], 1
test byte [esi + 6], 1
je 0x4d7d9e
mov esi, dword [edi + 0x44]
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [esi + 1]
mov dword [esp + 0x94], esi
mov dword [edi + 0x44], eax
mov ecx, edi
mov eax, dword [esp + 0x44]
push 0
mov edx, dword [eax]
call fcn.004d17e0
add esp, 0xc
mov edx, 0x39
mov ecx, ebx
push eax
push 0
push 0
push esi
call fcn.0049d9e0
add esp, 0x14
mov dword [esp + 0x8c], eax
mov dl, 8
mov ecx, ebx
call fcn.0049df70
mov esi, dword [esp + 0x38]
mov eax, 3
jmp 0x4d7da0
xor al, al
cmp dword [esp + 0x44], 0
mov edx, dword [esp + 0x28]
mov byte [esp + 0x85], al
mov dword [esp + 0x4c], eax
jne 0x4d7eba
test edx, edx
jne 0x4d7eba
xor eax, eax
mov ecx, 0x400
cmp byte [esp + 0x2f], 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 + 0x30]
push dword [esp + 0x78]
call fcn.004e85e0
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x4d7947
mov cx, word [eax + 0x20]
call fcn.00484d60
cmp edx, dword [esi + 0x1c]
ja 0x4d7e14
jb 0x4d7e0e
cmp eax, dword [esi + 0x18]
jae 0x4d7e14
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
cmp byte [esp + 0x2f], 0
mov edx, dword [esp + 0x14]
je 0x4d7e44
mov eax, dword [esp + 0x4c]
mov cl, byte [edx + 0x28]
movzx eax, al
test cl, cl
mov dword [esp + 0x4c], eax
movzx eax, cl
mov ecx, dword [esp + 0x4c]
cmovne ecx, eax
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x85], cl
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d7e65
movsx eax, byte [edx + 0x24]
xor edx, edx
cmp eax, dword [ecx]
mov dword [esp + 0xcc], eax
cmove ecx, edx
mov dword [esp + 0xc8], ecx
mov eax, dword [esp + 0xdc]
test eax, eax
js 0x4d7e7d
test ecx, ecx
jne 0x4d7e7d
mov edx, eax
mov ecx, ebx
call fcn.0049e180
mov eax, dword [esp + 0x14]
mov edx, esi
mov ecx, edi
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0x8c]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xd8]
push eax
push 0xffffffffffffffff
push dword [esp + 0x68]
call fcn.004d0b00
mov ecx, dword [esp + 0x30]
add esp, 0x1c
call fcn.004e9110
jmp 0x4d948d
mov dword [esp + 0x60], 0
mov dword [esp + 0x34], 0
test edx, edx
je 0x4d7f23
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x4d7ef2
add ecx, 0x16
nop dword [eax]
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x4d7ee0
mov edi, dword [esp + 0x58]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
jle 0x4d7f0e
add ecx, 0x16
nop
xor edx, edx
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], dx
test eax, eax
jg 0x4d7f00
cmp dword [esi + 0x1c], 0
ja 0x4d7f1a
cmp dword [esi + 0x18], 0x64
jbe 0x4d7f31
mov dword [esi + 0x18], 0x64
jmp 0x4d7f2a
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
call fcn.004b5010
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x10], ecx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x64], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4d7f93
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.004811b0
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, dword [esp + 0x64]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x4d7fa1
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x28]
not edx
mov dword [esp + 0xf0], eax
lea eax, [esp + 0x98]
mov dword [esp + 0xf8], eax
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x64], edx
mov dword [esp + 0xf4], 0
movlpd qword [esp + 0xfc], xmm0
movlpd qword [esp + 0x104], xmm0
mov dword [esp + 0xec], edi
mov dword [esp + 0xa8], eax
test ecx, ecx
je 0x4d8005
mov eax, dword [ecx]
mov dword [esp + 0xa4], eax
jmp 0x4d8010
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0x50]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xec]
call fcn.004b5410
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xec]
call fcn.004b5410
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4d8086
lea ecx, [esp + 0xec]
mov dword [esp + 0x10c], 0x4b5150
xorps xmm0, xmm0
mov dword [esp + 0x124], ecx
mov edx, eax
movlpd qword [esp + 0x114], xmm0
lea ecx, [esp + 0x10c]
movlpd qword [esp + 0x11c], xmm0
mov dword [esp + 0x110], fcn.0040c3c0
call fcn.004ad790
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xbc], edx
mov dword [esp + 0x3c], 0
test ecx, ecx
jle 0x4d8194
mov cx, word [esp + 0x108]
xor ebx, ebx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0xc0]
or cx, 8
mov word [esp + 0x108], cx
mov eax, dword [eax + ebx]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4d8152
mov esi, dword [eax + 4]
xor edi, edi
cmp dword [eax], edi
jle 0x4d8152
mov ebx, eax
nop dword [eax]
mov edx, dword [esi]
lea eax, [esp + 0xec]
xorps xmm0, xmm0
mov dword [esp + 0x10c], 0x4b5150
lea ecx, [esp + 0x10c]
movlpd qword [esp + 0x114], xmm0
movlpd qword [esp + 0x11c], xmm0
mov dword [esp + 0x110], fcn.0040c3c0
mov dword [esp + 0x124], eax
call fcn.004ad790
inc edi
lea esi, [esi + 0x18]
cmp edi, dword [ebx]
jl 0x4d80f0
mov cx, word [esp + 0x108]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x54]
mov eax, 0xfff7
add ebx, 0x10
and cx, ax
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x3c]
inc eax
mov word [esp + 0x108], cx
mov dword [esp + 0x3c], eax
cmp eax, edx
jl 0x4d80c0
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0xc4]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x41], 0
jne 0x4d96f7
cmp dword [esp + 0x28], 0
je 0x4d9103
mov eax, dword [edi + 0x44]
mov ecx, edi
push edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xa0], eax
inc eax
push 0
mov dword [edi + 0x44], eax
call fcn.004d17e0
push 0xfffffffffffffffa
push eax
push 0
push dword [esp + 0xb8]
mov edx, 0x3a
mov dword [esp + 0x94], eax
push dword [esp + 0xb4]
mov ecx, ebx
call fcn.0049d9e0
mov dword [esp + 0x2c], eax
add esp, 0x1c
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x54], eax
inc eax
mov dword [esp + 0x24], eax
inc eax
mov dword [edi + 0x48], eax
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x78], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4d824e
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.004811b0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x78]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x4d825c
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 + 0x78], edx
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4d82a9
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.004811b0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x4d82b7
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [edi + 0x48]
not edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
lea ecx, [eax + 1]
mov dword [esp + 0x44], ecx
mov ecx, dword [edx]
add ecx, eax
mov dword [edi + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x80], eax
mov eax, dword [edx]
add eax, ecx
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d8306
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d833d
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x20]
lea eax, [edx + 1]
mov edx, dword [esp + 0x24]
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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d8360
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8397
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x20]
lea eax, [edx + 1]
mov edx, dword [esp + 0x54]
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 + 0x28]
mov ecx, dword [esp + 0x44]
dec ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x48], eax
mov edx, ecx
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d83cb
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8402
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x20]
lea eax, [edx + 1]
mov edx, dword [esp + 0x44]
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 + 0x48]
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 + 0x20], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d8420
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8454
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 + 0x6c], 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 + 0x34]
push dword [esp + 0x78]
call fcn.004e85e0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x68], edx
test edx, edx
je 0x4d7947
mov ecx, dword [esp + 0x28]
movsx eax, byte [edx + 0x24]
cmp eax, dword [ecx]
jne 0x4d84a9
xor ecx, ecx
mov dword [esp + 0x40], ecx
jmp 0x4d8885
cmp byte [esp + 0x2f], 0
je 0x4d84bb
test byte [esi + 6], 1
mov edx, str.DISTINCT
je 0x4d84c0
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.004d1870
cmp dword [esp + 0xb8], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], 1
mov esi, dword [eax]
mov edx, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x74], esi
jle 0x4d852a
mov esi, dword [esp + 0xb4]
mov edi, edx
mov ebx, dword [esp + 0xb8]
add esi, 0xc
nop dword [eax]
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 0x4d8500
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x58]
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x70], eax
cmp edx, ecx
jg 0x4d8548
add eax, edx
sub ecx, edx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], ecx
jmp 0x4d8557
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x70], ecx
mov dword [edi + 0x48], eax
mov ecx, edi
call fcn.004b3010
mov edx, dword [esp + 0x28]
push 0
push 0
push dword [esp + 0x78]
call fcn.004b4460
mov ecx, dword [esp + 0xc4]
add esp, 0xc
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x4d865b
mov edx, dword [esp + 0x70]
add edx, esi
xor esi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], esi
nop dword [eax]
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x60]
cmp dword [eax + esi + 0xc], ebx
mov ebx, dword [esp + 0x5c]
jl 0x4d8643
push 0
push edx
push dword [eax + esi + 4]
mov edx, dword [eax + esi]
mov ecx, edi
push dword [eax + esi + 8]
call fcn.004b2ec0
mov edx, dword [esp + 0x44]
add esp, 0x10
mov dword [esp + 0xc], eax
cmp edx, eax
je 0x4d8633
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4d85fc
mov ecx, ebx
call fcn.0049d5e0
mov edx, dword [esp + 0x34]
test eax, eax
jne 0x4d862f
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 + 0xc]
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 + 0x48]
inc dword [esp + 0x60]
inc edx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x20]
add esi, 0x18
inc eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x20], eax
cmp eax, ecx
jl 0x4d85a0
mov al, byte [edi + 0x13]
test al, al
jne 0x4d866a
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
jmp 0x4d8676
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 + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d8699
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d86cc
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
mov edx, dword [esp + 0x70]
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 + 0x74]
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 + 0x9c]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d86fa
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d872d
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
mov edx, dword [esp + 0x20]
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 0x4d875e
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x4d875e
xor ecx, ecx
lea eax, [edi + 0x74]
nop
cmp dword [eax + 0xc], esi
je 0x4d875a
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4d8740
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
jmp 0x4d875e
mov byte [eax + 6], 1
mov esi, dword [esp + 0x74]
mov ecx, edi
mov edx, dword [esp + 0x70]
push esi
call fcn.004b2d30
add esp, 4
cmp esi, dword [edi + 0x38]
jle 0x4d8780
mov eax, dword [esp + 0x70]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0x68]
call fcn.004e9110
mov eax, dword [edi + 0x44]
mov dword [esp + 0x60], eax
mov dword [esp + 0xa0], eax
inc eax
mov dword [edi + 0x44], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x4d87ae
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x34], edx
jmp 0x4d87be
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 [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4d87d9
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8810
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x60]
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 + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x74]
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 + 0x9c]
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4d8836
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d886d
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0xc]
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 + 0x64]
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 + 0x99], 1
call fcn.004b3010
mov edx, dword [esp + 0x68]
mov ecx, 1
cmp dword [esp + 0x6c], 0
je 0x4d88f2
mov eax, dword [esp + 0x18]
test byte [eax + 0x3c], 4
jne 0x4d88f2
test ecx, ecx
jne 0x4d889f
cmp byte [edx + 0x25], cl
je 0x4d88f2
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xc8], 0
cmp eax, dword [ebx + 0x20]
jge 0x4d88f2
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.0049dff0
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 + 0xdc], eax
jne 0x4d88f2
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x20]
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.004b3010
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d8969
mov eax, dword [esp + 0x9c]
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4d892e
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8965
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0xc]
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 + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x60]
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 + 0x40]
mov edx, dword [esp + 0x28]
xor esi, esi
mov ecx, dword [edx]
mov dword [esp + 0x6c], ecx
test ecx, ecx
jle 0x4d8a26
xor ecx, ecx
mov dword [esp + 0x48], ecx
test eax, eax
je 0x4d89e4
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d89aa
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8a06
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
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 + 0x60]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x80]
add eax, esi
mov dword [ecx + 0xc], eax
jmp 0x4d8a06
mov eax, dword [esp + 0x80]
mov byte [esp + 0x98], 1
add eax, esi
mov edx, dword [edx + 4]
push eax
mov edx, dword [edx + ecx]
mov ecx, edi
call fcn.004b4400
add esp, 4
mov edx, dword [esp + 0x28]
inc esi
add dword [esp + 0x48], 0x18
mov eax, dword [esp + 0x40]
mov ecx, dword [edx]
cmp esi, ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x48]
jl 0x4d8983
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4d8a34
inc dword [eax]
mov esi, dword [edx]
jmp 0x4d8a38
mov esi, dword [esp + 0x6c]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov ecx, edx
mov dword [esp + 0xc], edx
cmp dword [eax + 0x54], edx
jg 0x4d8a62
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
je 0x4d8a5b
mov edx, 1
jmp 0x4d8a9c
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x44]
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 + 0x80]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x58]
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
mov eax, dword [esp + 0x7c]
mov ecx, ebx
push 0xfffffffffffffffa
push eax
call fcn.0049e1d0
mov eax, dword [ebx + 0x18]
add esp, 8
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0x6c], esi
cmp dword [eax + 0x54], esi
jg 0x4d8acc
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8afe
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 + 0x28]
mov esi, dword [edi + 8]
mov eax, dword [eax]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d8b29
mov ecx, esi
call fcn.0049d5e0
test eax, eax
jne 0x4d8b62
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 0x4d8b66
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov ecx, edi
push esi
call fcn.004b2d30
mov eax, dword [ebx + 0x18]
add esp, 4
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4d8b93
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8bcb
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
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 0x4d8be6
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8c1d
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
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 + 0x64]
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 0x4d8c38
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8c6f
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
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 + 0x14]
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 ecx, dword [ebx + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [ebx]
mov edx, dword [ebx + 0x20]
cmp byte [eax + 0x41], 0
je 0x4d8c8b
mov eax, 0x734434
jmp 0x4d8ca0
mov ecx, dword [esp + 0x6c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, edi
lea edx, [esp + 0x98]
call fcn.004d7310
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4d8ccc
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8d03
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x54]
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 + 0x40], 0
je 0x4d8d6c
mov eax, dword [esp + 0x9c]
mov esi, dword [ebx + 0x20]
mov ecx, esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4d8d30
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8d67
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0xc]
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 + 0x20]
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 0x4d8dbd
mov ecx, dword [esp + 0x68]
call fcn.004e9110
mov esi, dword [ebx + 0x20]
mov eax, dword [esp + 0x10]
cmp eax, esi
jge 0x4d8dbd
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.0049dff0
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 + 0x10], eax
jne 0x4d8dbd
mov dword [ebx + 0x20], eax
mov esi, eax
mov eax, dword [ebx + 0x18]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4d8dd5
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8e0d
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
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 0x4d8e28
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8e5f
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x64]
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 + 0x10], esi
cmp dword [eax + 0x54], esi
jg 0x4d8e7e
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8eb5
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
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 0x4d8ed0
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8f08
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
inc edx
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 edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4d8f24
mov eax, dword [esp + 0x78]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ecx], 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 0x4d8f46
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8f7c
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 + 0x54]
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 + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d8f9f
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d8fdb
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x58]
lea eax, [edx + 1]
mov edx, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x20], eax
inc edx
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 + 0x98]
mov ecx, edi
call fcn.004d7240
mov edx, dword [esp + 0x30]
inc esi
push 0x10
push esi
mov ecx, edi
call fcn.004b4b30
push dword [esp + 0x18]
lea eax, [esp + 0x90]
mov ecx, edi
push esi
push dword [ebp + 8]
push eax
lea eax, [esp + 0xe0]
push eax
mov eax, dword [esp + 0x54]
mov edx, eax
push 0xffffffffffffffff
push dword [eax]
call fcn.004d0b00
mov eax, dword [ebx + 0x18]
add esp, 0x24
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4d903f
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d9077
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
inc edx
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 edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4d9093
mov eax, dword [esp + 0x14]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
mov ecx, edi
dec eax
mov dword [edx + 0x58], eax
lea edx, [esp + 0x98]
call fcn.004d7150
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4d90c7
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d946a
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
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
jmp 0x4d946a
cmp dword [esi + 0x24], 0
mov dword [esp + 0x48], 0
jne 0x4d9582
mov eax, dword [esi]
cmp dword [eax], 1
jne 0x4d9582
mov edx, dword [esi + 0x20]
cmp dword [edx], 1
jne 0x4d9582
cmp dword [edx + 0x1c], 0
jne 0x4d9582
mov edx, dword [edx + 0x18]
mov dword [esp + 0x34], edx
test byte [edx + 0x2a], 0x10
jne 0x4d9582
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp byte [eax], 0x9b
jne 0x4d9582
test ecx, ecx
je 0x4d9582
mov eax, dword [esp + 0xc0]
mov edi, 0x100
mov eax, dword [eax + 4]
test word [eax + 2], di
mov edi, dword [esp + 0x58]
je 0x4d9582
mov eax, dword [esp + 0xc]
test byte [eax + 4], 0x10
jne 0x4d9582
mov esi, dword [edx + 0x40]
mov ecx, 0xfff0bdc0
mov dword [esp + 0x44], ecx
test esi, esi
je 0x4d91c6
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x14], ecx
jle 0x4d91c6
mov eax, dword [eax + 0x10]
mov ebx, dword [edi]
add eax, 0xc
cmp dword [eax], esi
je 0x4d91be
inc ecx
add eax, 0x10
cmp ecx, dword [ebx + 0x14]
jl 0x4d91b1
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov eax, dword [edi + 0x44]
xor esi, esi
mov dword [esp + 0x54], eax
inc eax
mov dword [edi + 0x44], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x1c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x10], eax
call fcn.004be9b0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
push dword [ecx]
push esi
push dword [ecx + 0x1c]
mov ecx, edi
call fcn.004b8d00
mov edx, dword [esp + 0x40]
add esp, 0xc
test byte [edx + 0x2a], 0x20
je 0x4d9234
mov esi, dword [edx + 8]
mov dword [esp + 0x5c], esi
test esi, esi
je 0x4d9234
nop word [eax + eax]
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x4d9230
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4d9220
mov dword [esp + 0x5c], esi
mov eax, dword [edx + 8]
test eax, eax
je 0x4d926d
nop dword [eax + eax]
test byte [eax + 0x38], 4
jne 0x4d9262
movzx ecx, word [eax + 0x30]
cmp cx, word [edx + 0x28]
jge 0x4d9262
cmp dword [eax + 0x24], 0
jne 0x4d9262
test esi, esi
je 0x4d9260
cmp cx, word [esi + 0x30]
jge 0x4d9262
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4d9240
mov dword [esp + 0x5c], esi
test esi, esi
je 0x4d9285
mov eax, dword [esi + 0x2c]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.004bf0d0
mov dword [esp + 0x3c], eax
push 1
push dword [esp + 0x48]
mov edx, 0x36
mov ecx, ebx
push dword [esp + 0x18]
push dword [esp + 0x60]
call fcn.0049db60
mov eax, dword [esp + 0x4c]
add esp, 0x10
test eax, eax
je 0x4d92ef
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
test edx, edx
je 0x4d92e1
cmp byte [ecx + 0x41], 0
jne 0x4d92e1
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.0049dff0
mov eax, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
mov esi, dword [esp + 0x60]
jmp 0x4d92ec
push eax
mov edx, 0xfffffffa
call fcn.0049dff0
add esp, 4
mov eax, dword [esp + 0xc0]
mov ecx, dword [ebx + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x4d9320
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d9357
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
mov edx, dword [esp + 0x54]
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 + 0x10]
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 + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d937a
mov ecx, ebx
call fcn.0049d5e0
test eax, eax
jne 0x4d93b1
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
mov edx, dword [esp + 0x54]
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 0x4d9420
mov ecx, dword [esp + 0x34]
test esi, esi
je 0x4d93da
test byte [ecx + 0x2a], 0x20
je 0x4d93d1
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x4d93da
mov eax, dword [esi]
mov edx, 1
jmp 0x4d93e1
xor edx, edx
mov eax, 0x6e1417
push eax
test edx, edx
mov eax, str._USING_COVERING_INDEX
mov esi, 0x6e1417
cmove eax, esi
push eax
push dword [ecx]
push str.SCAN_TABLE__s_s_s
push dword [edi]
call fcn.00482d00
mov ecx, dword [edi + 8]
add esp, 0x14
mov edx, 0xa0
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [edi + 0x1cc]
call fcn.0049d9e0
add esp, 0x14
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, edi
push 0x10
push dword [esp + 0x68]
mov dword [esp + 0xd0], 0
call fcn.004b4b30
mov eax, dword [esp + 0x6c]
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.004d0b00
mov edx, dword [esp + 0x6c]
add esp, 0x24
mov ecx, dword [esp + 0x18]
call fcn.004b12d0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4d9486
mov eax, dword [esp + 0x64]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x4c]
cmp al, 3
jne 0x4d94d1
cmp byte [edi + 0x1be], 2
jne 0x4d94d1
mov esi, dword [edi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
call fcn.00482d00
add esp, 0xc
mov edx, 0xa0
mov ecx, esi
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [edi + 0x1cc]
call fcn.0049d9e0
add esp, 0x14
cmp dword [esp + 0xc8], 0
je 0x4d9547
cmp byte [edi + 0x1be], 2
jne 0x4d9528
cmp dword [esp + 0xcc], 0
mov ecx, str.ORDER_BY
mov esi, dword [edi + 8]
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.00482d00
add esp, 0xc
mov edx, 0xa0
mov ecx, esi
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [edi + 0x1cc]
call fcn.0049d9e0
add esp, 0x14
mov eax, dword [esp + 0x50]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [esp + 0x3c]
push dword [eax]
lea eax, [esp + 0xd0]
push eax
call fcn.004d1940
add esp, 0xc
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4d9566
mov eax, dword [esp + 0xe8]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
xor ebx, ebx
mov esi, dword [esp + 0x18]
dec eax
mov dword [edx + 0x58], eax
cmp dword [edi + 0x40], ebx
mov edx, dword [esp + 0x1c]
setg bl
jmp 0x4d9702
cmp dword [esi + 0x2c], 0
mov dword [esp + 0x14], 0
mov byte [esp + 0x40], 0
jne 0x4d966a
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x14], eax
cmp ecx, 1
jne 0x4d9625
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4d9623
cmp dword [eax], 1
jne 0x4d9623
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0x9c
jne 0x4d9623
push 0x6f0cf4
push dword [ecx + 8]
call fcn.004839e0
add esp, 8
test eax, eax
jne 0x4d95f9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], 1
mov dword [esp + 0x14], eax
jmp 0x4d9625
mov eax, dword [esp + 0xc]
push 0x6f0cf8
push dword [eax + 8]
call fcn.004839e0
add esp, 8
test eax, eax
jne 0x4d9623
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], 2
mov dword [esp + 0x14], eax
jmp 0x4d9625
xor eax, eax
cmp byte [esp + 0x40], 0
je 0x4d966a
mov ecx, dword [esp + 0x18]
mov edx, eax
push 0
call fcn.004b08f0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], edx
test edx, edx
je 0x4d966a
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x41], 0
jne 0x4d966a
mov eax, dword [edx + 4]
cmp byte [esp + 0x40], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
lea edx, [esp + 0x98]
mov ecx, edi
call fcn.004d7150
mov eax, dword [esp + 0x40]
mov ecx, edi
mov edx, dword [esp + 0x1c]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x20]
push dword [esp + 0x78]
call fcn.004e85e0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d96b3
mov esi, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [esp + 0x48]
call fcn.004b12d0
jmp 0x4d96f9
lea edx, [esp + 0x98]
mov ecx, edi
call fcn.004d7310
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x24], 0
jle 0x4d96d9
mov edx, dword [eax + 0x34]
mov ecx, ebx
call fcn.0049d800
mov eax, dword [esp + 0x10]
mov ecx, eax
call fcn.004e9110
lea edx, [esp + 0x98]
mov ecx, edi
call fcn.004d7240
jmp 0x4d9424
mov esi, eax
jmp 0x4d96fd
mov esi, eax
mov edx, dword [esp + 0x1c]
mov ebx, 1
mov ecx, dword [esp + 0xe4]
mov dword [edi + 0x1cc], ecx
test ebx, ebx
jne 0x4d9729
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x4d9729
push dword [esp + 0x50]
mov ecx, edi
call fcn.004d2430
add esp, 4
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x4d9777
cmp dword [esi + 0x208], 0
je 0x4d9748
mov edx, ecx
mov ecx, esi
call fcn.00480db0
jmp 0x4d9777
cmp ecx, dword [esi + 0x114]
jb 0x4d976e
cmp ecx, dword [esi + 0x118]
jae 0x4d976e
mov eax, dword [esi + 0x110]
mov dword [ecx], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], ecx
jmp 0x4d9777
push ecx
call fcn.00480d40
add esp, 4
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x4d97de
cmp dword [esi + 0x208], 0
je 0x4d979b
mov ecx, esi
call fcn.00480db0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc0]
cmp edx, dword [esi + 0x114]
jb 0x4d97cf
cmp edx, dword [esi + 0x118]
jae 0x4d97cf
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 + 0xc0]
call fcn.00480d40
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