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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0xa7
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x4c629e
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 6
je 0x4c6201
mov dword [ebp + 0xc], 0
jmp 0x4c629e
mov dword [ebp - 0x20], 0
jmp 0x4c6213
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 0x14]
jge 0x4c6255
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
shl ecx, 4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx]
push ecx
call fcn.00508790
add esp, 8
test eax, eax
jne 0x4c6253
mov edx, dword [ebp - 0x20]
shl edx, 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
mov dword [ebp - 0x34], edx
jmp 0x4c6255
jmp 0x4c620a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x14]
jne 0x4c629e
mov edx, dword [ebp + 0xc]
push edx
push 0x5ea4c4
call fcn.00508790
add esp, 8
test eax, eax
jne 0x4c629e
mov eax, 0x10
imul ecx, eax, 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x4c6580
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x40]
add eax, 8
mov dword [ebp - 0x18], eax
jmp 0x4c62d5
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
add edx, 0x48
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jge 0x4c6539
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 0
je 0x4c639c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
and ecx, 0x800
je 0x4c639c
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], 0
jmp 0x4c6333
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jge 0x4c638b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
imul edx, dword [ebp - 0xc], 0x14
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx + 8]
push ecx
call fcn.004f7c80
add esp, 0x10
test eax, eax
je 0x4c6389
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x1c]
mov dx, word [ebp - 0xc]
mov word [ecx + 0x20], dx
mov dword [ebp - 0x58], 1
jmp 0x4c632a
cmp dword [ebp - 0x58], 0
jne 0x4c6397
cmp dword [ebp + 0x10], 0
jne 0x4c639c
jmp 0x4c62c3
cmp dword [ebp + 0xc], 0
je 0x4c63d2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [ebp - 0x34]
je 0x4c63b2
jmp 0x4c62c3
cmp dword [ebp - 0x34], 0
jne 0x4c63d2
push 0x5ea4cc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00588090
add esp, 8
test eax, eax
je 0x4c63d2
jmp 0x4c62c3
cmp dword [ebp + 0x10], 0
je 0x4c6440
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
je 0x4c63ec
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x5c], edx
jmp 0x4c63f4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00508790
add esp, 8
test eax, eax
je 0x4c6413
jmp 0x4c62c3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xd0]
cmp eax, 2
jl 0x4c6440
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xc], 0
je 0x4c6440
mov edx, dword [ebp + 0x1c]
add edx, 0x2c
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00502430
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00508800
add esp, 4
mov byte [ebp - 1], al
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
jmp 0x4c6473
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
add edx, 0x10
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0x22]
cmp dword [ebp - 0xc], ecx
jge 0x4c6512
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0xa]
movzx ecx, byte [ebp - 1]
cmp eax, ecx
jne 0x4c650d
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
call fcn.00508790
add esp, 8
test eax, eax
jne 0x4c650d
cmp dword [ebp - 0x10], 1
jne 0x4c64d5
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x24]
and eax, 4
je 0x4c64bc
jmp 0x4c6461
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x34]
push eax
call fcn.004c9260
add esp, 8
test eax, eax
je 0x4c64d5
jmp 0x4c6461
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0x20]
cmp dword [ebp - 0xc], ecx
jne 0x4c64f9
mov dword [ebp - 0x60], 0xffffffff
jmp 0x4c6500
movsx edx, word [ebp - 0xc]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 0x60]
mov word [eax + 0x20], cx
jmp 0x4c6512
jmp 0x4c6461
cmp dword [ebp - 0x10], 0
jne 0x4c6534
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
and eax, 0x200
jne 0x4c6534
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
jmp 0x4c62c3
cmp dword [ebp - 0x1c], 0
je 0x4c6580
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x24]
and ecx, 8
je 0x4c6574
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
or eax, 0x100000
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x10], 0
jne 0x4c691a
cmp dword [ebp + 0xc], 0
jne 0x4c691a
mov dword [ebp - 8], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
je 0x4c668a
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x94]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x95]
test eax, eax
je 0x4c661d
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x400
je 0x4c661b
cmp dword [ebp + 0x10], 0
je 0x4c65f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00508790
add esp, 8
test eax, eax
jne 0x4c661b
cmp dword [ebp - 0x44], 0x80
je 0x4c6602
mov dword [ebp - 0x64], 1
jmp 0x4c6609
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
jmp 0x4c668a
cmp dword [ebp - 0x44], 0x80
je 0x4c6656
cmp dword [ebp + 0x10], 0
je 0x4c6656
mov edx, dword [ebp + 0x10]
push edx
push 0x5ea4d0
call fcn.00508790
add esp, 8
test eax, eax
jne 0x4c6656
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 8], edx
jmp 0x4c668a
cmp dword [ebp - 0x44], 0x7f
je 0x4c668a
cmp dword [ebp + 0x10], 0
je 0x4c668a
mov eax, dword [ebp + 0x10]
push eax
push 0x5ea4d4
call fcn.00508790
add esp, 8
test eax, eax
jne 0x4c668a
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x200
je 0x4c66e1
cmp dword [ebp + 0x10], 0
je 0x4c66e1
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0
je 0x4c66e1
mov edx, dword [ebp + 0x10]
push edx
push str.excluded
call fcn.00508790
add esp, 8
test eax, eax
jne 0x4c66e1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x20]
mov edx, 0x48
imul eax, edx, 0
mov ecx, dword [ecx + eax + 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x1c], 2
cmp dword [ebp - 8], 0
je 0x4c691a
mov eax, dword [ebp + 0x14]
push eax
call fcn.00508800
add esp, 4
mov byte [ebp - 2], al
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x24], edx
jmp 0x4c6730
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0x14], eax
jge 0x4c6778
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + 0xa]
movzx eax, byte [ebp - 2]
cmp edx, eax
jne 0x4c6776
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call fcn.00508790
add esp, 8
test eax, eax
jne 0x4c6776
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 0x20]
cmp dword [ebp - 0x14], edx
jne 0x4c6774
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4c6778
jmp 0x4c671e
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0x22]
cmp dword [ebp - 0x14], ecx
jl 0x4c67a9
mov edx, dword [ebp + 0x14]
push edx
call fcn.004f6290
add esp, 4
test eax, eax
je 0x4c67a9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
and ecx, 0x200
jne 0x4c67a9
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 8]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0x14], eax
jge 0x4c691a
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x1c], 2
jne 0x4c682b
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xd0]
cmp ecx, 2
jl 0x4c67fe
mov edx, dword [ebp + 0x1c]
mov ax, word [ebp - 0x14]
mov word [edx + 0x20], ax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x2c], edx
mov dword [ebp - 0x3c], 0xa7
jmp 0x4c6826
mov eax, dword [ebp + 0x18]
mov esi, dword [eax + 8]
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00508bf0
add esp, 8
cwde
add eax, dword [esi + 0x24]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [ebp - 0x3c], 0xb0
jmp 0x4c691a
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 8]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x95]
test edx, edx
je 0x4c688c
mov dword [ebp - 0x3c], 0xb0
mov eax, dword [ebp + 0x1c]
mov byte [eax + 2], 0xa7
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 0x22]
add edx, 1
mov eax, dword [ebp + 0x1c]
imul edx, dword [eax + 0x1c]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ecx + 8]
add esi, edx
movzx edx, word [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00508bf0
add esp, 8
movsx ecx, ax
lea edx, [esi + ecx + 1]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], edx
jmp 0x4c691a
mov ecx, dword [ebp + 0x1c]
mov dx, word [ebp - 0x14]
mov word [ecx + 0x20], dx
mov dword [ebp - 0x3c], 0x4d
cmp dword [ebp - 0x14], 0
jge 0x4c68ad
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 0x44
jmp 0x4c691a
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 0x1c], 0
jne 0x4c68e9
cmp dword [ebp - 0x14], 0x20
jl 0x4c68c5
mov dword [ebp - 0x6c], 0xffffffff
jmp 0x4c68d2
mov edx, 1
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x8c]
or ecx, dword [ebp - 0x6c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x8c], ecx
jmp 0x4c691a
cmp dword [ebp - 0x14], 0x20
jl 0x4c68f8
mov dword [ebp - 0x70], 0xffffffff
jmp 0x4c6905
mov eax, 1
mov ecx, dword [ebp - 0x14]
shl eax, cl
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x90]
or edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
mov dword [eax + 0x90], edx
cmp dword [ebp - 0x10], 0
jne 0x4c696f
cmp dword [ebp - 0x38], 1
jne 0x4c696f
cmp dword [ebp - 0x1c], 0
je 0x4c696f
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x28
jne 0x4c696f
mov eax, dword [ebp + 0x14]
push eax
call fcn.004f6290
add esp, 4
test eax, eax
je 0x4c696f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
and eax, 0x200
jne 0x4c696f
mov dword [ebp - 0x10], 1
or ecx, 0xffffffff
mov edx, dword [ebp + 0x1c]
mov word [edx + 0x20], cx
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 0x44
cmp dword [ebp - 0x10], 0
jne 0x4c6aff
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x80
je 0x4c6aff
cmp dword [ebp + 0x10], 0
jne 0x4c6aff
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], 0
jmp 0x4c69b0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jge 0x4c6aff
imul edx, dword [ebp - 0xc], 0x14
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x48], ecx
imul edx, dword [ebp - 0xc], 0x14
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + edx + 0x14]
and ecx, 3
jne 0x4c6afa
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049a150
add esp, 8
test eax, eax
jne 0x4c6afa
imul ecx, dword [ebp - 0xc], 0x14
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 1
jne 0x4c6a3b
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
and ecx, 0x10
je 0x4c6a3b
mov edx, dword [ebp - 0x48]
push edx
push str.misuse_of_aliased_aggregate__s
mov eax, dword [ebp + 8]
push eax
call fcn.004e7db0
add esp, 0xc
mov eax, 2
jmp 0x4c6d5c
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
and edx, 0x8000
je 0x4c6a7e
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x18]
and ecx, 0x4000
je 0x4c6a5f
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0x2c]
je 0x4c6a7e
mov eax, dword [ebp - 0x48]
push eax
push str.misuse_of_aliased_window_function__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e7db0
add esp, 0xc
mov eax, 2
jmp 0x4c6d5c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004ed830
add esp, 4
cmp eax, 1
je 0x4c6aaa
push 0x5ea52c
mov eax, dword [ebp + 8]
push eax
call fcn.004e7db0
add esp, 8
mov eax, 2
jmp 0x4c6d5c
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d32f0
add esp, 0x14
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xd0]
cmp ecx, 2
jl 0x4c6af5
mov edx, dword [ebp + 0x1c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00502430
add esp, 0xc
jmp 0x4c6ce2
jmp 0x4c69a7
cmp dword [ebp - 0x10], 0
je 0x4c6b07
jmp 0x4c6b23
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
cmp dword [ebp + 0x18], 0
jne 0x4c629e
cmp dword [ebp - 0x10], 0
jne 0x4c6b9e
cmp dword [ebp + 0x10], 0
jne 0x4c6b9e
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
and edx, 0x40
je 0x4c6b84
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004ab220
add esp, 8
test eax, eax
je 0x4c6b84
mov edx, dword [ebp + 0x14]
push edx
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.0049a4e0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov byte [eax], 0x75
push 8
push 0
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
push ecx
call fcn.005768e0
add esp, 0xc
mov eax, 1
jmp 0x4c6d5c
mov edx, dword [ebp + 0x1c]
push edx
call fcn.004ebc60
add esp, 4
test eax, eax
je 0x4c6b9e
mov eax, 1
jmp 0x4c6d5c
cmp dword [ebp - 0x10], 1
je 0x4c6c53
cmp dword [ebp - 0x10], 0
jne 0x4c6bb7
mov dword [ebp - 0x74], str.no_such_column
jmp 0x4c6bbe
mov dword [ebp - 0x74], str.ambiguous_column_name
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
cmp dword [ebp + 0xc], 0
je 0x4c6bed
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
push str._s:__s._s._s
mov edx, dword [ebp + 8]
push edx
call fcn.004e7db0
add esp, 0x18
jmp 0x4c6c2b
cmp dword [ebp + 0x10], 0
je 0x4c6c12
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push 0x5ea59c
mov eax, dword [ebp + 8]
push eax
call fcn.004e7db0
add esp, 0x14
jmp 0x4c6c2b
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push 0x5ea5a8
mov eax, dword [ebp + 8]
push eax
call fcn.004e7db0
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00501a20
add esp, 8
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x11], 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x14]
add eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 0x1c]
movsx eax, word [edx + 0x20]
test eax, eax
jl 0x4c6c82
cmp dword [ebp - 0x1c], 0
je 0x4c6c82
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.004eb0f0
add esp, 4
mov ecx, dword [ebp - 0x1c]
or eax, dword [ecx + 0x38]
or edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
and eax, 0x804000
jne 0x4c6cc9
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004eb900
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004eb900
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 0x1c]
mov cl, byte [ebp - 0x3c]
mov byte [eax], cl
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
or eax, 0x800000
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
cmp dword [ebp - 0x10], 1
jne 0x4c6d57
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0x168], 0
je 0x4c6d2a
mov ecx, dword [ebp + 0x1c]
movzx edx, byte [ecx]
cmp edx, 0xa7
je 0x4c6d0f
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [eax]
cmp ecx, 0x4d
jne 0x4c6d2a
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004db610
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp + 0x18]
jne 0x4c6d43
jmp 0x4c6d4e
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
jmp 0x4c6d2a
mov eax, 1
jmp 0x4c6d5c
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret